![]() |
|
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) |
- Nexxo - 2011-12-10 07:01 I'm having some issues with the movie renamer. I'm running the script on my Ubuntu Server that acts as a media server to windows machines. The problem is the script is adding ':' in some file / folder names, which causes the names appear as rubbish on windows shares. I have set the following flag in the config file, but it does not seem to be doing anything. force-windows-compatible-filenames=TRUE Any ideas what is causing this? - cliffe - 2011-12-10 07:21 Nexxo Wrote:I'm having some issues with the movie renamer. I'm running the script on my Ubuntu Server that acts as a media server to windows machines. The problem is the script is adding ':' in some file / folder names, which causes the names appear as rubbish on windows shares. This is because the movie naming feature is currently not honouring that option. This will be fixed in the next release (when I get some time). Thanks for reporting. - Solo0815 - 2011-12-11 13:48 I get this error on Debian Squeeze: Code: Can't locate TVDB/API.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./sorttv.pl line 48.Code: perl -MCPAN -e 'install TVDB::API'Thx - gref - 2011-12-13 19:05 Hi cliffe, Firstly thanks for the tool - it provides a far simpler way to automate sorting tv and movies and for the most part works very well. I have a couple of suggestions/queries - 1) How does the tv-id-substitute work? I have a couple of series that I know have pages on tvdb but aren't being renamed correctly because of ambiguities between shows of similar names. I've tried having the folder name link to the substitute as shown below but it doesn't seem to use that when searching on the tvdb... tvdb-id-substitute:#ShowName#-->123456 2) Secondly, as far as I can see there's no option to sort films into their own folders. This would be great as its the standard for XBMC and makes it far more organised. Hope you can get back to me with a response but either way, keep up the good work. - newphreak - 2011-12-17 22:05 Hi, could we get a episode/season substitute to clean up series like Mythbusters and Dirty Jobs? All these things are wrongly named and i would like to clean it up using SortTV with some substitution of episode/season. It would be a long and messy conf, but I would really appreciate fixing issues like this in this matter, not through renaming/messing up my files. Would that be possible? - Solo0815 - 2012-01-03 22:38 For all who had issues with installing it on Debian Squeeze, try this: Code: apt-get install make build-essential libxml-sax-expat-perlEdit: I get no Series-Info with this file i just DL: itg-dexter-s04e01.avi Maybe the script can be improved to: 1. ignore the first part of the filename and try to find everything on TVDB after the first "-" 2. Don't move files, which are NOT in the TVDB, so i can rename them by hand and let SortTV move it. Maybe this XML-regex can help with this. XBMC finds the corrext TVDB-entry for the above file Thx - GBB1 - 2012-01-04 11:51 It's a wonderfull tool, the only thing that is missing is an easy to use GUI for these powerfull features. I think a lot of newbies are scared to use it, because of this. However, it's still a great tool! Thx Cliffe! - Nexxo - 2012-01-05 02:39 I've been using this tool for a few months now and it is great. It does exactly what I want it to do, move / rename files into the correct location and leave symbolic link behind. Really really great script! I have a few feature requests. 1 - Be able to simulate / printout what the script will do with a given command, but not actually do (move) anything. A few times the script has failed, for instance when running on a whole season the TV show was picked up incorrectly and sorted it in the wrong location. This was fixed by simily adding the correct tv substitute flag, but I had to move all the files back to where they were first. 2 - Be able to run the script on a single file not a folder. 3 - Seperate input directorys for movies / tv shows. I use this script for movies as well, where some movies (Super 8 was one) get picked up as tv shows and get sorted in the wrong location. This would take the guess work out of if it is a tv show or movie. If you want some help implementing these features let me know and I can give you a hand. I have experience with this type of stuff. Nexxo - Solo0815 - 2012-01-08 22:06 If in the config "--use-dots-instead-of-spaces" is set, it should do that for Folders also. So "Game of Thrones" becomes "Game.of.Thrones" Thx - Fox - 2012-01-11 18:14 First a thanks for a nice script! Got it running ok with portable strawberry on a windows machine, had to do some changes though. Don't know if this helps but this is what I found out, windows don't like ' (single quote) when it comes to paths. So that messes up the extracting with rar a bit. I changed row 1093 Code: if(num_found_in_list(system("rar e -o$over '$arfile' '$dest'"), @errors) eq "FALSE") {Code: if(num_found_in_list(system("rar e -o$over \"$arfile\" \"$dest\""), @errors) eq "FALSE") {There's still some problem with creating the temp directory but that I don't care so much about since it works nicely with the source dir. |