Page 1 of 1
RSS feed and Default script
Posted: May 9th, 2011, 6:37 am
by Eejit
Version: 0.6.0 Final
OS: Windows 7 x64 Ultimate
Install-type: Windows Installer
Skin (if applicable): Default, Plush
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
If I give SAB the URL on nzbmatrix of a movie, SAB grabs it, recognises that it's a movie, set's the catagories and runs the default script I have set up IMG2ISO.BAT. This works perfectly. This also worked perfectly with nzbmatrix bookmarks RSS feed in 0.5.6 but not now.
The RSS feed is grabbed, the movie is recognised as such and the movie catagorie set, but the default script. is set to none
The movie is dowloaded but my post processing isn't carried out. The bookmarks are deleted once the download has been completed, which is awsome BTW
Re: RSS feed and Default script
Posted: May 9th, 2011, 7:40 am
by shypike
How are your feed-level attributes?
(as opposed to the filter-level)
Re: RSS feed and Default script
Posted: May 9th, 2011, 8:35 am
by Eejit
Ok, you've got me there. I haven't a clue what you mean

All I have is a straight feed from my nzbmatrix bookmarkhttp://nzbmatrix.com/rss-bookmarks.php?userid=&apikey=
This is the only RSS feed I have set up with SAB and there are no filters. Accept everything.
The feed is grabbing the nzb, it's also setting the catagorie, but not the default script.
Re: RSS feed and Default script
Posted: May 9th, 2011, 1:56 pm
by shypike
For each feed you can set default attributes (PP, priority, script).
You can also set those attributes for each filter.
So, if you have set Script=None at the feed level, that will override the category's script.
Re: RSS feed and Default script
Posted: May 9th, 2011, 2:09 pm
by Eejit
They are all set to Default. As mentioned, the catagorie is picked up, but the associated script isn't. I have the script set up under catagories

This used to work with 0.5.6
Re: RSS feed and Default script
Posted: May 9th, 2011, 2:31 pm
by shypike
You're being a bit dim today

I'm talking about the Feed level settings:
Re: RSS feed and Default script
Posted: May 9th, 2011, 2:39 pm
by Eejit
shypike wrote:
You're being a bit dim today

I'm talking about the Feed level settings:

I wasn't. I was just trying to give as much info as possible and so confused matters
The Feed level settings are just like yours except of course for the feed url itself. All set to default.
http://nzbmatrix.com/rss-bookmarks.php?userid=&apikey=
This has no catagorie tag at the end. It picks up everything that I've bookmarked.
If I bookmark a movie, SAB picks up the movie catagorie with the nzb.
As I have a script set for the movies catagorie, it should default to that ie IMG2ISO.bat and not 'none' as it does now.
Hope that's clearer

Re: RSS feed and Default script
Posted: May 9th, 2011, 4:05 pm
by shypike
The fruitcakes of nzbmatrix changed their RSS format again, for the worse.
The category is no longer picked up because it's now embedded in a "description" element (with a bunch of DIY html formatting).
Before it was a separate element called "category".
The category will be picked up when the NZB is actually fetched, but by then it's too late.
The default category will have done its work.
Also the "RequiresCat" filter doesn't work any more for nzbmatrix.
I'll see what I can do, but I'm getting very tired of these eternal nzbmatrix issues.
BTW: In 0.5.6 the category is no longer retrieved from the RSS feed either.
It just happens to work because of the lack of the "Default" category.
Re: RSS feed and Default script
Posted: May 9th, 2011, 4:21 pm
by Eejit
Thanks shypike. It's nothing I've done then
I dont quite understand. SAB set's the catergorie after the RSS fetch.
The catagorie at the queue/download stage is set to TV, movies, apps etc. That bit works as it should. It seems to be picked up from the bookmark RSS.
Should not SAB adjust the script setting to the default setting in config>catagories AFTER the fetch?
Re: RSS feed and Default script
Posted: May 9th, 2011, 4:30 pm
by shypike
The category is NOT picked up from the RSS feed any more.
This fact reveals a bit of weak coding on my part.
When no category is available at RSS read time, the attributes of the default category
are used to set explicit categories.
That's not a good idea, but it did no harm as long as the nzbmatrix feed delivered the category.
I can fix my coding weakness, I have to do a lot more work to fix the nzbmatrix problem.
So the blame goes more or less equally to me and nzbmatrix.
Given the indifferent way my previous complaints were handled at nzbmatrix,
I'm not even going to bother complaining over there.
Re: RSS feed and Default script
Posted: May 9th, 2011, 4:45 pm
by Eejit
OK, I have the understanding that my name implies

Whatever I bookmark, be it a movie, music, app or tv, when the nzb is fetched, the catagory is set
These were all grabbed via the bookmark RSS feed and as can be seen, each different category has been set, correctly.
Re: RSS feed and Default script
Posted: May 10th, 2011, 1:33 am
by shypike
When SABnzbd reads the feed, it gets no category (due to nzbmatrix's change).
It will set explicit pp/prio/script based on the default category.
When the NZB is retrieved through the nzbmatrix API it finally gets the category.
However, because explicit pp/prio/script values are set, the ones from the category are ignored.
That's the weak code I mentioned.
It's now exposed by the change in the RSS format.
That part is easy to fix for 0.6.1, the RSS format change is harder to do.
Re: RSS feed and Default script
Posted: May 10th, 2011, 4:11 am
by Eejit
Thanks for being so patient with me and explaining the problem in laymans terms

I now understand the problem and await 0.6.1 with baited breath.
Re: RSS feed and Default script
Posted: May 14th, 2011, 6:56 am
by Eejit
Shypike, you and the team are stars. 0.6.1 RC1 fixes this problem of mine.
Thanks for all your continious hard work.