[mythtv-users] Shows being titled as "Season" in mythvideo

Michael T. Dean mtdean at thirdcontact.com
Mon Apr 30 18:59:46 UTC 2012


On 04/30/2012 01:44 PM, Martin Moores wrote:
> I have been trying to sort out some missing metadata information in my 
> video/DVD/etc collection and have found an odd occurrence.
>
> My video series are named in the following folder structure:
>
> Title/Season/01.Pilot
>
> ....for example
>
> But when scanning for changes, Myth is setting the title of things to 
> "Season" rather than the title.
>
> I have moved these videos out of the folder structure completely, 
> re-scanned and then put them back and scanned again, but this has not 
> changed anything, all the titles of the shows are "Season".
>
> This has not happened with everything though, some have all the 
> correct titles and metadata, I can't see any correlation.
>
> Here is a log excerpt which shows the problem, I am running latest 
> 0.25-fixes as of last weekend.  Note the top level directory, "Series" 
> is just the folder that contains series videos, I have another called 
> films for example.  I have tried moving "The Big Bang Theory" to the 
> top level and scanning again, but that made no difference.
...
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> videoscan.cpp:391 (buildFileList) buildFileList directory = 
> myth://Videos@MYTHTV1/media/media/Videos/
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> dirscan.cpp:259 (ScanVideoDirectory) MythVideo::ScanVideoDirectory 
> Scanning Group (myth://Videos@MYTHTV1/media/media/Videos/)
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> videoscan.cpp:391 (buildFileList) buildFileList directory = 
> /var/lib/mythtv/videos
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> dirscan.cpp:245 (ScanVideoDirectory) MythVideo::ScanVideoDirectory 
> Scanning (/var/lib/mythtv/videos)
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> videoscan.cpp:352 (updateDB) Adding :  : Series/The Big Bang 
> Theory/Season 1/01.Pilot.mp4 : b79fec148819886e
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> videoscan.cpp:352 (updateDB) Adding :  : Series/The Big Bang 
> Theory/Season 1/02.The Big Bran Hypothesis.mp4 : 8bb6e257e6ce7d26
> Apr 30 18:29:17 MYTHTV1 mythfrontend[2158]: I VideoScanner 
> videoscan.cpp:352 (updateDB) Adding :  : Series/The Big Bang 
> Theory/Season 1/03.The Fuzzy Boots Corollary.mp4 : bfc7f0df33d3e0e9


What happens if you change those episode names to:

01 Pilot.mp4
02 The Big Bran Hypothesis.mp4
03 The Fuzzy Boots Corollary.mp4

and such (i.e. change the "." between episode number and subtitle to a 
space), as on http://www.mythtv.org/wiki/MythVideo_File_Parsing ?

Note that you can do this easily for all of them with a simple rename 
command (using either the util-linux-ng ( 
http://linux.die.net/man/1/rename ) or the Perl version ( 
http://search.cpan.org/~pederst/rename-1.8/bin/rename.PL ) of the rename 
command).

Mike


More information about the mythtv-users mailing list