2012-04-18, 04:26
I wrote a quick and dirty script to solve this problem for me here.
What It Does
Create symlinks that follow the S__E__ convention so that animes can be scraped against TheTVDB.
What Does It Support
Platform: Linux, Python.
Series: Bleach, Naruto. (feel free to add your own)
How It Works
It grabs the episode number from the file name, matches that against known anime series and season numbers (refer to lines 54-58). It then creates a symlink to the original file with the S__E__ convention in the same directory.
How To Use
Copy the script into a .py file, e.g. ~/anime-renumber.py. Run:
python2 ~/anime-renumber.py ~/media/anime
Disclaimer
I'm not responsible for anything that happens from using the script.
What It Does
Create symlinks that follow the S__E__ convention so that animes can be scraped against TheTVDB.
What Does It Support
Platform: Linux, Python.
Series: Bleach, Naruto. (feel free to add your own)
How It Works
It grabs the episode number from the file name, matches that against known anime series and season numbers (refer to lines 54-58). It then creates a symlink to the original file with the S__E__ convention in the same directory.
How To Use
Copy the script into a .py file, e.g. ~/anime-renumber.py. Run:
python2 ~/anime-renumber.py ~/media/anime
Disclaimer
I'm not responsible for anything that happens from using the script.