• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 10
[REQUEST] SABnzbd+ Controller (NBZ) Python Script for XBMC?
#16
Zepp Wrote:Nice, this is pretty awesome so far. Could you add in support to remove items from the sabnzbd queue perhaps? 'deleting the video' does nothing when in the queue section.

I was going to wait for SABnzbd 0.5 (still a while off) before I added queue controls, however I can add a few before then such as Deleting and Moving an item to the top of the queue.

As soon as I can work out how to refresh the queue after an action I'll release an update.
Reply
#17
Love your script sw1tch! I can now stop using dirt hacks and use ur brilliant script, cheers Smile
Reply
#18
sw1tch Wrote:I was going to wait for SABnzbd 0.5 (still a while off) before I added queue controls, however I can add a few before then such as Deleting and Moving an item to the top of the queue.

As soon as I can work out how to refresh the queue after an action I'll release an update.

Thank you.
Reply
#19
Sorry for the late response, had to work out a few coding issues.

Code:
Changelog
================
1.3
-Changed the successful sabnzbd add dialog to a notification
-Allow items to be deleted/moved in the queue
-Fixed sorting under xbox
-More failure notices
-Problem shwing queue for "fetching" items from newzbin
Bonus pic:
Image

Download:
SABnzbd-XBMC-Plugin-1.3.zip
Reply
#20
Thanks so much Sw1tch!
Reply
#21
A small fix for people running older versions of xbmc, icons wouldn't show and newzbin feeds wouldn't open:

Code:
Changelog
================
1.3.1
-Fixed some backwards-compatibility stuff for older XBMC versions

Download:
SABnzbd-XBMC-Plugin-1.3.1.zip
Reply
#22
Works perfectly. I've added some custom feeds and it's very cool to check your queue from XBMC. Thanks for the script, Keep up the good work Wink
Reply
#23
First, great job on this Plugin, its very handy.

with newzleech.com (a free usenet search site) it is possible to generate a RSS feed based on what ever search terms you want:

From http://www.newzleech.com/?m=rss
"
Example 1 To be informed of posts that match 'Fedora Core 4' in all groups you'd use:
http://www.newzleech.com/rss.php?n=50&s=Fedora+Core+4
"

If there were a way to allow the user to input the search terms in xbmc, you would be essentially able to generate a custom RSS feed that would contain the search results you are looking for. Can this be done?
Reply
#24
crackerbox Wrote:First, great job on this Plugin, its very handy.

with newzleech.com (a free usenet search site) it is possible to generate a RSS feed based on what ever search terms you want:

From http://www.newzleech.com/?m=rss
"
Example 1 To be informed of posts that match 'Fedora Core 4' in all groups you'd use:
http://www.newzleech.com/rss.php?n=50&s=Fedora+Core+4
"

If there were a way to allow the user to input the search terms in xbmc, you would be essentially able to generate a custom RSS feed that would contain the search results you are looking for. Can this be done?

Sure, just add this in settings.py below the binsearch and tvnzb feeds:
Code:
{'name':'Newzleech - Search', 'url':'http://www.newzleech.com/rss.php?n=50&s=%s'},
Reply
#25
Thanks for the quick response.

The search part works perfectly, but when it tries to download, nothing actually happens.

Is this because newzleech does not directly link to the nzb files in the RSS feed?

Is there a way around this as there is with binsearch?

Here is the error that sab reports after being passed the nzb data from the plugin:
Code:
WARNING
[nzbstuff] Incorrect NZB file ?p=7841806 (trying anyway)
ERROR
[nzbstuff] Invalid NZB file ?p=7841806, skipping

Thanks
Reply
#26
crackerbox Wrote:Thanks for the quick response.

The search part works perfectly, but when it tries to download, nothing actually happens.

Is this because newzleech does not directly link to the nzb files in the RSS feed?

Is there a way around this as there is with binsearch?

Here is the error that sab reports after being passed the nzb data from the plugin:
Code:
WARNING
[nzbstuff] Incorrect NZB file ?p=7841806 (trying anyway)
ERROR
[nzbstuff] Invalid NZB file ?p=7841806, skipping

Thanks

Yes, sorry forgot newzleech RSS feeds won't work for sabnzbd as they point to the url for the report and not the nzb. It isn't easy to code support for it in.
Reply
#27
I found out that nzbs.org allows all kinds of great rss options (free registration required), so using Switch's original suggestion i added this line to my config file:


Code:
{'name':'NZBs.ORG - Search', 'url':'http://nzbs.org/rss.php?q=%s&catid=#Put_Category_Number_Here#&i=#PUT_SITE_ASSIGNED_USER_STRING_HERE#&dl=1'},
This line allows me to seach the site, once you register to get a username and password with them, you would visit the RSS link on their site (linked below) they will tell you what your user string is (replaces "#PUT_SITE_ASSIGNED_USER_STRING_HERE#") and the define the different categories so you can choose the different categories you'd like to search through by putting that number where it says "#Put_Category_Number_Here#"...

Info on NZBs.org RSS system can be found here: http://nzbs.org/index.php?action=rss

YOU MUST GET A USERNAME AND PASSWORD AND LOGIN BEFORE THE LINK ABOVE WILL TELL YOU YOUR NZBs.ORG HASH STRING, WHICH IS REQUIRED TO DOWNLOAD NZBs VIA RSS WITHOUT LOGGING IN

So here is what my SABnzbd plugin screen shot looks like:
Image
and here is the code in my settings.py file under the section: "#add other rss feeds here, just copy an existing one and change the name and url"
Code:
other_rss = [
{'name':'Movies (HD) - Search', 'url':'http://nzbs.org/rss.php?q=%s&catid=4&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'Movies (SD) - Search', 'url':'http://nzbs.org/rss.php?q=%s&catid=2&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'TV (HD) - Search', 'url':'http://nzbs.org/rss.php?q=%s&catid=14&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'TV (SD) - Search', 'url':'http://nzbs.org/rss.php?q=%s&catid=1&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'On-Demand HD TV', 'url':'http://www.nzbs.org/rss.php?action=mysearches&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'Browse Movies (HD)', 'url':'http://www.nzbs.org/rss.php?catid=4&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'Browse Movies (SD)', 'url':'http://www.nzbs.org/rss.php?catid=2&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'Browse TV (HD)', 'url':'http://www.nzbs.org/rss.php?catid=14&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
{'name':'Browse TV (SD)', 'url':'http://www.nzbs.org/rss.php?catid=1&i=#TYPE_YOUR_NZB.ORG_HASH_HERE#&dl=1'},
#{'name':'Binsearch - TV', 'url':'http://rss.binsearch.net/rss.php?max=50&g=alt.binaries.multimedia'},
#{'name':'TVNZB (Latest)', 'url':'http://tvnzb.com/tvnzb_new.rss'},
#{'name':'Newzleech - Search', 'url':'http://www.newzleech.com/rss.php?n=50&s=%s'},
#{'name':'Newzleech - HDTV', 'url':'http://www.newzleech.com/rss.php?n=50&g=alt.binaries.hdtv'},
]
Reply
#28
Nice Wink

Thanks crackerbox.
Reply
#29
bartdesign Wrote:Nice Wink

Thanks crackerbox.

You're welcome, but the real thanks needs to go to Sw1tch. He is the one who coded this asskicking plugin, and he's the one who showed me how to add lines that allow us to 'search' rss feeds.
Reply
#30
Can a run-time nzb player script be developed, such as Graboid or NZBPlayer, which lets users play files without downloading them completely? That would be really cool.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 10

Logout Mark Read Team Forum Stats Members Help
[REQUEST] SABnzbd+ Controller (NBZ) Python Script for XBMC?1