XBMC SABnzbd+ Python Script
Re: XBMC SABnzbd+ Python Script
sw1tch,
Just registered to let you know of a bug with the apikey stuff.
The following changes should go in sabnzbd_actions.py:
apikey = xbmcplugin.getSetting( "sab_key" )
and
self.sabnzbd_url += key
Diff looks like:
diff /home/eric/plugins/SABnzbd/nzb/sabnzbd_actions.py sabnzbd_actions.py
17c17
apikey = xbmcplugin.getSetting( "sab_key" )
29c29
self.sabnzbd_url += key
Thanks for the great plugin.
Just registered to let you know of a bug with the apikey stuff.
The following changes should go in sabnzbd_actions.py:
apikey = xbmcplugin.getSetting( "sab_key" )
and
self.sabnzbd_url += key
Diff looks like:
diff /home/eric/plugins/SABnzbd/nzb/sabnzbd_actions.py sabnzbd_actions.py
17c17
apikey = xbmcplugin.getSetting( "sab_key" )
29c29
self.sabnzbd_url += key
Thanks for the great plugin.
Last edited by tslayer on April 19th, 2009, 11:34 am, edited 1 time in total.
Re: XBMC SABnzbd+ Python Script
Thanks tslayer, was a silly mistake. Should hopefully be fixed now.tslayer wrote: sw1tch,
Just registered to let you know of a bug with the apikey stuff.
The following changes should go in sabnzbd_actions.py:
apikey = xbmcplugin.getSetting( "sab_key" )
and
self.sabnzbd_url += key
Diff looks like:
diff /home/eric/plugins/SABnzbd/nzb/sabnzbd_actions.py sabnzbd_actions.py
17c17
apikey = xbmcplugin.getSetting( "sab_key" )
29c29
self.sabnzbd_url += key
Thanks for the great plugin.
SABnzbd-XBMC-Plugin-1.5.1.zipChangelog
================
1.5.1
-Fixed bug with api key
1.5
-Added settings value for API KEY, should prompt if needed
-An RSS feed now only requires %s in the url where the search term is entered for it to be recognised as a searchable RSS feed
Re: XBMC SABnzbd+ Python Script
I gave this a try, but sabnzbd says the api_key is missing and the plugin wants me to enter one, which I did
I cannot say anything about the plugin yet, but it would be great to watch the sab queue from it.
I cannot say anything about the plugin yet, but it would be great to watch the sab queue from it.
Re: XBMC SABnzbd+ Python Script
I just downloaded version 1.5.1, but I think you forgot to change this line:switch wrote: Thanks tslayer, was a silly mistake. Should hopefully be fixed now.
SABnzbd-XBMC-Plugin-1.5.1.zipChangelog
================
1.5.1
-Fixed bug with api key
1.5
-Added settings value for API KEY, should prompt if needed
-An RSS feed now only requires %s in the url where the search term is entered for it to be recognised as a searchable RSS feed
apikey = xbmcplugin.getSetting( "api_key" )
I changed api_key to sab_key as tslayer suggested, and it works like a charm! I love it, thanks!
Re: XBMC SABnzbd+ Python Script
Doh, thanks.pepzi wrote: I just downloaded version 1.5.1, but I think you forgot to change this line:
apikey = xbmcplugin.getSetting( "api_key" )
I changed api_key to sab_key as tslayer suggested, and it works like a charm! I love it, thanks!
SABnzbd-XBMC-Plugin-1.5.2.zipChangelog
================
1.5.2
-Fixed another api key bug
1.5.1
-Fixed bug with api key
1.5
-Added settings value for API KEY, should prompt if needed
-An RSS feed now only requires %s in the url where the search term is entered for it to be recognised as a searchable RSS feed
Re: XBMC SABnzbd+ Python Script
I'm getting this error/segfault when I load up the plugin in XBMC (Ubuntu 9.04 64bit Nvidia 185.19):
xbmc@htpc:~$ DISPLAY=":0.0" xbmc
The XBMC_HOME environment variable is not set.
Error loading jpeg - no SOI marker found in first 4096 bytes
Error loading jpeg - no SOI marker found in first 4096 bytes
TIFF IMAGE: Not a TIFF or MDI file, bad magic number 19778 (0x4d42).
CRITSEC[0x3a67150]: Trying to enter uninitialized section.
CRITSEC[0x3a67150]: Trying to leave uninitialized section.
Segmentation fault
I also tried 1.4.1 but the result was the same. In either case, this line sometimes shows up as well:
xbmc.bin: ../../src/xcb_io.c:176: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' failed.
Also this plugin looks amazing and I can't wait to get it working.
EDIT: I kept running into problems with 64 bit so I went back to 32. Your plugin is working perfectly.
xbmc@htpc:~$ DISPLAY=":0.0" xbmc
The XBMC_HOME environment variable is not set.
Error loading jpeg - no SOI marker found in first 4096 bytes
Error loading jpeg - no SOI marker found in first 4096 bytes
TIFF IMAGE: Not a TIFF or MDI file, bad magic number 19778 (0x4d42).
CRITSEC[0x3a67150]: Trying to enter uninitialized section.
CRITSEC[0x3a67150]: Trying to leave uninitialized section.
Segmentation fault
I also tried 1.4.1 but the result was the same. In either case, this line sometimes shows up as well:
xbmc.bin: ../../src/xcb_io.c:176: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' failed.
Also this plugin looks amazing and I can't wait to get it working.
EDIT: I kept running into problems with 64 bit so I went back to 32. Your plugin is working perfectly.
Last edited by DDM123 on April 28th, 2009, 3:51 pm, edited 1 time in total.
Re: XBMC SABnzbd+ Python Script
now it crashes...
these are the last lines of my xbmc.log
===
01:45:05 T:1444870480 M:3782520832 NOTICE:
01:45:05 T:1444870480 M:3782520832 NOTICE: read:True
01:45:05 T:1444870480 M:3782520832 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: getting response
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: resp:{"have_warnings":"0","timeleft":"0:00:00","mb":0.000000,"noofslots":0,"paused":null,"mbleft":0.000000,"diskspace2":902.809406,"diskspace1":902.809406,"kbpersec":0.000000,"jobs":[]}
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: sabnzbd-xbmc Filling the list
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: sabnzbd-xbmc total items found: 1
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: The queue is empty - /home/xxxx/.xbmc/plugins/video/SABnzbd/sabc_64.png - default
01:45:05 T:1444870480 M:3782422528 NOTICE:
===
these are the last lines of my xbmc.log
===
01:45:05 T:1444870480 M:3782520832 NOTICE:
01:45:05 T:1444870480 M:3782520832 NOTICE: read:True
01:45:05 T:1444870480 M:3782520832 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: getting response
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: resp:{"have_warnings":"0","timeleft":"0:00:00","mb":0.000000,"noofslots":0,"paused":null,"mbleft":0.000000,"diskspace2":902.809406,"diskspace1":902.809406,"kbpersec":0.000000,"jobs":[]}
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: sabnzbd-xbmc Filling the list
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: sabnzbd-xbmc total items found: 1
01:45:05 T:1444870480 M:3782422528 NOTICE:
01:45:05 T:1444870480 M:3782422528 NOTICE: The queue is empty - /home/xxxx/.xbmc/plugins/video/SABnzbd/sabc_64.png - default
01:45:05 T:1444870480 M:3782422528 NOTICE:
===
Re: XBMC SABnzbd+ Python Script
Hello,
Your plug-in is just perfect for what I was looking for very good job !!!
issue: Crash of XBMC when I try to browse binsearch TV or Movie
]xbmc.bin: ../../src/xcb_io.c:176: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) sequence) - (long) (current_request)) <= 0))' failed.
Aborted
Hope it can help
If you need someone for futher troubleshoot and test on Unbuntu 64bits just let me know.
Update: Just test on 32 bits. it's just ...wait for it ... Legendary !!
Great job hope you will find the solution for 64 bits
Regards,
Your plug-in is just perfect for what I was looking for very good job !!!
issue: Crash of XBMC when I try to browse binsearch TV or Movie
]xbmc.bin: ../../src/xcb_io.c:176: process_responses: Assertion `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) sequence) - (long) (current_request)) <= 0))' failed.
Aborted
Hope it can help
If you need someone for futher troubleshoot and test on Unbuntu 64bits just let me know.
Update: Just test on 32 bits. it's just ...wait for it ... Legendary !!
Great job hope you will find the solution for 64 bits
Regards,
Last edited by clems on April 29th, 2009, 6:16 pm, edited 1 time in total.
Re: XBMC SABnzbd+ Python Script
Something goes wrong in building up the lists, i do see some output in my logs (only first item). Please get it to work on 64 bit too (have the same kind of problems as described in previous post)
Last edited by Lytse on April 29th, 2009, 5:50 pm, edited 1 time in total.
Re: XBMC SABnzbd+ Python Script
Small update:
I confirm it's seems to be an issue during the listing process.
Log from XBMC:
15:50:29 T:3020400976 M:3408551936 NOTICE: sabnzbd-xbmc parsed successfully
15:50:29 T:3020400976 M:3408551936 NOTICE:
15:50:29 T:3020400976 M:3408551936 NOTICE: sabnzbd-xbmc Filling the list
15:50:29 T:3020400976 M:3408551936 NOTICE:
15:50:29 T:3020400976 M:3408551936 NOTICE: sabnzbd-xbmc total items found: 50
15:50:29 T:3020400976 M:3408551936 NOTICE:
15:50:29 T:3020400976 M:3408551936 NOTICE: Weeds - 3x10 - Roy Till Called (1.2GB) - /home/clems/.xbmc/plugins/video/SABnzbd/sabc_64.png - default
15:50:29 T:3020400976 M:3408551936 NOTICE:
And after that XBMC crash
I confirm it's seems to be an issue during the listing process.
Log from XBMC:
15:50:29 T:3020400976 M:3408551936 NOTICE: sabnzbd-xbmc parsed successfully
15:50:29 T:3020400976 M:3408551936 NOTICE:
15:50:29 T:3020400976 M:3408551936 NOTICE: sabnzbd-xbmc Filling the list
15:50:29 T:3020400976 M:3408551936 NOTICE:
15:50:29 T:3020400976 M:3408551936 NOTICE: sabnzbd-xbmc total items found: 50
15:50:29 T:3020400976 M:3408551936 NOTICE:
15:50:29 T:3020400976 M:3408551936 NOTICE: Weeds - 3x10 - Roy Till Called (1.2GB) - /home/clems/.xbmc/plugins/video/SABnzbd/sabc_64.png - default
15:50:29 T:3020400976 M:3408551936 NOTICE:
And after that XBMC crash
Re: XBMC SABnzbd+ Python Script
Workarround for Ubuntu 64 bits: Running xbmc chroot 32 bits.
Your addon is just fantastic !!!
Your addon is just fantastic !!!
Re: XBMC SABnzbd+ Python Script
Any advice/howto on setting up a 32bit chroot for xbmc? I really want to use this plugin and the fact that xbmc's webserver dosnt work 64bit sucks too.clems wrote: Workarround for Ubuntu 64 bits: Running xbmc chroot 32 bits.
Your addon is just fantastic !!!
Re: XBMC SABnzbd+ Python Script
I will create an how to this weekend and update this post with the link
Re: XBMC SABnzbd+ Python Script
Dont bother on my account. After several other plugins wouldnt work with with 64bit, i just reinstalled to 32bit and everything is working fine now. Its a HTPC only PC so this made more sense anyway. Thanks though.clems wrote: I will create an how to this weekend and update this post with the link
-
Re: XBMC SABnzbd+ Python Script
Is nzbmatrix supposed to work with this script? (Im using the 0.5 version that supports nzbmatrix) How about nzbs.org? Does anyone have that working. It reads the feeds fine, but when i attempt to add to queue it just says it cant and to check settings. Checking XBMC log, theres no errors, and I can take the sabnzbd url it gives there and enter it in the browser and it works fine.
tvnzb so far is the only one that works for me. On that note, if anyone had a newsbin invite it would be appreciated (allan at thb dot ca). Is there any others rss's that the IMDb scraping works well with?
tvnzb so far is the only one that works for me. On that note, if anyone had a newsbin invite it would be appreciated (allan at thb dot ca). Is there any others rss's that the IMDb scraping works well with?