Page 1 of 1

SABnzbd_attrib file format

Posted: October 7th, 2014, 10:17 pm
by mathewparet
What is the file format of SABnzbd_attrib file found under <sab incomplete directory>/<name>/__ADMIN__?

My SABnzbd recently started showing options to rate the video and audio of downloads (not for all downloads). So with a bit of investigation I found that the options show up only if the value on the 4th line in SABnzbd_attrib is 0. When the value is 1, the rating options are not shown. Is my investigation correct?

If yes, how does SABnzbd get this data? Does it depend on the nzb file?

If not, what is causing my SABnzbd to show this rating options? Is there a switch that can help me prevent it? Its concept is good, but doesn't look good in terms of UI. SAB is running on v0.7.17 and UI is PLUSH.

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 12:36 am
by sander
I only get a rate option with downloads from oznzb.com. And I assume that's based on this section in the .NZB:

Code: Select all

<head>
 <meta type="x-rating-id">
.

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 3:53 am
by shypike
It's part of the optional OZNZB support.
If you don't use that site, you can ignore anything related to ratings.

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 6:16 am
by mathewparet
Thanks guys. These started coming only for the past few days, so just wanted to know.

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 9:06 am
by sander
mathewparet wrote:Thanks guys. These started coming only for the past few days, so just wanted to know.
... and NOT from oznzb.com? If so, I don't understand. Can you post een screendump of the rating stuff SAB is showing to you?

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 9:15 am
by mathewparet
The NZB was snatched from Usenet Crawler (https://www.usenet-crawler.com/getnzb/f ... 11d24e1012)

By screendump I guess you said screenshot: http://imgur.com/0MuRRJs

Its looks ok on my personal laptop, but looks weird on my office workstation - both in Chrome

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 1:20 pm
by shypike
You must have enabled rating support in Congig->Switches.
Otherwise the extra icons will not appear in the queue.

Re: SABnzbd_attrib file format

Posted: October 8th, 2014, 9:01 pm
by mathewparet
Yes. It is on. I might have accidentally turned it on a few days back when I was going through the Config switches. Thanks.

Re: SABnzbd_attrib file format

Posted: November 17th, 2014, 12:28 am
by womo
It is strange though that the ratings widgets appear next to the files that are downloading. How could you rate them before they're downloaded?

Re: SABnzbd_attrib file format

Posted: November 17th, 2014, 5:44 am
by shypike
womo wrote:It is strange though that the ratings widgets appear next to the files that are downloading. How could you rate them before they're downloaded?
True, that may be revised in the next major release.

Re: SABnzbd_attrib file format

Posted: November 26th, 2014, 1:01 pm
by womo
Can anyone tell me if the ratings_host parameter can take multiple hosts? e.g. comma separated? Or is only one host supported...?

Re: SABnzbd_attrib file format

Posted: November 27th, 2014, 3:12 am
by shypike
Just one.
The way the tags work, multiple hosts make no sense.
The rating should be sent to the site you got the NZB from.
SABnzbd defaults to oznzb.com, but will use an alternative address when present in the NZB.