[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
script to send nzb to NZBGet Sabnzbd api style
12-23-2011, 04:16 PM
Post: #1
script to send nzb to NZBGet Sabnzbd api style
I've created a little php script to mimic the Sabnzbd api to add a nzb by url.
Put this script in in the web directory of your NZBGet installation (/nmt/apps/nzbgetweb/ when using the stock version, /share/Apps/NZBget/webui/) if you installed a new version from CSI.
edit the path to download the nzb's to, and the apikey to your needs.

Now you can use some browser extentions or tools that are around for Sabnzbd integration.

I use this primarily with a dutch spotters site 'www.spotplanet.org'. If you create an account there, you can activate Sabnzbd integration.
and 'pch-ip:9999/NZBget_web/api.php' (this is the url of the CSI version, stock version has a different port), and enter 'abc' as api key.
You will then have a nice SABnzbD button with each spot, which enables you to send an nzb to NZBGet with one click. Works great from my iPad.
here's the link to the script:
NZBget api script
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 5 users say Thank You to blankser for this post
05-07-2012, 02:18 PM
Post: #2
RE: script to send nzb to NZBGet Sabnzbd api style
Hey Blankser can you help my with this script please.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to pietpiraat for this post
05-21-2012, 10:36 AM
Post: #3
RE: script to send nzb to NZBGet Sabnzbd api style
Yes, would be nice to have a tutorial on this ?

Popcorn Hour A-110 + 1 TB Hard disk (WD Caviar Green Power WD10EADS)
Find all posts by this user
Add Thank You Quote this message in a reply
05-21-2012, 03:52 PM
Post: #4
RE: script to send nzb to NZBGet Sabnzbd api style
Thanks for posting. It's great to see and a few steps would be great.

we could do with any scripts collating somewhere.

A400: SSD+SD Card(Apps), HDMI A300: USB(Apps), HDMI C200: USB(Apps), BD SH-B083L(SB01), HDMI
CAT6 Wired Network: TV TX-P42G20, HP ProCurve 1400-8G, Netgear GS-608/605, Synology CS407
Find all posts by this user
Add Thank You Quote this message in a reply
05-21-2012, 06:58 PM
Post: #5
RE: script to send nzb to NZBGet Sabnzbd api style
i think i found the way for the settings in spotplanet.org to my pch but I'm unable to send the nzb's to my folder on the pch (share/Apps/NZBget/.nzbget/nzb

Popcorn Hour A-110 + 1 TB Hard disk (WD Caviar Green Power WD10EADS)
Find all posts by this user
Add Thank You Quote this message in a reply
06-27-2012, 09:29 PM
Post: #6
RE: script to send nzb to NZBGet Sabnzbd api style
Placed the script in the right dir for the newest CSI version. I have a C200.

Got the IP adres and api key set via the settigs menu on the spotplanet.org website (after login).
Kept the api key as in line 1 as-is.

However the script does not put the nzb in de destination dir (share/Blackhole in line 25), i did not get any fault message.

Would be great to get this going, how can i help ?

C200 and A200 both with 1,5 TB Samsung Green, wired 100 Mb LAN. I love those Apps: PWRC, UZG.
(a WD caviar green 500Gb gave hang-ups with the C200).

Sony 42W5500 with Sony 5.1 Home theatre setup and LG 37LD450.
Three External HDD's of 350 Gb (1) and 500 Gb (2) on a different physical location for extra Back-Up.
Find all posts by this user
Add Thank You Quote this message in a reply
06-27-2012, 11:52 PM
Post: #7
RE: script to send nzb to NZBGet Sabnzbd api style
The other webui
http://www.networkedmediatank.com/showth...?tid=60629
Has this built in. I still need frred back from those who have tryed it or are using it.

Apart from the issue that you need to start nzbget from the webui after a reboot i belive it is working ok.

My Popcorn Hour A110 Trakt.tv (TESTING)
[Image: watched-fanart.jpg]
Community Software Installer - For All Your User Apps
PchTrakt - Millers Mods Download

A-400 - Onkyo TX SR608 AV receiver, C-200, A110
Find all posts by this user
Add Thank You Quote this message in a reply
06-28-2012, 04:57 PM (This post was last modified: 07-01-2012 10:21 PM by rvdet.)
Post: #8
RE: script to send nzb to NZBGet Sabnzbd api style
jh millers solution is webbased, browsing in an app would certainly feel more comfortable on a mobile device to me.

i downloaded the android app on http://www.spotplanet.org but the uploading api solution is difficult if not impossible to implement

maybe integrate these two solutions can do the trick ......

-----------------

got this working anyways, makes me verry happy.

its the road, not the destination giving fullfillment ;-)

still thjink that having this php integrated in Millers solution would be awesomeness.

----------------

C200 and A200 both with 1,5 TB Samsung Green, wired 100 Mb LAN. I love those Apps: PWRC, UZG.
(a WD caviar green 500Gb gave hang-ups with the C200).

Sony 42W5500 with Sony 5.1 Home theatre setup and LG 37LD450.
Three External HDD's of 350 Gb (1) and 500 Gb (2) on a different physical location for extra Back-Up.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Star NZBGet 9.0/10.0 discussion hugbug 473 38,294 05-21-2013 06:45 PM
Last Post: say170
  [200/300] SABnzbd jhmiller 201 39,066 05-19-2013 09:54 AM
Last Post: nicovanl
  SickBeard+SABnzbd+Astraweb jigax 2 770 04-19-2013 08:05 PM
Last Post: juan587
  Can't save NZBGet Web Interface settings jurjongo 0 473 04-15-2013 09:57 PM
Last Post: jurjongo
  NZBGet download x pars instead of one/all/none shazada 0 470 04-07-2013 03:46 PM
Last Post: shazada
  NZBGet on the PCH/NMT Manual and F.A.Q. Philos 147 176,293 03-10-2013 11:33 AM
Last Post: blobe
Tongue Script to send NZB(url) to NZBGet using iOS mrmaximum 18 6,999 03-05-2013 12:23 AM
Last Post: rvdet
  auto unrar script giovan39 0 507 02-15-2013 07:57 PM
Last Post: giovan39
  NZBGET postprocess to specified folder Goldrolly 2 1,065 02-15-2013 06:09 PM
Last Post: jhmiller
  nzbget config giovan39 0 664 02-15-2013 11:27 AM
Last Post: giovan39

Forum Jump: