[mythtv] [mythtv-commits] Ticket #1354: MythVideo fails to display files with square brackets in properly

Michael T. Dean mtdean at thirdcontact.com
Tue Feb 21 03:09:16 UTC 2006


MythTV wrote:

>#1354: MythVideo fails to display files with square brackets in properly
>----------------------------------------+-----------------------------------
> Reporter:  scoultas at steveandcathy.com  |       Owner:  jdonavan
>     Type:  defect                      |      Status:  new     
> Priority:  minor                       |   Milestone:  unknown 
>Component:  mythvideo                   |     Version:  0.19    
> Severity:  low                         |  
>----------------------------------------+-----------------------------------
> If I have two files, named 'Test [1 - 1].avi' and 'Test [2 - 1].avi', and
> use Video Manager to import them into the videometadata table, they show
> up successfully in that table, but with the same value in the title
> column, 'Test'.  When browsing videos, this causes only one of them to
> show up in the Tree View (also seems to be a problem in Gallery Mode).
> Removing the square brackets and reloading the database through Video
> Manager allows both files to be seen correctly.
> This problem has been introduced since Myth 0.18 - previously such files
> displayed correctly.
>  
>
There seem to be two issues here--one of which may not be a bug:
    1) Text inside square brackets in a filename is removed when 
"autogenerating" a video name.
    2) When two videos have the same video name, only one of them is 
visible in MythVideo.

I would argue that 1) is not a bug, but 2) is.

I think that 1) is the intended behavior (just as is mapping "_" to 
spaces and other punctuation changes) to prevent "comments" like "part1" 
or whatever from getting into the video name.  And, since the user can 
always rename the video inside "Manage Videos" (or even MythWeb), the 
autogenerated video name should be considered a "best guess" and be used 
as a starting point.

However, 2) seems to be a bug in that many movies have identical 
titles.  For example, "Ocean's Eleven" has the same name as "Ocean's 
Eleven" (2001 remake of the 1960 original - 
http://www.imdb.com/find?q=Ocean%27s+Eleven ) and the same holds true 
even for movies that aren't remakes, such as "Descent" ( 
http://www.imdb.com/find?q=Descent ).

Mike



More information about the mythtv-dev mailing list