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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/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


- paco - 2010-11-12

I just tested this plugin yesterday and was extremely impressed. My only problem was the IMDB lookup. It looked like it was downloading all the info but XBMC never displayed any posters (I tried all the poster sizes). I had no issue on the TV side. All the TV posters displayed as intended. Is anyone else seeing this issue? Is it a known issue? I was using Dharma Beta 4 on Windows 7 x86.


- kricker - 2010-11-12

It is a know issue, but myself and maruchan have been way too busy with life to get back to it yet. It is on our list of things to do/look at, but we just need a moment of sanity in order to get to it.


- paco - 2010-11-12

kricker Wrote:It is a know issue, but myself and maruchan have been way too busy with life to get back to it yet. It is on our list of things to do/look at, but we just need a moment of sanity in order to get to it.

Thanks for the quick reply. I'll just disable that feature until a new version of this plugin is released. Great work!


- maruchan - 2010-11-13

The thumbnail thing still confuses the heck out of me. It's worked perfectly for me for months now on both OSX and Windows 7 (don't use Linux, so I have no idea there), but it seems like it's an issue for everyone else. :confused2:

I haven't looked into it too heavily, as I've been distracted with work and the few other plugins I started developing. Now that I/others have written plugins to view most of the online content I frequently watch, I would like to return to the SAB plugin and work out some of the issues and possibly implement some new features.

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.

I got the basics working under OSX, but Windows 7 did not like me messing around with files that were being written to. I got frustrated and put the project on the back-burner. If anyone is interested in helping me implement such a feature, that would be great. I know LtChambers created an NZB streaming add-on awhile back, but it used features of XBMC that have since been removed (MPlayer has been replaced by DVDPlayer.)


- paco - 2010-11-13

maruchan Wrote:The thumbnail thing still confuses the heck out of me. It's worked perfectly for me for months now on both OSX and Windows 7 (don't use Linux, so I have no idea there), but it seems like it's an issue for everyone else. :confused2:

I don't know if it makes a difference, but I use XBMC in portable mode (perhaps a permissions issue?).

I've played around a bit more with your fine addon and I have a question re: different NZB providers. I notice that when using NZBs.org, a TV and Movie search option appears. That is a great feature. Unfortunately, the same option isn't available to NZBMatrix.com. It's too bad because NZBMatrix is usually more up to date and has better selection. Is it due to the different API's? If it isn't possible to add searches for NZBMatrix, can a Music search be added to NZBs.org?


- kricker - 2010-11-13

I've been wanting to add a NZB matrix search as well. I can look into other category search too. I'm super busy until then end of the month. I'm planning on using some of December to make all these smaller changes to the plugin.


- marv_el - 2010-11-13

kricker: i edit the settings.py for my personal use (custom rss and category names), which works now very well. when your plugin will be updated, the settings will be overwritten.
maybe you can change the behaviour for customized settings so i won't lose all my customizations? as i said, i need the rss feeds AND custom category names.

can you keep this in mind for the next update?


- kricker - 2010-11-13

Yup. That is also on my to do list.


- paco - 2010-11-15

kricker Wrote:I've been wanting to add a NZB matrix search as well. I can look into other category search too.

Well, I played around with the settings.py and managed to get a basic search working for NZBMatrix based on the NZBs.org syntax. If anyone wishes to customize their settings.py, here they are (the categories may need to be tweaked for personal needs):

{'name':'NZBMatrix - TV Search', 'url':'http://rss.nzbmatrix.com/rss.php?page=details&subcat=6,41,7&term=%s', 'category':'tv'},
{'name':'NZBMatrix - Movies Search', 'url':'http://rss.nzbmatrix.com/rss.php?page=details&subcat=2,54,42&term=%s', 'category':'movies'},
{'name':'NZBMatrix - Music Search', 'url':'http://rss.nzbmatrix.com/rss.php?page=details&cat=Music&term=%s', 'category':'music'},


- kricker - 2010-11-15

Thanks for the leg work. I'll get those in the defaults.


- Dobyken - 2010-11-23

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

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

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


- plumser - 2010-11-24

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

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