
byebye annoying filenames
December 6th, 2006in a stroke of boredom last night, i decided it was time to tidy up the mess that is my drama collection. when i say mess, i mean the filenames which are tagged my hundreds of release groups in different ways. as this process done manually is horribly time-consuming and i’d probably fall asleep in the process, i decided to code up a little script to handle it for me.
results are quite satisfying .
it handles all files which are in the order that would seem like a series of episodes. it skips specials and stuff like that, although maybe i could add such handling in at a later stage. if anyone is interested in the script then i might tidy it up a touch and release it. you can basically drop it in a directory and double-click for no-interaction instant effects :d.
update: as people seem to want this, i have cleaned it up and made it available here. basically download, drag to the parent folder of all your series (as in your main ./Anime/ folder rather than a single series subfolder) and double-click. if you feel unsafe running my code on your computer… well you shouln’t be here in the first place :p. enjoy, and report any bugs/improvements.
update2: well i changed a few things, mainly to meet ds’s needs. just a note that if the pattern matching doesn’t work as youd like it to, just edit the regexp string at about line 60. i have kept it quite conservative to avoid unwanted matches, but as it always takes the first match from the filename, you could probably open this up to an any-character match in most cases. but it wfm as is *shrug*.
Wii to be released in 8hrs 56mins 51secs
HAX!
You know the next step will be to integrating it with anidb