Remote NZB Interface

Technical support and discussion of Newsbin Version 6 series.

Remote NZB Interface

Postby billynews » Sat Apr 09, 2022 2:47 pm

Hi,

I would like to use the Remote NZB Interface without SickBeard or other similar tools.
Some time ago I've created a small Chrome Addon which sends NZBs to Sabnzbd which works fine.
But now I would like to use the Addon with Newsbin.

I've changed the Addon so it sends the NZBs to Newsbin but it doesn't work.
Newsbin gets the Request, downloads the NZB and then the RAR files but doesn't unrar. It looks like I'm not able to pass the password to Newsbin.
The NZBName seems to be lost by Newsbin as well.

Here a sample Request:
Code: Select all
http://localhost:8000/sabnzbd/api?mode=addurl&name=NZBUrl&nzbname=MyNZBName{{MyPassword}}.nzb&apikey=MyApiKey


NZBUrl is valid NZBIndex URL.

Any chance I can fix this to work with Newsbin?

Best regards

billy
billynews
Seasoned User
Seasoned User
 
Posts: 146
Joined: Sat Apr 12, 2008 2:57 pm

Registered Newsbin User since: 07/15/07

Re: Remote NZB Interface

Postby Quade » Sun Apr 10, 2022 1:40 pm

What version of Newsbin are you using?

Looking at the code from 6.90, it seems to be pulling and using the filename from the request in all 3 SAB nzb feeder modes.

I'll have to verify that the password is being passed through.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 45003
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Remote NZB Interface

Postby billynews » Sun Apr 10, 2022 1:52 pm

I'm using 6.90B7
billynews
Seasoned User
Seasoned User
 
Posts: 146
Joined: Sat Apr 12, 2008 2:57 pm

Registered Newsbin User since: 07/15/07

Re: Remote NZB Interface

Postby Quade » Sun Apr 10, 2022 3:16 pm

I'd try the release in case it's different.

It should be extracting the password from the filename. It should also accept the "password" field defined in the sab interface API but that's not tested the way the NZB Filename one is.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 45003
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Remote NZB Interface

Postby billynews » Sun Apr 10, 2022 4:17 pm

Hi Quade,

did upgrade to the latest 6.90 version and now everything is working fine :D but only if the password is in the nzbname - password field seems not to work.

Thanks and sorry I didn't directly try the latest version.

billy
billynews
Seasoned User
Seasoned User
 
Posts: 146
Joined: Sat Apr 12, 2008 2:57 pm

Registered Newsbin User since: 07/15/07

Re: Remote NZB Interface

Postby billynews » Sun Apr 10, 2022 4:45 pm

sorry, one issue I didn't notice at first: Newsbin keeps the password in the UnRAR-Folder name.

This is different if I load a NZB from a Watch-Folder.
billynews
Seasoned User
Seasoned User
 
Posts: 146
Joined: Sat Apr 12, 2008 2:57 pm

Registered Newsbin User since: 07/15/07

Re: Remote NZB Interface

Postby billynews » Mon Apr 11, 2022 5:09 am

I've created a Post-UnRAR Script which removes the password from the folder name.

Don't know if you still want to look into this issue.

Best regards

billy
billynews
Seasoned User
Seasoned User
 
Posts: 146
Joined: Sat Apr 12, 2008 2:57 pm

Registered Newsbin User since: 07/15/07

Re: Remote NZB Interface

Postby Quade » Mon Apr 11, 2022 9:28 am

That's good to hear.

but only if the password is in the nzbname - password field seems not to work.


When I was looking at the code yesterday I noticed this too. Thanks. The password from the password field in the post was getting cleared when Newsbin didn't find the password in the filename.

I'll look into why it's not cleaning the password from the NZB File. Thanks for the report.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 45003
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to V6 Technical Support

Who is online

Users browsing this forum: Google [Bot] and 17 guests