[RELEASE] Pneumatic

  Thread Rating:
  • 9 Votes - 4.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dr99 Offline
Member
Posts: 83
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: 87
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: 930
Joined: Aug 2009
Reputation: 26
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: 78
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: 930
Joined: Aug 2009
Reputation: 26
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: 930
Joined: Aug 2009
Reputation: 26
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: 120
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: 83
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
Popeye Offline
Posting Freak
Posts: 930
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #881
(2012-03-18 14:15)atmorell Wrote:  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.

Looking forward to see your work. Don't hesitate with questions or if you need more api's etc...

(2012-03-18 17:36)dr99 Wrote:  When using newznab beta 3 with beta.nzbs.org the categories do not show up, but my cart and my shows work fine.

Just had a look and it seems as if they added "my cart" to their api but closed the open api I'm using for listing the site caps (the listing is dynamic and not hard coded by me). It's an easy fix so hang on for a day or two...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
Popeye Offline
Posting Freak
Posts: 930
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #882
Release - Newznab for Pneumatic and Eden
Beta 4 Apikey required for site caps (thanks dr99), Browse local NZBs in Pneumatic

plugin.video.newznab


PS, there is a fix for .mp4 in Pneumatic master branch. Working on speed info before next beta

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
(This post was last modified: 2012-03-19 00:32 by Popeye.)
find quote
atmorell Offline
Member
Posts: 64
Joined: Jan 2012
Reputation: 0
Post: #883
Found two bugs.

Nothing happens when I press enter on one of the local NZB files.
http://pastebin.com/nezgk446

There seems to be a problem with loading directories randomly. Interface will just hang forever with "Loading directory"
http://pastebin.com/Gkfe0mQf
find quote
Popeye Offline
Posting Freak
Posts: 930
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #884
(2012-03-19 14:48)atmorell Wrote:  Found two bugs.

Nothing happens when I press enter on one of the local NZB files.
http://pastebin.com/nezgk446

There seems to be a problem with loading directories randomly. Interface will just hang forever with "Loading directory"
http://pastebin.com/Gkfe0mQf

I doesn't happen for me. What OS? I had some issues under win7 when selecting just C: as the source. Selecting my own user, as root for the local nzb's solved the issue. I suspect a bug in the XBMC progress dialog handling that is causing the hang...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
wireman99 Offline
Junior Member
Posts: 7
Joined: Mar 2012
Reputation: 0
Post: #885
Hey Popeye, really enjoying your plugins but I am encountering a error that I haven't seen posted before.

I'm running Win 7 64, Eden RC2, current build of pneumatic, newznab beta 3 and current build of nzbmatrix plugin.

The problem I'm encountering is when trying to stream certain episodes the request is sent to sabnzbd. Shortly followed by the error "failed to play" and then the error message "no rars in nzb". This occurs whether I attempt to directly launch the stream from within the newznab or nzbmatrix plugins or I use the plugins to create strm files for the episodes and then attempt to launch from the library. Yet if I go to sabnzbd the request was successful and sab is downloading the files. Also get the same error if I go the incomplete folder route and try to launch even though they are showing up in the list.

I've allowed sab to finish the download to assure that the nzb wasn't damaged or the files incomplete and in all cases sab was successful in downloading and extracting the file. Also can use a external downloader and stream using MPC-HC.

Two specific episodes are in the log file beyond that I'm not sure what additional information you need to recreate the error.

Thanks for a great addon.

http://pastebin.com/TkRjwtb3
find quote
Post Reply