If trying to open file, it tries to open other files with same name but a txt extension

Bug #123291 reported by K8BeBop
4
Affects Status Importance Assigned to Milestone
vlc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: vlc

or example, I have a 2 files called

Osborne-More.mov
Osborne-More.txt

When I click on the .mov file, or open it via right click on it and "open with vlc", or call vlc Osborne-More.mov, it plays the file, but an error box comes up that says

Unrecognized format for 'Osborne-More.txt'

I didn't tell it to also load the .txt file and try to play it. It did that on its own.

Revision history for this message
K8BeBop (kennybob6) wrote :

As of 0.8.6c, still not fixed

Revision history for this message
K8BeBop (kennybob6) wrote :

As of Newest Update (0.8.6.release.c.0ubuntu4) of VLC, still not fixed.

Revision history for this message
Donbu104 (donbu104) wrote :

I can confirm this bug in 0.8.6.release.c-0ubuntu5.

But in my case it happens even if the media file and the .txt file have different names, but only if the media file

If I have a media file and a .txt file in the same folder, I get a dialog box stating:

The following errors occured. More details might be available in the Messages window.

Unrecognized format for '/path/to/file/name_of_file.txt'

If I have a file "media.wma" and a file "text.txt" in a folder, and I play the media file in vlc, no errors. However, if I give the file a non-ACSII name, for example, "안녕하세요.wma", then I get errors. I also get the same errors that K8BeBop gets if I rename the media file to match the text file. Here is the output in the terminal:

andrew@overclocktux:~/test$ ls
media.wma text.txt
andrew@overclocktux:~/test$ vlc media.wma
VLC media player 0.8.6c Janus
[00000281] main playlist: stopping playback
andrew@overclocktux:~/test$ mv media.wma 안녕하세요.wma
andrew@overclocktux:~/test$ vlc 안녕하세요.wma
VLC media player 0.8.6c Janus
[00000306] subtitle demuxer error: failed to recognize subtitle type
[00000290] main input error: no suitable demux module for `/subtitle:///home/andrew/test/text.txt'
[00000281] main playlist: stopping playback
andrew@overclocktux:~/test$ mv 안녕하세요.wma text.wma
andrew@overclocktux:~/test$ vlc text.wma
VLC media player 0.8.6c Janus
[00000306] subtitle demuxer error: failed to recognize subtitle type
[00000290] main input error: no suitable demux module for `/subtitle:///home/andrew/test/text.txt'
[00000281] main playlist: stopping playback
andrew@overclocktux:~/test$

Revision history for this message
Donbu104 (donbu104) wrote :

I have dist-upgraded to Hardy from Gutsy and this bug seems to have been fixed using 0.8.6.release.e+x264svn20071224+faad2.6.1-0ubuntu3

Revision history for this message
Donbu104 (donbu104) wrote :

Chaging to invalid as this seems to have been fixed in Hardy.

Changed in vlc:
status: New → Invalid
Revision history for this message
K8BeBop (kennybob6) wrote :

I have been using Hardy since it's inception.My vlc is VLC media player 0.8.6e Janus (wxWidgets interface). Compiled by buildd@.unknown. Compiler: gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7).

Using Hardy Linux 2.6.24-16-generic #1 SMP

VLC still has the error, and it looks like I have the same version of you. Changing this to INVALID versus FIXED is WRONG , even though it's still broken.

Changed in vlc:
status: Invalid → New
Revision history for this message
Donbu104 (donbu104) wrote :

Dear K8BeBop:

Just want to check with you that your file "Osborne-More.txt" is a well-formed subtitle file for "Osborne-More.mov." Ordinary subtitle files have an .smi file extension.

Revision history for this message
K8BeBop (kennybob6) wrote :

It is not a subtitle file. Is this why its trying to open it, because it thinks it's a subtitle file?. I have turned off autodetection of subtitles and it doesn't automatically open it now, so in a since it's fixed. But there should be some other option like only search for .smi not .txt

Revision history for this message
JB VideoLAN (jb-videolan) wrote :

This is wanted.
If you have a txt/srt/smi file, it will try to open it.

The error shouldn't come up anymore..

Changed in vlc:
status: New → Fix Committed
Revision history for this message
Reinhard Tartler (siretart) wrote :

jaunty ships vlc 0.9.9a. please reopen if the bug still persits.

Changed in vlc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.