SortTV: Sort TV episodes, movies, and music into directories for xbmc (Linux/Win/Mac)

  Thread Rating:
  • 6 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
hiesl Offline
Junior Member
Posts: 1
Joined: May 2013
Reputation: 0
Post: #571
Hi there,

I've been trying to set up SortTV on my ubuntu server. Working great instead of movie sorting.
All movies in my directories to sort are handled as a TV-Show and SortTV doesn't even try to get any information from tmdb.

For example:
Code:
Sorting:
    From /mnt/data/Allgemein/input/
    TV episodes into /mnt/data/Serien/
    Movies into /mnt/data/Filme/
0:13:1, 24-4-2013
WARN: Failed to get dfd gran torino series information on the tvdb.com.
WARN: Failed to get dfd gran torino series information on the tvdb.com.
WARN: Failed to get dfd gran torino series information on the tvdb.com.
WARN: Failed to get dfd inglourious basterds 720p series information on the tvdb.com.
I am wondering if i missed to enable movie sorting in the config
find quote
cliffe Offline
Senior Member
Posts: 180
Joined: Jun 2010
Reputation: 7
Post: #572
(2013-05-24 00:29)hiesl Wrote:  Hi there,

I've been trying to set up SortTV on my ubuntu server. Working great instead of movie sorting.
All movies in my directories to sort are handled as a TV-Show and SortTV doesn't even try to get any information from tmdb.

For example:
Code:
Sorting:
    From /mnt/data/Allgemein/input/
    TV episodes into /mnt/data/Serien/
    Movies into /mnt/data/Filme/
0:13:1, 24-4-2013
WARN: Failed to get dfd gran torino series information on the tvdb.com.
WARN: Failed to get dfd gran torino series information on the tvdb.com.
WARN: Failed to get dfd gran torino series information on the tvdb.com.
WARN: Failed to get dfd inglourious basterds 720p series information on the tvdb.com.
I am wondering if i missed to enable movie sorting in the config

If the file name looks like a TV show, it will assume it is. Probably the file name has something like "1x1" or "1-1" in it. Just remove that from the name and all should be well. For example, change it to "gran torino.avi", "gran torino (2008).avi", "gran torino Bluray blah blah etc.avi", or similar and it should work.

I guess a possible future improvement would be to add an option to try movie matches if it is not found in thetvdb.

If you are interested, check out is_movie and is_tv_episode in the code, to see the regular expressions that are used.
(This post was last modified: 2013-05-24 00:52 by cliffe.)
find quote
mimbleful Offline
Junior Member
Posts: 1
Joined: May 2013
Reputation: 0
Post: #573
Hi! Love the program, just been getting this strange error the last few times I've tried to use it:

Warning: TBDB::API: No season 2 found for 12
Can't use an undefined value as an array reference at sorttv.pl line 1653


I have not done anything to the perl program file.
find quote
cliffe Offline
Senior Member
Posts: 180
Joined: Jun 2010
Reputation: 7
Post: #574
(2013-05-25 18:00)mimbleful Wrote:  Hi! Love the program, just been getting this strange error the last few times I've tried to use it:

Warning: TBDB::API: No season 2 found for 12
Can't use an undefined value as an array reference at sorttv.pl line 1653


I have not done anything to the perl program file.

Looks like you found a bug. It is likely choking on a specific file name. Try removing some files from the directory you are sorting from. Once you have figured out which file name was causing the problem, please let me know what the problem file name was.
find quote
froissart Offline
Junior Member
Posts: 1
Joined: Jun 2013
Reputation: 0
Post: #575
Hello,

Maybe this is blazingly obvious but i'm not seeing it in the .conf file, is there a way to have sorttv skip or ignore specific folders? I see a blacklist of files but not folders.

I don't want my misc movie folder sorted, i want it just skipped over. How do I do this.

Thanks!

-A
find quote
Post Reply