Page 6 of 11

Re: XBMC SABnzbd+ Python Script

Posted: April 19th, 2009, 11:27 am
by tslayer
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.

Re: XBMC SABnzbd+ Python Script

Posted: April 19th, 2009, 12:13 pm
by switch
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.
Thanks tslayer, was a silly mistake. Should hopefully be fixed now.
Changelog
================
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
SABnzbd-XBMC-Plugin-1.5.1.zip

Re: XBMC SABnzbd+ Python Script

Posted: April 21st, 2009, 5:47 pm
by Lytse
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.

Re: XBMC SABnzbd+ Python Script

Posted: April 27th, 2009, 2:52 pm
by pepzi
switch wrote: Thanks tslayer, was a silly mistake. Should hopefully be fixed now.
Changelog
================
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
SABnzbd-XBMC-Plugin-1.5.1.zip
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!

Re: XBMC SABnzbd+ Python Script

Posted: April 27th, 2009, 3:03 pm
by switch
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!
Doh, thanks.
Changelog
================
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
SABnzbd-XBMC-Plugin-1.5.2.zip

Re: XBMC SABnzbd+ Python Script

Posted: April 28th, 2009, 12:22 am
by DDM123
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.

Re: XBMC SABnzbd+ Python Script

Posted: April 28th, 2009, 6:53 pm
by Lytse
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:
=== :-\

Re: XBMC SABnzbd+ Python Script

Posted: April 29th, 2009, 6:42 am
by clems
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,

Re: XBMC SABnzbd+ Python Script

Posted: April 29th, 2009, 3:18 pm
by Lytse
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)

Re: XBMC SABnzbd+ Python Script

Posted: May 2nd, 2009, 9:59 am
by clems
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

Re: XBMC SABnzbd+ Python Script

Posted: May 3rd, 2009, 3:43 pm
by clems
Workarround for Ubuntu 64 bits: Running xbmc chroot 32 bits.
Your addon is just fantastic !!! ;D

Re: XBMC SABnzbd+ Python Script

Posted: May 7th, 2009, 5:43 pm
by AllanMar
clems wrote: Workarround for Ubuntu 64 bits: Running xbmc chroot 32 bits.
Your addon is just fantastic !!! ;D
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.

Re: XBMC SABnzbd+ Python Script

Posted: May 8th, 2009, 10:19 am
by clems
I will create an how to this weekend and update this post with the link

Re: XBMC SABnzbd+ Python Script

Posted: May 8th, 2009, 10:30 am
by AllanMar
clems wrote: I will create an how to this weekend and update this post with the link
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.

-

Re: XBMC SABnzbd+ Python Script

Posted: May 8th, 2009, 4:25 pm
by AllanMar
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?