XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Plugin/Script (Python) Help and Support

Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here!
Please, add platform prefix to threads that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", and "[WINDOWS]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2010-06-24, 20:43   #1
kricker
Team-XBMC Member
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 1,211
kricker is an unknown quantity at this point
Send a message via AIM to kricker Send a message via MSN to kricker
Default SABnzbd+ plugin 2.0.0

Manage SABnzbd and search for files. For use with SABnzbd+ .5.1 or higher.


Requirements:
Sabnzbd+ .5.1 or higher
XBMC with add-on support (currently this means a SVN version)

To get the new version in XBMC:

System/Add-ons/get add-ons/XBMC.org add-ons/Media Sources
Install and configure.

Instructions:

1) Configure Plugin in System/Add-ons
2) Enter your sabnzbd host, port, username, password & API key
3) Enter Newzbin username & password
4) Enter NZBS.org ID & Hash (On NZBS.org click the RSS button to see these. ID is after &i=, hash is after &h=)
5) If you want imdb info & posters enable them
6) 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

Use:

Go to Programs and run SABnzbd.
__________________
Read this before using these builds.
XBMC win32 SVN builds
Changelog

Last edited by kricker; 2010-08-17 at 16:28.
kricker is offline   Reply With Quote
Old 2010-06-24, 20:44   #2
kricker
Team-XBMC Member
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 1,211
kricker is an unknown quantity at this point
Send a message via AIM to kricker Send a message via MSN to kricker
Default *reserved*

reserved for future content
__________________
Read this before using these builds.
XBMC win32 SVN builds
Changelog
kricker is offline   Reply With Quote
Old 2010-06-24, 20:46   #3
kricker
Team-XBMC Member
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 1,211
kricker is an unknown quantity at this point
Send a message via AIM to kricker Send a message via MSN to kricker
Default *reserved 2*

reserved for even more content
__________________
Read this before using these builds.
XBMC win32 SVN builds
Changelog
kricker is offline   Reply With Quote
Old 2010-06-25, 00:07   #4
maruchan
Member
 
Join Date: Feb 2009
Posts: 70
maruchan is on a distinguished road
Default

Great work Kricker. I've also been hacking away at adding more features to this plugin. I'd never programmed in Python before this, nor did I have any experience with XBMC plugins before, but I have managed to incorporate the following using my wits and some copy and pasting:

- IMDB poster fetching for custom RSS feeds that do not include it in the RSS feed itself. It does this by searching IMDB through Google using the movie title. It seems to be reliable about 95% of the time.
- AniDB image fetching for feeds with the category set to 'anime' This currently just pulls an image. It's not as reliable as the IMDB lookup and works about 50% of the time. Regex needs a lot of improvement and unfortunately anime posts rarely follow logical naming conventions, unlike movies/scene releases.
- Display size of each result next to the name in both the RSS view and the queue. This comes in pretty handy when dealing with HD content. I've only tested this on a few sites and it works fine, I can't vouch for all custom feeds.
- Display download speed and MB left in the Queue view.

There's a lot of things that need to be ironed out, but once I stabilize stuff a bit more I'd be glad to post the source if anyone is interested in any of the mentioned features.
maruchan is offline   Reply With Quote
Old 2010-06-25, 01:30   #5
branlr
Member
 
Join Date: Dec 2009
Location: I live in Chicago.
Posts: 55
branlr is on a distinguished road
Default

Quote:
Originally Posted by maruchan View Post
Great work Kricker. I've also been hacking away at adding more features to this plugin. I'd never programmed in Python before this, nor did I have any experience with XBMC plugins before, but I have managed to incorporate the following using my wits and some copy and pasting:

- IMDB poster fetching for custom RSS feeds that do not include it in the RSS feed itself. It does this by searching IMDB through Google using the movie title. It seems to be reliable about 95% of the time.
- AniDB image fetching for feeds with the category set to 'anime' This currently just pulls an image. It's not as reliable as the IMDB lookup and works about 50% of the time. Regex needs a lot of improvement and unfortunately anime posts rarely follow logical naming conventions, unlike movies/scene releases.
- Display size of each result next to the name in both the RSS view and the queue. This comes in pretty handy when dealing with HD content. I've only tested this on a few sites and it works fine, I can't vouch for all custom feeds.
- Display download speed and MB left in the Queue view.

There's a lot of things that need to be ironed out, but once I stabilize stuff a bit more I'd be glad to post the source if anyone is interested in any of the mentioned features.
Wow, that sounds great! I can't wait for you to post these changes.

Thanks to both of you for all of the great improvements to this essential plugin!

Maruchan--Just out of curiosity, do you think you can make it find thumbs for TV shows by title as well, since you already have it working for custom RSS feeds by title? Obviously you have no obligation to do so, but that would be AMAZINGLY cool if you could!

Last edited by branlr; 2010-06-25 at 01:43.
branlr is offline   Reply With Quote
Old 2010-06-25, 02:00   #6
maruchan
Member
 
Join Date: Feb 2009
Posts: 70
maruchan is on a distinguished road
Default

Quote:
Originally Posted by branlr View Post
Maruchan--Just out of curiosity, do you think you can make it find thumbs for TV shows by title as well, since you already have it working for custom RSS feeds by title? Obviously you have no obligation to do so, but that would be AMAZINGLY cool if you could!
Yeah, I already have it pulling whatever poster IMDB has for the TV show. It seems like IMDB doesn't have a huge amount of posters for TV shows, but it's pretty good about pulling in the ones that do.
maruchan is offline   Reply With Quote
Old 2010-06-25, 03:50   #7
kricker
Team-XBMC Member
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 1,211
kricker is an unknown quantity at this point
Send a message via AIM to kricker Send a message via MSN to kricker
Default

Great! I'd reserved the 2nd post for feature request we discussed but you've already managed them all. When you get them ironed out I'd love to test them and add them to the plugin on the repo.

Maybe we can figure out how to use theTVdb for posters for TV show feeds.
__________________
Read this before using these builds.
XBMC win32 SVN builds
Changelog

Last edited by kricker; 2010-06-25 at 03:52.
kricker is offline   Reply With Quote
Old 2010-06-25, 04:02   #8
CrashX
Fan
 
Join Date: Jan 2009
Posts: 920
CrashX is on a distinguished road
Default

Any chance for http://www.nzbmatrix.com/ support ?
__________________
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml.
CrashX is offline   Reply With Quote
Old 2010-06-25, 04:09   #9
maruchan
Member
 
Join Date: Feb 2009
Posts: 70
maruchan is on a distinguished road
Default

Quote:
Originally Posted by CrashX View Post
Any chance for http://www.nzbmatrix.com/ support ?
I don't have an nzbmatrix VIP account (which I think you need), so that's gonna have to come from someone else. And Kricker, one feature that I don't think I have the ability to add is auto-refreshing the Queue so stats are updated every X amount of seconds.
maruchan is offline   Reply With Quote
Old 2010-06-25, 04:10   #10
kricker
Team-XBMC Member
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 1,211
kricker is an unknown quantity at this point
Send a message via AIM to kricker Send a message via MSN to kricker
Default

It's my custom feeds and works fine. I've thought about adding it as an option. I'll add it in the same time I get Maruchan's changes.
__________________
Read this before using these builds.
XBMC win32 SVN builds
Changelog
kricker is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:19.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2010, XBMC Project