Control SABnzbd from Plex
#1
Posted 24 September 2008 - 10:22 AM
I tested this out last night in PLEX and it works great!
See here for the discussion - http://forums.sabnzb...msg5716#msg5716
See here for the download (v1.3) - http://forums.sabnzb...msg6599#msg6599
You need to unzip the files into ~/library/application support/plex/plugins/video/sabnzbd/
Change the settings in settings.py
Boot up plex, go to "watch my videos" and thee should be a new source called video plugins. Select that then select SABnzbd and bobs your uncle.
You can even add RSS feeds and send new stuff to your download queue straight from within Plex.
Check it out.
#2
Posted 24 September 2008 - 01:41 PM
Thanks for pointing this out. I've been using Plex and SABnzbd+ for a while now on a single machine, and it's great having them interact with each other.
#3
Posted 24 September 2008 - 08:49 PM
#4
Posted 05 October 2008 - 06:57 PM
muzo178, on Sep 24 2008, 09:49 PM, said:
Pure genius - this thing deserves its own slot in the main navi... Now if only they could get the movie info to work, it would be nothing short of perfect.
#5
Posted 04 November 2008 - 07:41 PM



IMDB and poster fetching will only work for newzbin feeds. Many thanks goes to Nuka1195 for his python IMDB scraper adapted from the xbmc scraper regular expressions.
Quote
v1.4
Instructions:
================
1) Extract to XBMC\plugins\Video such as C:\Program Files\XBMC\plugins\Video
2) Open the plugin, and right click/info button on one of the items, choose "Plugin Settings"
3) Enter your sabnzbd host+ip
4) If you want imdb info+posters enable them
5) If you want any extra RSS feeds, open settings.py and add any extra RSS feeds to the dictionary (note these will be replaced when upgrading versions, so make a copy)
*note for the RSS feed to work, it requires the link to point directly to an nzb file, with no user/pass needed
Supported sites can be found here: http://forums.sabnzb...hp?topic=1339.0
Changelog
================
1.4
-Added posters and movie information from IMDB for newzbin feeds (off by default)
-Moved settings from settings.py to "Plugin Settings" (access via the right click menu)
-Added more default RSS feeds (tvbinz and nzbindex.nl need sabnzbd 0.4.5)
-Added configurable caching of RSS feeds and imdb information
-Added icon for newzbin feed
-Improved default download icon
Download: SABnzbd-XBMC-Plugin-1.4.zip
#7
Posted 08 November 2008 - 07:05 PM
#8
Posted 08 November 2008 - 09:11 PM
#9
Posted 08 November 2008 - 09:17 PM
Tms8707056, on Nov 8 2008, 07:05 PM, said:
Not sure where the log is kept on plex, try looking in "~/library/application support/plex/". Run the plugin and try loading the queue, then open the log and scroll up looking for any errors. Try looking for "sab_url:" and see if that url works in your browser.
#10
Posted 09 November 2008 - 03:05 AM
21:02:14 T:2689101728 M:129413120 WARNING: CreateFile, error 2 opening file </tmp/plex/aaf09b86.fi>, flags:4, mode:124. 21:02:18 T:2689101728 M:171991040 WARNING: CreateFile, error 2 opening file </tmp/plex/f9d5377b.fi>, flags:4, mode:124. 21:02:32 T:2689101728 M:147234816 WARNING: CreateFile, error 2 opening file </tmp/plex/6de0e208.fi>, flags:4, mode:124. 21:02:39 T:2689101728 M:159989760 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/SABnzbd/?rss_url="""!?!SABnzbd - Queue!?!""",cookie="""""",old_handle="0") failed 21:02:41 T:2689101728 M:120385536 WARNING: CreateFile, error 2 opening file </tmp/plex/6de0e208.fi>, flags:4, mode:124. 21:02:45 T:2689101728 M:167608320 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/SABnzbd/?rss_url="""!?!SABnzbd - Queue!?!""",cookie="""""",old_handle="0") failed
That is all that I see in the log that pertains to SABnzbd. I attempted to open the queue a couple of times.
#11
Posted 09 November 2008 - 03:12 AM
Tms8707056, on Nov 9 2008, 03:05 AM, said:
21:02:14 T:2689101728 M:129413120 WARNING: CreateFile, error 2 opening file </tmp/plex/aaf09b86.fi>, flags:4, mode:124. 21:02:18 T:2689101728 M:171991040 WARNING: CreateFile, error 2 opening file </tmp/plex/f9d5377b.fi>, flags:4, mode:124. 21:02:32 T:2689101728 M:147234816 WARNING: CreateFile, error 2 opening file </tmp/plex/6de0e208.fi>, flags:4, mode:124. 21:02:39 T:2689101728 M:159989760 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/SABnzbd/?rss_url="""!?!SABnzbd - Queue!?!""",cookie="""""",old_handle="0") failed 21:02:41 T:2689101728 M:120385536 WARNING: CreateFile, error 2 opening file </tmp/plex/6de0e208.fi>, flags:4, mode:124. 21:02:45 T:2689101728 M:167608320 ERROR: CGUIMediaWindow::GetDirectory(plugin://video/SABnzbd/?rss_url="""!?!SABnzbd - Queue!?!""",cookie="""""",old_handle="0") failed
That is all that I see in the log that pertains to SABnzbd. I attempted to open the queue a couple of times.
Enable debug logging in Settings>System>Hardware, reboot plex and try again. Send me the full log if you can't work it out to switch@sabnzbd.org
#12
Posted 09 November 2008 - 07:14 PM
#13
Posted 09 November 2008 - 10:38 PM
Tms8707056, on Nov 9 2008, 07:14 PM, said:
If you don't mind editing the source, find item_list.py in plugins/Video/SABnzbd/nzb/ and do a search and replace for "&cat=-1" changing to "&cat=default"
I'll post a fixed version in a bit, just looking for any other bugs.
#14
Posted 10 November 2008 - 12:11 AM
switch, on Nov 9 2008, 11:38 PM, said:
I'll post a fixed version in a bit, just looking for any other bugs.
But will that use the appropriate category from Newzbin (i.e. Music for Music and TV for TV)? Or will everything be set to the default category?
#15
Posted 10 November 2008 - 09:15 AM
Tms8707056, on Nov 8 2008, 08:05 PM, said:
The same for me with, the previous version worked fine, all the settings are correct.
#16
Posted 11 November 2008 - 11:02 PM
(Horizonz skin)Quote
v1.4.1
Instructions:
================
1) Extract to XBMC\plugins\Video such as C:\Program Files\XBMC\plugins\Video
2) Open the plugin, and right click/info button on one of the items, choose "Plugin Settings"
3) Enter your sabnzbd host+ip
4) If you want imdb info+posters enable them
5) If you want any extra RSS feeds, open settings.py and add any extra RSS feeds to the dictionary (note these will be replaced when upgrading versions, so make a copy)
*note for the RSS feed to work, it requires the link to point directly to an nzb file, with no user/pass needed
Supported sites can be found here: http://forums.sabnzb...hp?topic=1339.0
Changelog
================
1.4.1
-Major cleanup and re-write of code
-Set the skin's viewmode to "Movies" when list contains imdb info. Allows for nicer views in some skins.
-Fixed newzbin category not being set
-Allow the sabnzbd category to be specified per feed
-Setting to allow the sabnzbd category to be selected from a list
-Fixed passworded sabnzbd queues not opening
-Fixed caching time having no effect.
-Possible fix for crash on linux due to caching.
-Removed nzbsrus RSS feed until supported by sabnzbd.
Download: SABnzbd-XBMC-Plugin-1.4.1.zip
#18
#19
Posted 12 November 2008 - 12:59 AM
switch, on Nov 12 2008, 01:47 AM, said:
I do use saved searches. It allows me to specify an HDTV and HD Movies category. That was a fresh settings.py, just had the username and pass for newzbin added. Is that my only option? Thanks for your help.
EDIT: The RSS link for newzbin saved searches contains an auth key. I was under the impression that this meant a user name and pass were not required to access the feed. Does the script not use this functionality?
#20
Posted 12 November 2008 - 01:10 AM
Tms8707056, on Nov 12 2008, 12:59 AM, said:
EDIT: The RSS link for newzbin saved searches contains an auth key. I was under the impression that this meant a user name and pass were not required to access the feed. Does the script not use this functionality?
The auth key is good for static rss feeds, but when the search value is changed the auth key changes, so I use a custom login and cookie solution. I guessed that you weren't using saved searches, but since you are this fix will do until I release the next version:
Open \plugins\Video\SABnzbd\nzb\rss_parser.py in a text editor, add "from cookie_fetcher import CookieFetcher" (no quotes) near the top (can be on the first blank line if you are unsure).

Sign In
Register
Help



MultiQuote

