[RELEASE] Pneumatic

  Thread Rating:
  • 7 Votes - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dr99 Offline
Member
Posts: 81
Joined: May 2011
Reputation: 0
Post: #871
(2012-03-14 11:10)Popeye Wrote:  
(2012-03-13 15:19)atmorell Wrote:  Very nice Smile Have you thought about sorting by the title or name so that you could list episodes in the the right order?

No. not really. When reading the newznab API documentation, your question and ckergald's work, I have a idea for my Newznab addon..
What about a option to import a show to a local db, then browsing a show is "just" different filters of the db.
The db could either be xbmc local or runed on a remote machine. The import script should be capable of either be executed from XBMC or by e.g. a cron job..
I don't know if this is the way forward or if we should let tools like sickbeard handle this instead..

Would it be possible to let your plugin scan a folder of nzbs created by sickbeard and output strm files to the library that link back to the local nzbs? That would eliminate the need to create a database and let sickbeard do all the work since it is so good at what it does. The only problem I could think of would be your plugin knowing which folder to put the stream files into in the library.
find quote
iDude Offline
Member
Posts: 79
Joined: Aug 2009
Reputation: 0
Post: #872
Hey guys,

I just wanted to let you know that I've updated the nzbmatrix addon. It now supports pneumatics library features. You can get it here
(This post was last modified: 2012-03-14 22:54 by iDude.)
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #873
(2012-03-14 22:54)iDude Wrote:  Hey guys,

I just wanted to let you know that I've updated the nzbmatrix addon. It now supports pneumatics library features. You can get it here

Great work and thanks for extending pneumatic!
(2012-03-14 15:06)ckergald Wrote:  Not sure if your aware but there is also a &extended=1 which will return extended info like

Code:
<newznab:attr name="category" value="5000" />
    <newznab:attr name="category" value="5040" />
    <newznab:attr name="size" value="827748438" />
    <newznab:attr name="guid" value="407381fe6541c69952031db6cb708f21" />
    <newznab:attr name="files" value="26" />
    <newznab:attr name="poster" value="teevee@4u.tv (teevee)" />
    <newznab:attr name="season" value="S01" />
    <newznab:attr name="episode" value="E17" />
    <newznab:attr name="rageid" value="28416" />
    <newznab:attr name="tvtitle" value="And the Kosher Cupcakes" />
    <newznab:attr name="tvairdate" value="Mon, 20 Feb 2012 00:00:00 -0500" />

    <newznab:attr name="grabs" value="0" />
    <newznab:attr name="comments" value="0" />
    <newznab:attr name="password" value="0" />
    <newznab:attr name="usenetdate" value="Mon, 20 Feb 2012 20:59:20 -0500" />
    <newznab:attr name="group" value="alt.binaries.multimedia" />

With this you could list seasons and episodes in the correct order, maybee add some additional info like HD or SD, etc.

I grab this info already, but thanks for helping out.
I only get a 100 a time, meaning multiple fetches and then sorting. So why not cache it to a db?
(2012-03-14 17:05)dr99 Wrote:  Would it be possible to let your plugin scan a folder of nzbs created by sickbeard and output strm files to the library that link back to the local nzbs? That would eliminate the need to create a database and let sickbeard do all the work since it is so good at what it does. The only problem I could think of would be your plugin knowing which folder to put the stream files into in the library.

Linking back to a local folder makes the strm files easy to render useless. My Idea is to have a optional backup folder (like the one for SAB) where pneumatic can check for a local cache instead of executing the strm url, sounds ok?
The problem with scanning is that I lack all kinds of meta data. Today, the strm files are ordered into show folders based on the rage Id name. This is nothing sickbeard provides...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
(This post was last modified: 2012-03-14 23:56 by Popeye.)
find quote
atmorell Offline
Member
Posts: 64
Joined: Jan 2012
Reputation: 0
Post: #874
Hello,

I have been thinking a lot about how Pneumatic could be integrated with a system like the public IMDB watchlists. Have tried to find a RSS or XML feed, but can't find anything - private watchlist has RSS feed though. CouchPotatoServer can crawl public IMDB watchlist and is also written in Python. Maybe we could check how they do it?

Here is two mockups I made to illustrate how this could work Smile

[Image: Untitled%2016_03_12%20-%20Page%201-1.png]

[Image: Untitled%2016_03_12%20-%20Page%201.png]


What do you think?
(This post was last modified: 2012-03-16 15:17 by atmorell.)
find quote
akuiraz Offline
Member
Posts: 75
Joined: Apr 2010
Reputation: 0
Post: #875
As for scraping info from TVRage to make .nfo's for the local .nzb's you could look into how the tvrage addon for xbmc works... it's got a tvrage api .py file setup for accessing all info available from tvrage. you could use this to lookup nzb's by tv show name or tvrage id.... also TV Show Next Aired (Script) Addon uses most of the same methods to get the info from tvrage.

TV Show Next Aired (Script) Addon:
http://forum.xbmc.org/showthread.php?tid=79493
http://code.google.com/p/ronie/

TVRage-Eps Addon:
http://forum.xbmc.org/showthread.php?tid=82174
http://code.google.com/p/tvrage-eps/

[Image: widget]
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #876
atmorell , excellent ideas!

But... At least I want to keep Pneumatic as a core engine and don't get it to specified for a specific task like this whole idea.
However, for a standalone addon/server your idea is great (maybe this was you intention?). I have looked but not found a addon for browsing Imdb (!) and its trailers...

After you previous posts I have looked into an api for IMDB and all I could find was a hacked for the iphone, not working anymore. Looking at themoviedb api I got exited. Here you have all the options you could ever imagine for searching/listing. This in an addon format, you could create favorite searches like romantic + action + 1980 ?? . A watchlist or list from Imdb could of course be used for fetching info from themoviedb.
The next step would be the recursive search for hits. Here is where I think a db and a server solution could make things persistent and not requiring all the logic in the addon or at least manageable from more than one place. The more I write, the more a extended newznab API is what is needed...

(2012-03-16 20:47)akuiraz Wrote:  As for scraping info from TVRage to make .nfo's for the local .nzb's you could look into how the tvrage addon for xbmc works... it's got a tvrage api .py file setup for accessing all info available from tvrage. you could use this to lookup nzb's by tv show name or tvrage id.... also TV Show Next Aired (Script) Addon uses most of the same methods to get the info from tvrage.

TV Show Next Aired (Script) Addon:
http://forum.xbmc.org/showthread.php?tid=79493
http://code.google.com/p/ronie/

TVRage-Eps Addon:
http://forum.xbmc.org/showthread.php?tid=82174
http://code.google.com/p/tvrage-eps/

Thanks. Actually there are so many tools trying to accomplish the same things. Sickbeard, Couchpotato and the newznab sites have already done the scraping and the xbmc scrapers are doing their part. If we could make these tools support outputting strm, nfo and nzb files things would be easy...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
(This post was last modified: 2012-03-17 00:47 by Popeye.)
find quote
Popeye Offline
Posting Freak
Posts: 879
Joined: Aug 2009
Reputation: 25
Location: Sweden
Post: #877
Newznab for Pneumatic and Eden
Beta 3 Possible to access +100 search results, rating fix

plugin.video.newznab

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
simon_rb Offline
Senior Member
Posts: 114
Joined: Nov 2011
Reputation: 1
Post: #878
Just looking at how far this addon has come..

Wonder if Popeye has anything special planned for its 1 year anniversary..... Huh
find quote
atmorell Offline
Member
Posts: 64
Joined: Jan 2012
Reputation: 0
Post: #879
(2012-03-16 21:04)Popeye Wrote:  atmorell , excellent ideas!

But... At least I want to keep Pneumatic as a core engine and don't get it to specified for a specific task like this whole idea.
However, for a standalone addon/server your idea is great (maybe this was you intention?). I have looked but not found a addon for browsing Imdb (!) and its trailers...

After you previous posts I have looked into an api for IMDB and all I could find was a hacked for the iphone, not working anymore. Looking at themoviedb api I got exited. Here you have all the options you could ever imagine for searching/listing. This in an addon format, you could create favorite searches like romantic + action + 1980 ?? . A watchlist or list from Imdb could of course be used for fetching info from themoviedb.
The next step would be the recursive search for hits. Here is where I think a db and a server solution could make things persistent and not requiring all the logic in the addon or at least manageable from more than one place. The more I write, the more a extended newznab API is what is needed...


I will fork xbmc-newznab and make an alternativ listing, so that you can browse like the screenshots above Smile Just took a quick look at the source and it does not look that complicated Smile Have worked with ruby for a few years as a hobby, but Python looks pretty similar. Stay tuned.
(This post was last modified: 2012-03-18 14:15 by atmorell.)
find quote
dr99 Offline
Member
Posts: 81
Joined: May 2011
Reputation: 0
Post: #880
When using newznab beta 3 with beta.nzbs.org the categories do not show up, but my cart and my shows work fine.
(This post was last modified: 2012-03-18 17:46 by dr99.)
find quote
Post Reply