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)
- gardz - 2011-02-20 14:40
Nice suggestions Cliffe, I think I've implemented them properly now I'm still getting the hang of perl, and love some of the conventions you've been using throughout your code!
And for the config file:
Let me know what you think :-)
Regexp is certainly my weakness, I'm not sure that I can implement the multiple episode fix sufficiently. I'll certainly give it a bit of a think and analyze your code further. You may end up working it out long before I do!
- newphreak - 2011-02-20 21:45
I have the same "issue" as stated earlier in this thread, i guess a simple regex would be the fix for this.
Some shows comes with Pt.I Pt.II Pt.III Pt.V and so on, and some comes with .Part.04
.Part.02. tagging instead of the usual S01E01. Could we include these?
Runnable exe - spyvingen - 2011-02-21 14:44
Hi i would love for this app to be an exe that has built in timer and a gui for settings is that totally out of the question?
One more thing that would be awsom is to intergrate scru function in it.
Then this app would be the only program u need for torrent exept the torrent program itself.
Sorry for my bad english
- fergulator - 2011-02-23 10:17
cliffe Wrote:Thanks. I restructured it so that if you disable the tvdb features it should work for you, to avoid the mysterious problem you have with the tvdb api module.
Hey Cliffe - Thanks. I love sorttv. Exactly what I was looking for. So, I was getting the same mysterious TVDB API error. Found out that it related to the source folder name I was using (was 'unsorted media') on Windows. When calling the pl, I surrounded the path with quotes; it executed fine, but I got the TVDB error. Changing the directory names to non-spaced fixed it for me.
- carmenm - 2011-02-23 15:18
If i am correct looking at this script description, it does the same thing as therenamer on windows?
If so it s something we really missed on windows!
Any chance of a movie version? or even both at the same time....
move if extracted, otherwise copy - sh0stak - 2011-02-24 23:13
I have tried searching this thread with no luck. I just wanted to see if anyone has setup a way to sort by MOVE if you extracted a file, otherwise sort by COPY.
Some of my torrents come as archives, some just a plain file. Either way I want to continue seeding them. If it is a plain file, sort by copy works great. If it is an archive, it leaves the extracted file in the original location so now I have the seeding archive, the extracted file in the "sort-from" dir, and the extracted file in the "sort-to" dir.
I will look into making this change on my own when I have some time. I thought in the meantime I would check and see if this has already been covered though.
brand new - migeira - 2011-02-26 21:20
bear with me, i'm working on my first htpc xbmc build and all this stuff is new to me. i tried running the script using the ASpearl instead of strawberry perl and i got a ton of errors.
i am just trying to figure this out, if someone could help me out with this general process i'd really appreciate it?
- Justcop - 2011-02-28 14:56
Obviously this is a long thread and I haven't had chance to read through all of it but I just thought I'd add an idea.
Certainly the way I'd like to use it most of the fiels that aren't TV shows would be movies.
Could there be a way that it checks themoviedb to see if there is a title match and then moves it into a different folder for movies.
That way after the files have been processed everything that is TV goes to one place, movies to another. What is left can be moved to the unsorted folder but hopefully this won't be much at all and can be managed manually.
Two quick questions on how the script works that may have been answered somewhere above.
1. How does the script cope with episodes that are still in the process of being downloaded but appear correctly named?
2. How would the script function if I set it to run very often so that a second copy may start running before the first has finished?
- cliffe - 2011-02-28 16:37
oracle_sod Wrote:Just a quick note, when following the install instructions, File::Glob throws an error on the current version of Strawberry Perl as its already included...
Thanks for the feedback. I believe the whitelist issue was fixed in the last release. I thought the directory naming issue had been fixed but we should look into that again.
Does the DRM::Deep message go away when you run the script as administrator? I have never experienced the error message, but it could also be related to the directory names, as fergulator recently mentioned.
- cliffe - 2011-02-28 16:39
newphreak Wrote:I have the same "issue" as stated earlier in this thread, i guess a simple regex would be the fix for this.
Some episode titles also include those phrases, also roman numerals complicates things. Could you give some filename examples?