Subversion Repositories programming

Compare Revisions

Ignore whitespace Rev 139 → Rev 138

/shell_programs/rarslave.py
32,9 → 32,6
# which is where it belongs anyway.
# - Added command-line option to check for required programs at start.
#
# - 2005-10-20
# - Added a config option to extract with full path.
#
 
################################################################################
# REQUIREMENTS:
53,7 → 50,6
VIDEO_FILE_REGEX = '.*\.(AVI|avi|OGM|ogm|MKV|mkv)$'
RECURSIVE = True
CHECK_REQ_PROGS = False
EXTRACT_WITH_FULL_PATH = False
 
def __init__(self):
pass
302,10 → 298,7
extract_file = self.__get_extract_file()
 
if extract_file != None:
if config.EXTRACT_WITH_FULL_PATH:
retval = os.system('rar x -o+ "%s"' % (extract_file, ))
else:
retval = os.system('rar e -o+ "%s"' % (extract_file, ))
retval = os.system('rar e -o+ "%s"' % (extract_file, ))
 
if retval != 0:
print 'Failed to extract'
/shell_programs/animesorter.dict
2,9 → 2,7
\[Froth-Bite\]Amaenaideyo_.+\[.+\].avi = Amaenaideyo
ARIA_The_ANIMATION_-_Ep.+\.XviD.avi = ARIA the Animation
\[Oyasumi\]_Black_Cat_.+_\[.+\].avi = Black Cat
\[RQ-AF-F\]Black_Cat_-_.+\[.+\]\[.+\].avi = Black Cat
\[Lunar\]_Bleach_-_.+_\[.+\].avi = Bleach
\[DB\]_Bleach_.+_\[.+\].avi = Bleach
\[Live-eviL\]_Blood\+_Ep_.+\[.+\].avi = Blood+
\[Lunar\]_Canvas_2_-_.+_\[.+\]\.avi = Canvas 2
\[Shinsen-Subs\]_Da_Capo_Second_Season_-_.+_\[.+\].avi = Da Capo Second Season
30,7 → 28,6
\[Triad\]_Magical_Girl_Lyrical_Nanoha_A's_-_.+\.avi = Magical Girl Lyrical Nanoha A's
\[Froth-Bite\]Mahoraba_Heartful_Days_-_.+\[.+\].avi = Mahoraba Heartful Days
\[AnCo\]Mahou_Sensei_Negima_-_.+_\[.+\].avi = Mahou Sensei Negima
\[Nameless-Anime\]_Mahou_Sensei_Negima_-_.+.avi = Mahou Sensei Negima
\[Doremi-OTOME\].Mai.Otome..+.avi = Mai Otome
\[SS\]_Mai-Otome_-_.+_HQ_\[.+\].avi = Mai Otome
\[DB\]_Naruto_.+_\[.+\].avi = Naruto