[mythtv-users] TVRage Importer 0.7

Steven Adeff adeffs.mythtv at gmail.com
Sat Sep 6 23:09:47 UTC 2008


Some big changes! Plus a fix for the show name and start time changes.

I just want to thank all those that sent in a fix for the show name
issue, and to Bert who also sent in a MythVideo feature. Matt ended up
sending me a great patch that got MythVideo import working in a very
fluid manner. I was then able to make some enhancements on top of that
such that it should work in a lot more environments and with some nice
default actions.

I've tested this a bit and everything should work well, if not, please
reply to this thread if you encounter any issues. As always, fixes and
feature requests will most definitely be looked at and appreciated!
(even if I don't get to them in such a timely manner, sorry!!)

 v0.7
       (Thanks to Matthew Rushton for initial work on all the 0.7 stuff)
       - Enhancements
         -mythvideo add to mythvideo rather than recordings
         -coverfile adds in a cover file when used with -mythvideo
               if no cover file is given it will search for the input file name
               with .jpg or gif ammended, or cover.jpg or cover.gif in the same
               folder as the input file.
         -url takes the url from tvrage to get episode details.
         -shownum used with epnum to set the shownumber from
tvrage.com for shownumber
         -epnum   used with shownum to set the episode number from
tvrage.com for episode number
         -year set a hint for the year for searching tvrage.com
       - Fix for episode parsing for <Title> S\d\dE\d\d <Episode Name>
where episode name starts with S
       - Fix for two part episodes in one file i.e. S01E01E02.
       - Update showname parsing which changed on tvrage
       - Better file checking. Will obtain full path when needed from
current working
          folder or from path given by user.

http://www.jobs-khakis-chicks.com/MythTV/TVRageImport/ragetvgrab-0.7.pl

$ ./ragetvgrab-0.7.pl
TVRage.com Show Info Grabber (v0.7) by Steven Adeff
Query's www.tvrage.com for show information.
usage: ./ragetvgrab-0.7.pl -hdvF filename
        filename format must be in:
        episode.title.format.s01e01.blah.avi
        or
        episode.title.format.101.blah.avi

        -h      this help screen
        -d      turn on debugging
        -v      turn on verbose

        -F      input_filename
        -s      create a symlink in the recordings directory first
                Requires absolute path or file in current working folder!
        -nr     Do not convert all spaces and - to . in the filename.
                (currently the default for compatibility.)
        -nf     Stop 4 digit numbers from being parsed as ep info,
                as for "The 4400".
        -l      Uses the latest episode number for files that
                don't have episode information.
        -channel        Specify the channel number to use
        -year           give tvrage a hint for the year
        -url            use the given URL to obtain show information
        -shownum        set the tvrage shows/id-(ddddd) if known
        -epnum          set the tvrage episodes/(dddddd) if known

        MythTV integration options

        -import/-noimport       force to import or not
                                default is to ask
        -t      turn on test mode, won't touch database

        MythVideo integration options
        (Requires absolute path or file in current working directory!)

        -mythvideo      add the entry to the mythvideo db
        -coverfile      add a cover for the entries

enjoy!!

-- 
Steve
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list