public
Description: Simple to use TVDB (thetvdb.com) API in Python, and automatic TV episode namer
Homepage: http://dbr.lighthouseapp.com/projects/13342-tvdb_api/tickets
Clone URL: git://github.com/dbr/tvdb_api.git
Cleaned up formatName( cfile) to formatName(cfile), added "done" message 
in output
dbr (author)
Tue Jun 24 23:24:13 -0700 2008
commit  3f3eeabb017ba203b6389d138e913ab37252e634
tree    946eec60d030c690fef35d6145745189a0d09e2c
parent  6bbc4584e53f1dfa63cd06231cb2f9516abaa347
...
257
258
259
260
 
261
262
263
...
321
322
323
 
324
325
326
...
257
258
259
 
260
261
262
263
...
321
322
323
324
325
326
327
0
@@ -257,7 +257,7 @@ def main():
0
             cfile['showname'] = cfile['file_showname'] # no corrected showname found, use one from filename
0
         
0
         # Format new filename, strip unwanted characters
0
- newname = formatName( cfile )
0
+ newname = formatName(cfile)
0
         newname = cleanName(newname)
0
         
0
         # Append new filename (with extension) to path
0
@@ -321,6 +321,7 @@ def main():
0
             print "..not renamed"
0
         #end if rename_result
0
     #end for cfile
0
+ print "# Done"
0
 #end main
0
 
0
 import unittest

Comments

    No one has commented yet.