SABnzbd_attrib file format

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
mathewparet
Newbie
Newbie
Posts: 9
Joined: January 10th, 2014, 11:57 am

SABnzbd_attrib file format

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9033
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd_attrib file format

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

Re: SABnzbd_attrib file format

Post by shypike »

It's part of the optional OZNZB support.
If you don't use that site, you can ignore anything related to ratings.
mathewparet
Newbie
Newbie
Posts: 9
Joined: January 10th, 2014, 11:57 am

Re: SABnzbd_attrib file format

Post by mathewparet »

Thanks guys. These started coming only for the past few days, so just wanted to know.
User avatar
sander
Release Testers
Release Testers
Posts: 9033
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd_attrib file format

Post 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?
mathewparet
Newbie
Newbie
Posts: 9
Joined: January 10th, 2014, 11:57 am

Re: SABnzbd_attrib file format

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

Re: SABnzbd_attrib file format

Post by shypike »

You must have enabled rating support in Congig->Switches.
Otherwise the extra icons will not appear in the queue.
mathewparet
Newbie
Newbie
Posts: 9
Joined: January 10th, 2014, 11:57 am

Re: SABnzbd_attrib file format

Post 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.
womo
Newbie
Newbie
Posts: 13
Joined: August 24th, 2014, 4:29 pm

Re: SABnzbd_attrib file format

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

Re: SABnzbd_attrib file format

Post 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.
womo
Newbie
Newbie
Posts: 13
Joined: August 24th, 2014, 4:29 pm

Re: SABnzbd_attrib file format

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

Re: SABnzbd_attrib file format

Post 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.
Post Reply