

> reformat("Doctor Who (2005) A Christmas Carol 2010 Special.mkv", None) ("Rubicon/Rubicon (s01e11) A Good Day's Work.avi", '.avi') > reformat("Rubicon (s01e11), A Good Day's Work.avi", None) ('Rubicon/Rubicon (s01e11) A Good Days Work.avi', '.avi') ('Top Gear/Top Gear () (s05e10) The Best of Season 5.avi', '.avi') > reformat('Top Gear (S05E10), The Best Of Season 5.avi', None) ('Rubicon/Rubicon (s01e05) Connect the Dots.avi', '.avi') > reformat('Rubicon (S01E05), Connect The Dots.avi', None) > reformat('Welcome.to.XviD-AFG.avi', None) Year always first because it's part of the name, then episode or season info. Mailhandler = BufferingSMTPHandler( 'localhost', [ 'torrent-rename abnormal events', 500) # This handler emails me anything that is an error or worse. handleError( None) # no particular record

Msg = "From: %s \r \nTo: %s \r \nSubject: %s \r \n \r \n" % ( self. Formatter( "%(asctime)s %(levelname)-5s %(message)s")) BufferingHandler):ĭef _init_( self, mailhost, fromaddr, toaddrs, subject, capacity): Print torrentid, torrentname, torrentpathĬlass BufferingSMTPHandler( logging. _, torrentid, torrentname, torrentpath = sys.
