SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac) (/showthread.php?tid=75949)
- nitrag - 2010-10-07 01:41
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!
New version available - cliffe - 2010-10-07 11:08
I have made some major improvements to SortTV, including
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/sorttv.pl
As before, you can get the new version from:
If you find this script helpful then please consider making a $5 paypal donation
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
- Targettio - 2010-10-07 14:25
- cliffe - 2010-10-07 15:32
I just made a small update so that when called by cron the script looks in the correct directory for the config file. If you have already downloaded the new version please grab it again. Cheers.
- Capt.Insano - 2010-10-07 17:49
Is it possible to have an option that the Script copies the TV Episodes into the correct folders rather than move them?
rtorrent and rutorrent downloads all my shows through RSS to a folder
I would like to copy these shows to another location:
Copy is important so that I can finish seeding the shows.
Would the fact that the script would need to remember what shows it has copied and not copy them again make it too difficult to achieve?
Congrats on the Script either way!!
- cliffe - 2010-10-07 18:47
Capt.Insano Wrote:Is it possible to have an option that the Script copies the TV Episodes into the correct folders rather than move them?
Ok, I added the feature you requested!
Check out the sort-by:[MOVE|COPY] option. Download the new script and config and edit the config to COPY rather than MOVE.
The first post in this thread has been updated with details.
Keep in mind that copying files is a much slower process than moving files.
- Capt.Insano - 2010-10-07 19:01
cliffe Wrote:Ok, I added the feature you requested!
Wow, Thanks a Million!
Before I begin using it,
Does the script rename the file before or during the copy?
If the file was renamed before the copy then my torrent client would be still trying to seed the originally named file.
File Downloaded is named: "FamilyGuy.2x01.HDTV.avi" and is being seeded by rtorrent.
Will SortTV rename the file first, then copy the file to "/Family Guy/Season 2/Family Guy S02E01.avi" and leave a file "Family Gut S01E02.avi (which would not continue seeding), or rename during the copy so the original file retains its name?
I hope that just made sense!!
- cliffe - 2010-10-07 19:13
Capt.Insano Wrote:Wow, Thanks a Million!
Using sort-by:COPY, the original file wont be affected at all, so it wont disturb seeding.
- megacrypto - 2010-10-10 14:52
thanks your code is a life saver
- jjrroberts - 2010-10-11 02:19
cliffe Wrote:If you find this script helpful then please consider making a $5 paypal donation
$5 sent, love both the tool and speed of updates/enhancements!
Donation link is here to save others some time, I looked at your home page for the link when i should have gone to sf.net
Edit - And i see you are a fellow aussie, that makes me even more pleased!