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-09-25 17:02
sheka Wrote:I have the same issue = Ubuntu Server - Perl version 5.8.8
Could you please try with "--no-network", and see if that temporarily resolves it. On Windows machines this behaviour has happened when trying to connect to xbmc when it was not accepting connections. Ensure that xbmc is accepting connections or that SortTV is not configured to try to send commands to xbmc.
- sheka - 2011-09-25 20:11
cliffe Wrote:Could you please try with "--no-network", and see if that temporarily resolves it. On Windows machines this behaviour has happened when trying to connect to xbmc when it was not accepting connections. Ensure that xbmc is accepting connections or that SortTV is not configured to try to send commands to xbmc.
That seems to fix it....
problem now though is that the rename function doesn't happen as obviously with no network it can't check for episode titles.....
is there a way to perform the lookup, rename and then turn the network off for the move?
- cliffe - 2011-09-26 01:40
sheka Wrote:That seems to fix it....
Ok great, now that we have narrowed it down, try editing your config so that the two xbmc connection options are disabled.
- sheka - 2011-09-26 20:33
cliffe Wrote:Ok great, now that we have narrowed it down, try editing your config so that the two xbmc connection options are disabled.
If I run the script with --rename-media=FALSE then the script hangs when I get the message as mentioned previously - when moving the file....but after it has actually moved the file - if you know what I mean.
If I run it with --rename-media=TRUE (default action) - Then it hangs after:
INFO: Fetching episode title for xxxxxxxxxx Season x Episode X
- sheka - 2011-09-26 20:34
The two XBMC options are commented out - I don't use the script in that way.
- cliffe - 2011-09-27 01:53
sheka Wrote:The two XBMC options are commented out - I don't use the script in that way.
Ok, Another quick suggestion: try disabling image downloads (tv and/or movie).
- sheka - 2011-09-27 20:58
cliffe Wrote:Ok, Another quick suggestion: try disabling image downloads (tv and/or movie).
no still hangs....
will try on a later version of Ubuntu / Perl
- snowxbmc - 2011-09-28 15:59
Thanks for the great tool cliffe.
I've just started using it and have run into 2 features that I think would be useful as I've been running it against my existing shows. I've briefly looked through this thread and couldn't find mention of them, so I don't think they exist yet.
1. Multi-Episode in file naming - e.g. Some.Show.S01E01.Genesis.HDTV.XviD-FQM.avi contains both Episode 1 and 2 so a better name would be Some.Show.S01E01E02.Genesis.avi
Not sure how you work that out though? Sometimes the original file names do have indicators that they are multi-episode.
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?
- fush - 2011-10-01 12:20
I've just updated to your latest script and gave the Movie sorting a test.
1. Can the sort handle having "CD1" or "CD2" in the file name? So far my tests haven't been able to match any movie files with CD1 or CD2 in the name? Or could I be doing something wrong?
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 "."?
3. Renaming doesn't add the year it was made? the date is only added/kept if it already existed on the filename?
Otherwise its an awesome tool dude. I massively appreciate what you've done and your ability to keep on working on it.
almost forgot, is there a way I could output just a list of sorted episodes/movies to a file? I have most of my download/sorting automated and I use Prowl to send me notifications of when files have been added for download/finished downloading/etc and I have one that just tells me that sortTv has run, but it would be cool if I could feed it a list from file of which shows have successfully been sorted so I can see that info in the notification
- cliffe - 2011-10-01 16:24
sheka Wrote:no still hangs....
Damn. Ok, as a matter of elimination, could you please try each of these: