Category gets assigned but no script

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
forseer
Newbie
Newbie
Posts: 4
Joined: May 21st, 2014, 9:03 am

Category gets assigned but no script

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Category gets assigned but no script

Post by shypike »

How does the NZB enter SABnzbd's queue?
forseer
Newbie
Newbie
Posts: 4
Joined: May 21st, 2014, 9:03 am

Re: Category gets assigned but no script

Post by forseer »

Mylar grabs it from one of my search providers and sends it over to SAB.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Category gets assigned but no script

Post by shypike »

Mylar probably sets an explicit script (explicitly no script i.e.), which overrides the category script.
The problem is likely in Mylar.
forseer
Newbie
Newbie
Posts: 4
Joined: May 21st, 2014, 9:03 am

Re: Category gets assigned but no script

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Category gets assigned but no script

Post 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.
forseer
Newbie
Newbie
Posts: 4
Joined: May 21st, 2014, 9:03 am

Re: Category gets assigned but no script

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Category gets assigned but no script

Post by shypike »

Good.
Post Reply