I have made some major improvements to SortTV, including
- a config file to simplify configuration and use of the program
- optional renaming of episode files to a "Show name S01E01.avi" type format (friendly to xbmc)
- optional renaming of episode files to replace spaces with dots ("."); for example, converts the above to "Show.name.S01E01.avi"
- season naming formatting options; Eg, "Series.01" or "Season 1"
- by default is less liberal with pattern matches, but detects more legitimate episode naming formats, easy to configure it to be liberal, handy if you know all files to be sorted are episodes
- output options including whether to be verbose, and can write to a log file
- can specify secondary configuration files
All these features can be used via command line arguments or the configuration file.
By default the script reads sorttv.conf (if available) in the same directory, and any commandline arguments overwrite these settings.
An example config file is provided along with the new sorttv.pl script and README file. I have updated the first post to reflect the new features.
To upgrade, simply download the new script and config and be sure to edit the config file with the setting you want. Then, if you have already scheduled the script to run, edit the command to just "perl /path/to
As before, you can get the new version from:
If you find this script helpful then please consider making a $5 paypal donation
glad to see you continuing to update this project. I was going to suggest a bug (which took me a while to notice) about the season 9+ issue but it looks like you've already patched it!
Good work and thank you!
Cool, thanks for checking, and for thinking about reporting issues. I hope you enjoy the new version.
megacrypto Wrote:is there a way for the script when adding a new folder to add "." instead of spaces?
There is now! Download the new version