2008-07-26, 05:39
I got fed up with most of my tv-episodes hade the wrong episodenumber in there names (ppl seams to improvise pretty much on what number should be using) and the library in XBMC gets realy messy.
I tossed together my first pythonscript ever (not pretty but it works ;P)
What it does is that it scans a dir and checks the Episodename on tvdb, creates a Seriename/Season #/ in the destinationdir and renames the file to correct naming (in my case: S#E#.Episode.Name).
No errorhandling at all and the code is abit messy (was reading alot of tutorials and api-docs while writing this).
Well well.. hope anyone got some use for it.
http://www.otherland.nu/projects/fixmese...eseries.py
(Dunno if this is the correct forum to put it in)
I tossed together my first pythonscript ever (not pretty but it works ;P)
What it does is that it scans a dir and checks the Episodename on tvdb, creates a Seriename/Season #/ in the destinationdir and renames the file to correct naming (in my case: S#E#.Episode.Name).
No errorhandling at all and the code is abit messy (was reading alot of tutorials and api-docs while writing this).
Well well.. hope anyone got some use for it.
http://www.otherland.nu/projects/fixmese...eseries.py
(Dunno if this is the correct forum to put it in)