2015-02-10, 20:23
I'm having trouble getting sorttv to work correctly. It used to sort everything fine but some time last year it started hanging.
The script would freeze up, take a bunch of cpu time, and never finish. Sometimes it would work, sometimes not. Turns out the problem is TV shows. It sorts movies, music, and misc fine if I turn off the tv show option. Unfortunately my main use for it is sorting TV episodes. Fiddling around a little more it's not every TV show episode, sometimes it will sort a couple and then hit one it can't handle and hang. Using verbose it hangs at the step INFO: Fetching episode title for whatever. If I set --rename-episodes=FALSE then the script does not hang, but of course the episode titles are not consistent. Which seems like it could cause problems.
The problem does not seem to be file names, permissions, or formats. It just doesn't seem to like certain episodes. Mythbusters almost always hangs it.
So any thoughts on why this is happening and how I could fix it? Is my TVDB not installed correctly, or perhaps a bug in the script or the wrong version of perl? I'm using perl 5.20.1.
Edit: It also doesn't like if an archer episode leaves out the 2009, maybe it's checking the wrong show.
Edit 2: Taking EP_NAME out of rename-tv-format also works.
The script would freeze up, take a bunch of cpu time, and never finish. Sometimes it would work, sometimes not. Turns out the problem is TV shows. It sorts movies, music, and misc fine if I turn off the tv show option. Unfortunately my main use for it is sorting TV episodes. Fiddling around a little more it's not every TV show episode, sometimes it will sort a couple and then hit one it can't handle and hang. Using verbose it hangs at the step INFO: Fetching episode title for whatever. If I set --rename-episodes=FALSE then the script does not hang, but of course the episode titles are not consistent. Which seems like it could cause problems.
The problem does not seem to be file names, permissions, or formats. It just doesn't seem to like certain episodes. Mythbusters almost always hangs it.
So any thoughts on why this is happening and how I could fix it? Is my TVDB not installed correctly, or perhaps a bug in the script or the wrong version of perl? I'm using perl 5.20.1.
Edit: It also doesn't like if an archer episode leaves out the 2009, maybe it's checking the wrong show.
Edit 2: Taking EP_NAME out of rename-tv-format also works.