![]() |
|
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) |
- cliffe - 2011-10-01 16:31 snowxbmc Wrote:Thanks for the great tool cliffe. Yes. I have known about that limitation for a long time. I agree, it would be better to do that. Possible solutions have been discussed in here on the forum. snowxbmc Wrote:2. Quality in file name - it would be great to optionally be able to store the quality of the file in the name for both video and audio (i.e SD, HD, 720p, 1080p; MP3, AC3, DTS, etc.). Is there a library that could extract that info from a file? Probably the easiest way of extracting that information would just be a regexp that picks out any of those terms. Then store that in a variable, and add it as an optional naming format string (eg "[QUALITY]"). I strongly urge you to itch that scratch and write some code It has been a while since others have contributed code (thanks to all of you that have!). Perl is fun.Thanks. - cliffe - 2011-10-01 16:51 fush Wrote:Hi Cliffe Not currently. The same problem exists with "part 1" in episode files. We discussed solutions. Hopefully that can make its way into the script soon. Thanks for pointing it out. fush Wrote:2. Movie Renaming, I have force-windows-compatible-filenames=TRUE in the config file yet it still seems to like to add ":" into the names of some films, the files works fine in Linux but if I open the folder on my windows machine, its just a bunch of random letters/numbers, and I can't edit unless I am in Linux. Maybe if support windows naming is on, we can replace them with "-" or "."? Ahh, thanks, I guess the Windows compatibility function isn't currently called on the movie renaming. fush Wrote:3. Renaming doesn't add the year it was made? the date is only added/kept if it already existed on the filename? That was somewhat intentional, but perhaps the better solution would be to use the year that was returned by tmdb in match_and_sort_movie(). Sounds like a good idea. If you feel like coding any of your suggestions above then please give it a go ![]() fush Wrote:Otherwise its an awesome tool dude. I massively appreciate what you've done and your ability to keep on working on it. All the moves are logged to sorttv.log. You could remove the log file before running SortTV, then just see it there is anything in the log. For example, assuming Linux\Mac, you could write a bash script to only tell you when files have actually been sorted like this: Code: if grep '\-->' sorttv.logCode: grep '\-->' sorttv.log | grep -o '[^/]*$'LibXML Problem - spazlon - 2011-10-05 23:05 Hi, I finally got around to trying the script, but after I installed it and ran the script I got the following error: Can't load 'C:/strawberry/perl/vendor/lib/auto/XML/LibXML/LibXML.dll' for module XML::LibXML: load_file:The specified module could not be found at C:/strawberry/perl/lib/DynaLoader.pm line 200. So I tried to install LibXML through CPAN again and it gives me this error: http://pastebin.com/VCL6L7EU How can I fix the LibXML error in Perl? Thanks! - cliffe - 2011-10-06 01:53 spazlon Wrote:Hi, Make sure you followed the install instructions in the readme: Quote:Install the modules the script uses. - Headcase_Fargon - 2011-10-13 02:28 Been using SortTV for a while now and for the most part it works great. Something I've noticed recently though as a lot of people are RARing their content... Say an episode is split into 50 RAR parts. The first part finishes but the rest of the parts of the file are still downloading and thus labeled .part. SortTV is extracting that first RAR so I end up with a 1 minute show in my library. Would it be possible to get an option to have the script check for any .part files in the folder and not extract until there are none? - mybrain87 - 2011-10-29 22:16 I'm really liking this script a lot. But one thing would make it perfect for me. Is there a way to have multiple sort-to-directories? I have multiple drives which each have a TV Show folder and i'd like the script to check them all for a specific show and move it there. - vikjon0 - 2011-10-30 09:43 Quote:Would it be possible to get an option to have the script check for any .part files in the folder and not extract until there are none?OR have the torrent client move the files to the sort folder when complete. - vikjon0 - 2011-10-30 09:44 Quote:I have multiple drives which each have a TV Show folder and i'd like the script to check them all for a specific show and move it there.You need to add a database to keep track of locations. I am guessing that is out of scope. Take a look at sickbeard, it does that. - mybrain87 - 2011-10-31 12:20 vikjon0 Wrote:You need to add a database to keep track of locations. I am guessing that is out of scope. Take a look at sickbeard, it does that. symlinking them into one directory seems to do the trick too and is probably alot faster and simpler than creating a database - cliffe - 2011-10-31 15:30 mybrain87 Wrote:I'm really liking this script a lot. As previously discussed: cliffe Wrote:To clarify, SortTV only sorts into one directory at a time, but it is easy to script it to sort into multiple directories. That is achieved by telling it to sort into your destination directories one at a time: tell it to sort to your "A" directory, then run it again telling it to sort into your "B" directory, etc. cliffe Wrote:please see this post, which is related. Basically you could manually create the show directory in the high level directory you want it to be in, and tell SortTV to only sort files if the corresponding show directory already exists. I hope this helps. |