[mythtv-commits] Ticket #8240: .srt subtitles do not work if brackets are in the filename

MythTV mythtv at cvs.mythtv.org
Fri Apr 2 23:17:32 UTC 2010


#8240: .srt subtitles do not work if brackets are in the filename
-------------------------------------+--------------------------------------
 Reporter:  anonymous                |        Owner:  awithers  
     Type:  defect                   |       Status:  new       
 Priority:  minor                    |    Milestone:  unknown   
Component:  MythTV - Video Playback  |      Version:  0.22-fixes
 Severity:  medium                   |   Resolution:            
  Mlocked:  0                        |  
-------------------------------------+--------------------------------------
Changes (by Kenni Lund <kenni@…>):

  * status:  closed => new
  * resolution:  worksforme =>


Comment:

 Well, something is wrong for sure...a user on mythtv.dk mentioned that he
 had this bracket issue on his 0.23-fixes r23912. I went on and tested it
 on my own 0.23-fixes r23585 and I have the same issue.

 Playing videos which contains brackets - [] or () - in their filenames,
 will not be able to display subtitles (no subtitles are available when
 clicking "T"). I tested with the following two movies, which both had the
 issue:

 {{{
 [mythtv at mc Movies]$ ll Film_SD_2010/Beowulf\[2007\]DvDrip\[Eng\].*
 -rw-r----- 1 root mythtv 733382656 11 apr  2008
 Film_SD_2010/Beowulf[2007]DvDrip[Eng].avi
 -rw-r----- 1 root mythtv     59483 11 apr  2008
 Film_SD_2010/Beowulf[2007]DvDrip[Eng].srt

 [mythtv at mc Movies]$ ll Film_SD_2010/Blade.Runner.\(2007\).*
 -rw-r----- 1 root mythtv 734945280  5 dec 22:24
 Film_SD_2010/Blade.Runner.(2007).avi
 -rw-r----- 1 root mythtv     53339  2 jan  2008
 Film_SD_2010/Blade.Runner.(2007).srt
 }}}

 I don't know if this could have anything to do with the problem, but the
 text within the brackets are stripped away in the names shown:

 {{{
 Blade.Runner.(2007).avi -> "Blade Runner"
 Beowulf[2007]DvDrip[Eng].avi -> "BeowulfDvDrip"
 }}}


 I've attached a -v playback log, which show that the subtitle file isn't
 loaded (no OpenFile on the srt subtitle file). The files are stored on a
 mounted NFS share. Tell me if you need me to perform some further tests.


 {{{
 [mythtv at mc Movies]$ mythfrontend --version
 Please include all output in bug reports.
 MythTV Version   : 23858M
 MythTV Branch    : branches/release-0-23-fixes
 Network Protocol : 56
 Library API      : 0.23.20100314-1
 QT Version       : 4.6.2
 Options compiled in:
  linux release using_oss using_alsa using_backend using_dvb using_frontend
 using_hdpvr using_iptv using_lirc using_mheg using_opengl_video
 using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
 using_xrandr using_xv using_bindings_perl using_bindings_python
 using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8240#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list