Page 1 of 3

SAB not putting ep's in proper folder

Posted: May 2nd, 2012, 11:25 pm
by nSpectre
Greetings,

-=<operating specs at end of post>=-

Up until recently SAB was running fine and dandy but now, instead of placing a downloaded show into its already existing folder, under D:\TV it creates a new folder with the entire ep name.

I.E; D:\TV will have the sub-folders:
...
...
Breaking Bad
CSI
CSI Miami <--------------(the proper folder containing Season sub-folders)
CSI Miami S03E01 Lost Son 720p WEB-DL DD5 1 h 264 <--------------(the WRONG folder, containing the AVI)
CSI NY <--------------(the proper folder containing Season sub-folders)
CSI NY S12E21 720p HDTV X264 <--------------(the WRONG folder, containing the AVI)
Dateline NBC
...
...

Any ideas on how to get SAB back to properly processing shows into their proper folders?

TIA

Version: 0.6.15
OS: Win7 x64
Install-type: Windows Installer
Firewall: External Hardware -- Cisco Pix 506e
Are you using IPV6? no
Is the issue reproducible? yes

Re: SAB not putting ep's in proper folder

Posted: May 3rd, 2012, 5:28 am
by shypike
Try the 0.7.0beta3 version, its Sorting page shows you more accurately how
sort expressions are converted to path names.

Re: SAB not putting ep's in proper folder

Posted: May 3rd, 2012, 2:13 pm
by nSpectre
Thanks for the timely reply

Couldn't find anything on Beta3, just Beta2 in "Announcements". Sourceforge appears to be kaput at the moment, I'll reply again once I can get my grubby hands on the Beta. :)

As an aside, and to avoid making a new thread, can you point me to a good doc on using scheduling? I have two entries that seem to be ignored.

Thanks.

Re: SAB not putting ep's in proper folder

Posted: May 3rd, 2012, 2:57 pm
by shypike
I think SF's back:
https://sourceforge.net/projects/sabnzb ... plus-beta/

Just click Help in Config->Scheduler.

Re: SAB not putting ep's in proper folder

Posted: May 3rd, 2012, 4:35 pm
by nSpectre
Thanks. Downloading now.
Just click Help in Config->Scheduler.
Shouldn't the following limit download speeds to 600kBps between the hours of 8am and 2am, then leave the download unfettered outside those hours?

8:00 Daily speedlimit 600
14:00 Daily speedlimit 0


If I start up SAB within those hours it begins downloading at full throttle and I have to tone it down manually.

While posting my earlier reply (@ 12:13pm) I was downloading at 600kBps and went off to futz with some other equipment. Came back (@ 3pm) and found it downloading at full bore again. Had to manually tone it down.

Re: SAB not putting ep's in proper folder

Posted: May 3rd, 2012, 5:43 pm
by nSpectre
Okay, the Beta unfortunately did not change the problem.

I watched SAB finish a download, Verify and Unpack. It then created the folder;
D:\TV\CSI Miami S05E15 720p WEB-DL H264 containing the MKV video file instead of moving the MKV to;
D:\TV\CSI Miami\Season 5\episode.MKV

:shrug:

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 12:53 am
by shypike
What is the size of the MKV file?
Your schedule will set speed to 600k between 8am and 2pm (not 2am like you wrote).

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 3:45 am
by nSpectre
CSIs MKVs are averaging 1.4GB each. Another show was averaging 2.4GB MKVs. A 3rd ancient show was averaging 500MB AVIs.

Since whatever happened... happened, all show episodes are now getting their own individual folders instead of going into their respective SHOW\SEASON folder. Regardless of size.

Ex;
Sickbeard plops "CSI.Miami.S06E01.720p.BluRay.x264-SiNNERS.nzb" into the WATCH folder.
SAB grabs it and displays it as "CSI Miami S06E01 720p BluRay x264-SiNNERS" in the download queue.
After unpacking, a "D:\TV\CSI Miami S06E01 720p BluRay x264-SiNNERS" folder is created, the file "CSI.Miami.S06E01.720p.BluRay.x264-SiNNERS.mkv" is moved into it and all other files and temp folder are deleted out of INCOMPLETE.

In Config->Folders->User Folders, I have specified:
Temporary Download Folder = D:\TV\2.Incomplete
Completed Download Folder = D:\TV
Watched Folder = D:\TV\1.Watch


In Config->Switches->Naming, I have:
Enable Folder Rename = Checked
Replace Spaces in Foldername = Unchecked
Replace dots in Foldername = Checked
Replace Illegal Characters in Folder Names = Checked


In Config->Categories, I have it just as it came (Default, Normal, +Delete, None, <blank>, <blank>). Haven't played with this yet.
Hmmm... could Script = None instead of Script = Default (like the example below it) be my problem here?

In Config->Sorting->Series Sorting, I have:
Enabled TV Sorting
Affected Categories = Default
Sort String = %sn/Season %s/%sn - S%0sE%0e - %en.%ext
Test Data = Show Name S01E05 - Episode Name [DTS]
Processed Result = Show Name\Season 1\Show Name - S01E05 - Episode Name [DTS].avi


Generic Sorting (Movie Sorting) is Unchecked and unchanged.
Date Sorting is Unchecked and unchanged.

If there is any other info or testing I can provide please don't hesitate to ask.

TIA


===========

And I need a good "smacks forehead" smiley. Sometimes the more you stare at a problem, the less you see. :)

Changing schedule to two hundred hours. That should take care of that.

Thanks again

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 4:05 am
by shypike
Sorting is based on categories.
Is the category that your use for TV shows, tagged as "Affected Category" in Config->Sorting?
Even the "default" category needs to be tagged to trigger the appropriate Sort function.
The script setting is irrelevant, Sorting comes before the user script.
I don't think you're using any script.

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 6:45 am
by nSpectre
Well, like I said, I haven't really done anything with categories. Couldn't make much sense out of it so I was saving it for later. To somehow differentiate between TV shows and movies. So under categories there are just two entries.

The first is called "Default" (greyed out) with Priority = Normal, Processing = +Delete, Script = None, Folder/Path and Groups / Indexer Tags are empty and there is a "Save" button.
The second has no Category name, Priority equals Default, Processing = Default, Script = Default, Folder/Path and Groups / Indexer Tags are empty and there is an "Add" button.

Under Sorting there is only one enabled, Series Sorting (or Enable TV Sorting). Affected Categories = Default.

I assume herein lies the problem. How do I "tag" this "Default" category such that it will trigger Series Sorting properly?

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 7:08 am
by shypike
It seems you don't use categories.
In that case click on the dropdown menu in Sorting.
This is a multiple select box where you can enable more than one item,
in your case it will just one.
Make sure that Default is enabled, it should be highlighted.

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 12:37 pm
by nSpectre
shypike wrote:It seems you don't use categories.
Correct. As of this moment I do not. Once I figure out how they work, I may.
In that case click on the dropdown menu in Sorting.
Under Config->Sorting I do not find any drop-downs. Only pick-lists. And those are labeled "Affected Categories" with "Default" the only available item.
I do, however, see drop-downs under Config->Categories.
This is a multiple select box where you can enable more than one item,
in your case it will just one.
Make sure that Default is enabled, it should be highlighted.
Under Config->Sorting I do see "Default" listed in the "Affected Categories" pick-list and it is always highlighted when I access this page.

Re: SAB not putting ep's in proper folder

Posted: May 4th, 2012, 4:07 pm
by shypike
I used the wrong terminology.
The settings look like they should work and they do when I test it.
What you can do is set the logging level to Debug and
do a full download of an item.
Then email the log file to bugs@sabnzbd.org

Re: SAB not putting ep's in proper folder

Posted: May 6th, 2012, 6:16 am
by nSpectre
After setting the log files to Debug I went gallivanting about town, came home and found a bunch of files downloaded. Good examples of the problem. Grabbing my Deerstalker hat, Meerschaum pipe and 5x 3.5" magnifier I decided to do some good ol' fashioned hacking.

Inspecting my SABNZBD.INI file I immediately noted two entries that seemed a bit... well, "off" when compared to what is displayed in SABNZBD->Config.

movie_categories = movies,
and

script = None
under
[Categories]
[
[*]][/b]

I'm not at all certain what I did to create those strings in the INI file but after removing everything following the = sign the problem went away. Episodes are now being moved into their proper Season folders and the video files are getting named correctly.

SAB changed movie_categories = <blank> to " movie category = ,
SAB also changed script = <blank> to script = ""

While I was NOT able to duplicate the "movie_categories = movies," after a modicum of effort, i WAS able to duplicate the SCRIPT=NONE entry.

Image
(please see note @ far right of image)

With movie_categories = , and Script = None I downloaded another show. Unfortunately... this did not reproduce the problem. It worked all hunky-dory.

With movie_categories = movies, and Script = "" however... it did not reproduce the problem. It worked all hunky-dory.

I replaced the INI file with a copy of the original that exhibited the problem and... drum-roll, please.... it did not reproduce the problem. It worked all hunky-dory.

Image

I've gone ahead and sent two INI files and two log files that show the existence of the problem. Maybe you can spot something. Look for the log entries for America.Revealed.S01E04.Made.In.America.720p.HDTV.X264-QCF. They show both unsuccessful moves into their own folders and successful moves into the correct season folders.

The ONLY other system change that I can think of that might have a bearing on this problem is that the D:\TV\2. Incomplete\ folder had a ton of failed episodes that I had to delete to free up disk space to conduct the above tests. :shrug:

Thanks again for your help.

Re: SAB not putting ep's in proper folder

Posted: May 6th, 2012, 9:31 am
by strokemouth
Thanks for that nSpectre. I had the same issue and found that my incomplete directory also had about 3 GB worth of files that needed to be cleared out. It's strange because the drive that holds that directory has about 40 GB free and is no danger of becoming full. But once I cleared the incomplete directory, episodes now sort as expected. I made no other changes.