[mythtv-users] TVRage Importer 0.5

Steven Adeff adeffs.mythtv at gmail.com
Fri Jul 20 02:33:45 UTC 2007


Some useful additions thanks to Mark Spieth and some fixes and cleanup.

Note that there have been some changes to the command option letters used!

 v0.5
 - Fix for new TVRage page formating
 - add channel option to specify the channel number to use.
 Following updates by Mark Spieth
 - now converts all spaces and - to . in the filename for compatibility
 - -nr turns this off
 - -nf stops 4 digit numbers from being parsed as ep info. mainly for
"the 4400" :-)
 - -latest uses the latest ep number for those files that dont have ep
info in them and cant figure it out.

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

Please send me any diff's if you make any improvements, along with a
short description of what the change does. Thanks!!

$ ./ragetvgrab-0.5.pl
TVRage.com Show Info Grabber (v0.5) by Steven Adeff
Query's www.tvrage.com for show information.
usage: ./ragetvgrab-0.5.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!
        -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
        -c      Specify the channel number to use
                don't have episode information.

        MythTV integration options

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


-- 
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