RenameandMove
http://img851.imageshack.us/img851/9809/testx.jpg
Please give me your valuable feedback.
What it does
**This tool renames every tv show episode which is dropped on it to* Show Name.S##E##.episode title.ext* (standard) or * Show.name.S##E##.episode.title.ext* and moves it to a specified folder creating the plex-typical subdirectorys if necessary (userpath/Showname/Season #). The episodetitle is from thetvdb.com
**
Conditions
The file must have one of the following naming patterns:
****.Show Name.S##E##.*****.anyfileextension
Show.Name.S##E##.******.anyfileextension
Show Name - S##E## - ******.anyfileextension
**** can be anything.
Customization
[list]
[*]Use Automator
[*]Edit the userpath in the first applescript snippet
[*]If you want the words to be separated by dots rather than spaces use the setting variables at the beginning of the last applescript snippet:
[*]
set episodentitelwordsdividedbydots to true<br />
set shownamewordsdividedbydots to true
[*]If you want to change the language replace en.xml, for a list click [here](http://thetvdb.com/api/D6AAAEAC83803D68/languages.xml)
[/list]
Edits
edit: new version correcting a small bug leading to an unnecessary blank right before the title. Problems should be fixed.
edit2: if the subfolders showname and showname/Season X do not exist, RenameandCopy will now create them.
edit3: shownames with more than one word and separated with a dot instead of a blank (worked before) are handled correctly now
edit4: titles containing words completely consisting of numbers should be added properly
edit5: If you want to copy episodes to your local hard drive called "Macintosh HD" it will work now (If you gave your drive another name you must rename it in the last code snippet.). The userpath appeared two times instead of once and there is now only one place where you have to edit the given path to the correct one.
edit6: 2. RenameandCopy capitalizes sXXeYY => SXXEYY and every first letter of every word in the showname
edit7: The first letter of a word is always capitalized, "and" & "a" are not, (messed with "Two and a Half Men", if you want to request additional changes please request them,if you don't need capitalization download copy number 1, it's not supported anymore so future edits won't have an effect on this version.
edit8 (2.03.2011) **0.9.1**: [list]
[*]The App is called RenameandMove as it now uses the move function.
[*]The App can now cope with every file extension (avi, mkv ...).
[*]The messages are in English
[*]If the file is already in the correct directory only the title will be added.
[*]RenameandMove now supports dividing the words of the showname or of the episodetitel by dots. Please tell me if this is also needed for the Shownamefolder and the Season folders (How.I.Met.Your.Mother/Season.1/How.I.Met.Your.Mother.S01E01.Titel.exists.avi). You have to activate the two variables in the last applescript snippet:
[*]
set episodentitelwordsdividedbydots to true<br />
set shownamewordsdividedbydots to true
[*]Versioning is introduced
[/list]
edit9: 0.9.2 supports
Show Name - S##E## - ******.anyfileextension

