Page 1 of 1

Category gets assigned but no script

Posted: May 21st, 2014, 9:43 am
by forseer
I have been having a strange issue with my install of SAB. I have searched everywhere and cannot find anything related to the issues I am having. I have created a custom category for comic book downloads (which are sent from Mylar) and it is set to call a specific post-process script.Image

However, when the download is added the category is set correctly, but no script is selected. Image

To add to my confusion, if I change the category of the download in the queue to any other category and then change it back to the comics category the script then shows up. I have restarted SAB and the server it resides on multiple times and still cannot get it to pull the correct script on the initial add. Image

Anyone have any ideas?

Re: Category gets assigned but no script

Posted: May 21st, 2014, 11:45 am
by shypike
How does the NZB enter SABnzbd's queue?

Re: Category gets assigned but no script

Posted: May 21st, 2014, 8:39 pm
by forseer
Mylar grabs it from one of my search providers and sends it over to SAB.

Re: Category gets assigned but no script

Posted: May 22nd, 2014, 2:03 am
by shypike
Mylar probably sets an explicit script (explicitly no script i.e.), which overrides the category script.
The problem is likely in Mylar.

Re: Category gets assigned but no script

Posted: May 22nd, 2014, 6:59 am
by forseer
shypike wrote:Mylar probably sets an explicit script (explicitly no script i.e.), which overrides the category script.
The problem is likely in Mylar.
That's what I thought at first as well. But there is no way in Mylar to set such an option, at least, not that I have found yet. However, with another install I have running on Debian I don't have the same problem. The only difference between the two installs is the underlying OS, the one with issues is FreeBSD.

Re: Category gets assigned but no script

Posted: May 23rd, 2014, 1:42 am
by shypike
Even if Mylar doesn't have an option for category, it still can set the parameter to overrule.
That would be a bug in Mylar.
If you set SABnzbd's logging to "Debug" (Status page), you can see what Mylar
sends to SAbnzbd. For that download the log file after Mylar has sent a job.

Re: Category gets assigned but no script

Posted: May 30th, 2014, 6:48 am
by forseer
Thanks for the replies. I finally got this working. It seems when the NZB is pushed to SAB it is looking for a specific script (much like you mentioned) ComicRN.py. After a lot of searching in Mylar I was unable to find a way to change this so I simply renamed the script I was using (nzbToMylar.py) to ComicRN.py and all is working now.

Re: Category gets assigned but no script

Posted: May 30th, 2014, 12:06 pm
by shypike
Good.