XBMC Community Forum
[RELEASE] SABnzbd+ (Programs) Plugin - Manage SABnzbd and search for files from XBMC - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] SABnzbd+ (Programs) Plugin - Manage SABnzbd and search for files from XBMC (/showthread.php?tid=76182)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


- Dobyken - 2010-11-23 14:29

maruchan Wrote:As an aside, a few months back I experimented with writing streaming functionality into the SAB plugin. Basically, it started extracting a multi-part RAR archive and, if it hit the end and the next file hadn't finished downloading, it would wait and check periodically for the next RAR to become available and then resume extracting. XBMC would start playing the partial video file that was extracted.

Sounds like a pretty ambitious task fraught with gotcha's. Personally I can and prefer to wait until the file is done downloading. How about a Sickbeard plugin<grin>?


- paco - 2010-11-24 00:45

Dobyken Wrote:Sounds like a pretty ambitious task fraught with gotcha's. Personally I can and prefer to wait until the file is done downloading. How about a Sickbeard plugin<grin>?

I agree. If you end up in one bad RAR that needs repairing at the start of the film, you could end up waiting a long time. Personally, I would be more interested in remote queue manipulation and info/posters (especially when there are unknown films).


- kricker - 2010-11-24 04:02

You can already manipulate the queue somewhat. I'm not sure how much more queue manipulation the api supports.


- plumser - 2010-11-24 19:58

Maybe this is the wrong thread, I just thought I'd share a post processing script for SABnzbd+ to update the video library using the new JSON-RPC.


this is update.py
Code:
#!/usr/bin/python
import json
import httplib, urllib

url = 'http://your.xbmc.ip:port'
jsonrpcurl = url + '/jsonrpc'

updatestr = json.dumps({'jsonrpc': "2.0", 'method': "VideoLibrary.ScanForContent", 'id': "1"})

urllib.urlopen(jsonrpcurl, updatestr).close()

I couldn't run the python script from sabnzbd alone so I had to write a shell script that executes update.py when the download is complete.

Code:
#!/bin/sh

/usr/bin/python /path/to/script/update.py;

Hope this helps someone!


feature request : newznab support - Newznab - 2010-11-24 23:55

newznab is an open source indexer with a fairly good api for search - details are in our spec http://code.google.com/p/newznab/source/browse/trunk/misc/api/newznab_api_specification.txt

would it be possible to add in support for searching for content, in the same vein as nzbs.org.

there are several newznab sites up and running, probably the most comprehensive is nzb.su

theres a chatty irc chan on synirc.net #newznab if you needed any more info.

thanks in advance

bb


- kricker - 2010-11-26 20:54

I'll definitely look into it.


- paco - 2010-11-27 04:38

kricker Wrote:You can already manipulate the queue somewhat. I'm not sure how much more queue manipulation the api supports.

Oops. I finally figured out how to do it. I never tried pressing enter on a queued item. I tried 'Context' and 'Info' and since nothing came up I assumed it wasn't implemented. Sorry.

One odd request (it may be an XBMC default), when using the text input dialog, is it possible to have the default highlighted be 'Done'? I typically use my keyboard to type and then I have to move the cursor over to 'Done' to enter the request.


- kricker - 2010-11-27 05:02

paco Wrote:One odd request (it may be an XBMC default), when using the text input dialog, is it possible to have the default highlighted be 'Done'? I typically use my keyboard to type and then I have to move the cursor over to 'Done' to enter the request.
That is an XBMC default, nothing really to do with the addon. I suffer from the same issue and have long promised myself that I would see how to change it. It is waaaay down my list of to dos though.


- anazndude - 2010-12-02 02:09

Is anyone else having a problem with newzbin feeds? Any chance a fix is coming?


- kricker - 2010-12-02 02:23

anazndude Wrote:Is anyone else having a problem with newzbin feeds? Any chance a fix is coming?
This is a known issue.
http://code.google.com/p/xbmc-sabnzbd-addon/

Above is the Google code page for the addon. You can track the known issues and add them there. I am just about to come upon some free time and I'll fix as many of them as I can. I can get the issue page to load at the moment. Hopefully that will be resolved by this weekend so I can start going thru them.