• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7
[RELEASE] SABnzbd
#16
(2013-02-07, 10:19)nick w Wrote: I'm getting a plugin script failure when trying to run the plugin.
I'm sure I configured it correctly

Any ideas?

Thanks

You have configured it wrong? ;D Pm a debug log and or revise your settings one more time (no https)..
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#17
(2013-02-05, 23:37)Popeye Wrote:
(2013-02-05, 14:49)schumi2004 Wrote: Is it a good idea to add a option to Pause/Resume SABnzbd on movie Playback/Stop ?

Before i start trying to create my own service for it i thought maybe it's a good idea to add a option to Pause/Resume SABnzbd on movie Playback/Stop ?

I have now made a service addon allow you to either pause or speed throttle during media playback. Grab it from my repo since it depends on the sabnzbd addon.

Just a bump for anyone subscribing on this thread.
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#18
You are to good for us Dutch guys Big Grin
Reply
#19
Thanks Popeye.

Where are the debug logs saved? In the add on folder?
Reply
#20
It should just be the XBMC log with debugging enabled. Refer to the wiki if you are unsure how to do that.
Reply
#21
A quick note on copying/pasting the API key; and this is specific to those who have an Android device and use the YATSE widget app for remote control. That said, if you copy the API key on your phone and open the virtual keyboard of YATSE and the API key entry dialog on XBMC you can paste it directly into the box. Not useful for everyone, but better than manual entry if you've already been using the app. Cheers!
Reply
#22
(2013-02-10, 01:13)Popeye Wrote:
(2013-02-05, 23:37)Popeye Wrote:
(2013-02-05, 14:49)schumi2004 Wrote: Is it a good idea to add a option to Pause/Resume SABnzbd on movie Playback/Stop ?

Before i start trying to create my own service for it i thought maybe it's a good idea to add a option to Pause/Resume SABnzbd on movie Playback/Stop ?

I have now made a service addon allow you to either pause or speed throttle during media playback. Grab it from my repo since it depends on the sabnzbd addon.

Just a bump for anyone subscribing on this thread.

Awesome, how could i have missed this Confused
Reply
#23
Tried this and it works very well thank you!

Is there any way to get the Pause SABnzbd service to pause/resume when only streaming online content?
Reply
#24
It might be possible. I'll take a look at it next week.
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#25
Thank you.
Reply
#26
(2013-02-22, 09:59)T800 Wrote: Tried this and it works very well thank you!

Is there any way to get the Pause SABnzbd service to pause/resume when only streaming online content?

I have made the code changes and everything is ready in the master branch on github. Will update the repo tomorrow. The default behavior is now to only pause/throttle on online content.
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#27
Hi Popeye, this add-on doesn't work for me:

Code:
18:06:04 T:7300  NOTICE: plugin.program.sabnzbd: v3.0.2 started
18:06:04 T:7300  NOTICE: plugin.program.sabnzbd: SABnzbd: _load_json: url: http://192.168.0.3:9090/api?apikey=***REMOVED***&mode=queue&start=0&limit=50&output=json
18:06:15 T:7300  NOTICE: plugin.program.sabnzbd: SABnzbd: _load_json: unable to load url: http://192.168.0.3:9090/api?apikey=***REMOVED***&mode=queue&start=0&limit=50&output=json
18:06:15 T:7300   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: Queue instance has no attribute 'version'
                                            Traceback (most recent call last):
                                              File "C:\Users\Daniel Morgan\AppData\Roaming\XBMC\addons\plugin.program.sabnzbd\default.py", line 46, in <module>
                                                page.Page().page_main()
                                              File "C:\Users\Daniel Morgan\AppData\Roaming\XBMC\addons\plugin.program.sabnzbd\page.py", line 46, in page_main
                                                status = "SABnzbd %s" % queue.version
                                            AttributeError: Queue instance has no attribute 'version'
                                            -->End of Python script error report<--
18:06:15 T:6932   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.sabnzbd
18:06:15 T:6932   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.sabnzbd) failed

My Sabnzbd install requires an SSL connection, but this add-on is attempting a non-encrypted connection, I'm thinking that's probably the cause.
Image
Reply
#28
(2013-02-26, 20:02)gibxxi Wrote: Hi Popeye, this add-on doesn't work for me:

Code:
18:06:04 T:7300  NOTICE: plugin.program.sabnzbd: v3.0.2 started
18:06:04 T:7300  NOTICE: plugin.program.sabnzbd: SABnzbd: _load_json: url: http://192.168.0.3:9090/api?apikey=***REMOVED***&mode=queue&start=0&limit=50&output=json
18:06:15 T:7300  NOTICE: plugin.program.sabnzbd: SABnzbd: _load_json: unable to load url: http://192.168.0.3:9090/api?apikey=***REMOVED***&mode=queue&start=0&limit=50&output=json
18:06:15 T:7300   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: Queue instance has no attribute 'version'
                                            Traceback (most recent call last):
                                              File "C:\Users\Daniel Morgan\AppData\Roaming\XBMC\addons\plugin.program.sabnzbd\default.py", line 46, in <module>
                                                page.Page().page_main()
                                              File "C:\Users\Daniel Morgan\AppData\Roaming\XBMC\addons\plugin.program.sabnzbd\page.py", line 46, in page_main
                                                status = "SABnzbd %s" % queue.version
                                            AttributeError: Queue instance has no attribute 'version'
                                            -->End of Python script error report<--
18:06:15 T:6932   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.sabnzbd
18:06:15 T:6932   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.sabnzbd) failed

My Sabnzbd install requires an SSL connection, but this add-on is attempting a non-encrypted connection, I'm thinking that's probably the cause.
Can you try modifying line 53 and 56 in ../XBCM/addons/plugin.program.sabnzbd/lib/sabnzbd.py from "http://" to "https://" and see if that helps? It, works for me so if you could verify it I'll add a setting for https support.
Pneumatic | SABnzbd | XBMC that just works - openelec
Reply
#29
Started straight up after performing the changes. Thanks Popeye. Smile
Image
Reply
#30
THANKS!!!! Cannot wait to get home and try this. Just got my new HTPC set up and was streaming 1080p perfect, then sickbeard sent a tv show to the download queue so I then ran into buffering issues until I paused Sab.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
[RELEASE] SABnzbd1