[RELEASE] Pneumatic

  Thread Rating:
  • 9 Votes - 4.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
geewizz Offline
Junior Member
Posts: 9
Joined: Apr 2013
Reputation: 0
Post: #1561
I am now facing two issues:

1. Is there a way for Pneumatic to find out if the nzb has missing articles in it? And get a response from SAB, then not play the file? Is this a feature request in SAB or Pneumatic, or is it possible today?
2. When I start a .strm file in XBMC and I try to "Cancel" while it's downloading the 2 rar's it needs to start up, XBMC freezes. Is anyone else facing this issue, or have a solution to the problem?

Thanks!
find quote
jus7incase Offline
Junior Member
Posts: 19
Joined: Nov 2012
Reputation: 0
Post: #1562
The problems I described have the following root cause: I mapped addon userdata to a NAS. Some scripts just don't handle this properly. As I mentioned below already.
When I didn't subsitute the path of addon userdata anymore, pneumatic worked like a charm.

It would be great if pneumatic could be fixed to respect path substitutions properly.

Thanks for your consideration.

(2013-05-22 11:55)jus7incase Wrote:  Hi there,

getting Pneumatic, newznab and nzbtv to run seems to be not too easy. Is there a good tutorial somewhere?

Let me try to describe what isn't working properly here:

Running XBMC 12.2, OE 3.0.3 (fully works)
Running SABNZBD 0.7.11 on an unRAID array (fully works)

nzbtv
====

When I start nzbtv it gives me: Script failed!

Settings:

<settings>
<setting id="cache_time" value="24" />
<setting id="enable_local_channels" value="false" />
<setting id="local_channels" value="" />
<setting id="newznab_site" value="1" />
<setting id="remote_channels" value="https://github.com/ckergald/Releases/raw/master/channels.xml" />
</settings>

This is what I find in xbmc.log:

12:28:23 T:2721221440 NOTICE: Thread XBPyThread start, auto delete: false
12:28:23 T:2721221440 NOTICE: -->Python Interpreter Initialized<--
12:28:23 T:2721221440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.video.nzbtv/channel')
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.nzbtv/default.py", line 48, in <module>
TV = tv.Tv(USERDATA_PATH, REMOTE, LOCAL, CACHE_TIME)
File "/storage/.xbmc/addons/plugin.video.nzbtv/tv.py", line 37, in __init__
channel_cache = DictCache(self.path, 'channel')
File "/storage/.xbmc/addons/plugin.video.nzbtv/tv.py", line 135, in __init__
pickle.dump( dict(), open( self.cache_path, "wb" ) )
IOError: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.video.nzbtv/channel')
-->End of Python script error report<--
12:28:23 T:3015149312 ERROR: GetDirectory - Error getting plugin://plugin.video.nzbtv
12:28:23 T:3015149312 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nzbtv) failed
12:28:23 T:3015149312 ERROR: Control 50 in window 10025 has been asked to focus, but it can't

newznab
=======

It gives me a list of the 5 sites I have configured (see below, I have deleted the RSS IDs and keys). When I select a site it gives me "Script failed!" (see xbmc.log below)

<settings>
<setting id="cache_time" value="60" />
<setting id="firstrun" value="1" />
<setting id="newznab_hide_cat_1" value="6030|6020" />
<setting id="newznab_hide_cat_2" value="6030|6020" />
<setting id="newznab_hide_cat_3" value="6030|6020" />
<setting id="newznab_hide_cat_4" value="6030|6020" />
<setting id="newznab_hide_cat_5" value="6030|6020" />
<setting id="newznab_id_1" value="...deleted for security reasons" />
<setting id="newznab_id_2" value="...deleted for security reasons" />
<setting id="newznab_id_3" value="" />
<setting id="newznab_id_4" value="" />
<setting id="newznab_id_5" value="" />
<setting id="newznab_key_1" value="...deleted for security reasons" />
<setting id="newznab_key_2" value="..." />
<setting id="newznab_key_3" value="" />
<setting id="newznab_key_4" value="" />
<setting id="newznab_key_5" value="" />
<setting id="newznab_name_1" value="NZBs.in" />
<setting id="newznab_name_2" value="NZB Sooti" />
<setting id="newznab_name_3" value="" />
<setting id="newznab_name_4" value="" />
<setting id="newznab_name_5" value="" />

Default values for all 5 sites:

<setting id="newznab_re_actors_1" value="&gt;Actors: (.*?)&lt;/" />
<setting id="newznab_re_director_1" value="&gt;Director: (.*?)&lt;/" />
<setting id="newznab_re_genre_1" value="&gt;Genre: (.*?)&lt;/" />
<setting id="newznab_re_plot_1" value="&gt;Plot: (.*?)&lt;/" />
<setting id="newznab_re_thumb_1" value="http://SITE_URL/covers/movies/\d*-cover.jpg" />
<setting id="newznab_re_year_1" value="&gt;Year: (.*?)&lt;/" />

...

<setting id="newznab_site_1" value="nzbs.in" />
<setting id="newznab_site_2" value="nzbsooti.com" />
<setting id="newznab_site_3" value="" />
<setting id="newznab_site_4" value="" />
<setting id="newznab_site_5" value="" />
</settings>

This is what I find in xbmc.log when I select a site:

12:23:12 T:2721221440 NOTICE: Thread XBPyThread start, auto delete: false
12:23:12 T:2721221440 NOTICE: -->Python Interpreter Initialized<--
12:23:12 T:2721221440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: Cache instance has no attribute 'path'
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 555, in <module>
newznab(get("index"))
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 153, in newznab
table = site_caps(index)
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 78, in site_caps
doc, state = load_xml(url)
File "/storage/.xbmc/addons/plugin.video.newznab/default.py", line 451, in load_xml
return CACHE.fetch(url)
File "/storage/.xbmc/addons/plugin.video.newznab/cache.py", line 44, in fetch
url = Url(url_in, self.path, self.seconds)
AttributeError: Cache instance has no attribute 'path'
-->End of Python script error report<--
12:23:12 T:3015149312 ERROR: GetDirectory - Error getting plugin://plugin.video.newznab/?index=1&mode=index
12:23:12 T:3015149312 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.newznab/?index=1&mode=index) failed
12:23:12 T:2721221440 NOTICE: Thread XBPyThread start, auto delete: false
12:23:12 T:2721221440 NOTICE: -->Python Interpreter Initialized<--
12:23:13 T:2754825024 NOTICE: Thread Background Loader start, auto delete: false

pneumatic
========

Keeps telling me it can't write to the incomplete folder. This is strange because I exported the enclosing folder as r/w and XBMC uses a user that may access the folder as r/w (see setting below).

However, when I use on the xbmc box:
mount -t cifs -o username=media,password=mysecretpw,rw //10.0.1.7/download /tmp/dl
Then pneumatic does not complain any more about incomplete not being r/w.
I find this rather ugly and would hope that Pneumatic supports network shares from the mediasources.xml.

When selecting an nzb from incomplete it get the following

13:07:57 T:2814372672 NOTICE: Thread XBPyThread start, auto delete: false
13:07:57 T:2814372672 NOTICE: -->Python Interpreter Initialized<--
13:07:58 T:2814372672 NOTICE: plugin.program.pneumatic: v0.3.1 started
13:08:01 T:2745162560 NOTICE: Thread Background Loader start, auto delete: false
13:08:03 T:2814372672 NOTICE: Previous line repeats 4 times.
13:08:03 T:2814372672 NOTICE: Thread XBPyThread start, auto delete: false
13:08:03 T:2814372672 NOTICE: -->Python Interpreter Initialized<--
13:08:03 T:2814372672 NOTICE: plugin.program.pneumatic: v0.3.1 started
13:08:03 T:2814372672 ERROR: Delete - Error( No such file or directory )
13:08:03 T:2814372672 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.program.pneumatic/temp.rar')
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 948, in <module>
list_incomplete(params)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 495, in list_incomplete
pre_play(nzbname, mode=MODE_INCOMPLETE_LIST, nzo=sab_nzo_id)
File "/storage/.xbmc/addons/plugin.program.pneumatic/default.py", line 313, in pre_play
in_rar_file_list = utils.rar_filenames(folder, nzf.filename)
File "/storage/.xbmc/addons/plugin.program.pneumatic/utils.py", line 216, in rar_filenames
fd_out = open(temp_path,'wb')
IOError: (2, 'No such file or directory', '/storage/.xbmc/userdata/addon_data/plugin.program.pneumatic/temp.rar')
-->End of Python script error report<--
13:08:04 T:3015161600 ERROR: GetDirectory - Error getting plugin://plugin.program.pneumatic/?folder=mynzbfile.avi&mode=incomplete_list&nzbname=mynzbfile.avi&nzoid=SABnzbd_nzo_r9dg4x&nzoidhistory_list
13:08:04 T:3015161600 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.pneumatic/?folder=mynzbfile.avi&mode=incomplete_list&nzbname=mynzbfile.avi&nzoid=SABnzbd_nzo_r9dg4x&nzoidhistory_list) failed
13:08:04 T:2805979968 NOTICE: Thread Background Loader start, auto delete: false

Note the the is a path /storage/.xbmc/userdata/addon_data/plugin.program.pneumatic/temp.rar
Since I have mapped my addon data to a NAS share this path doesn't look too good.
It would be good to use instead:
special://profile/addon_data/plugin.program.pneumatic/temp.rar

This way it will use temp.rar on the NAS, too.

Thanks for caring,
JC
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #1563
Wait a second, you are using a old version of pneumatic. Line 216 in utils.py does not look like that since a long time ago..

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
redsoxboi21 Offline
Member
Posts: 84
Joined: Nov 2011
Reputation: 0
Post: #1564
EDIT: I fixed pneumatic and now that works good. But I tried to configure the Newznab plugin with Usenet-Crawler and the script fails after I try to open it. I am on Windows 7 running XBMC 12.2... Please help!!
(This post was last modified: 2013-07-09 06:50 by redsoxboi21.)
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #1565
(2013-07-08 21:39)redsoxboi21 Wrote:  EDIT: I fixed pneumatic and now that works good. But I tried to configure the Newznab plugin with Usenet-Crawler and the script fails after I try to open it. I am on Windows 7 running XBMC 12.2... Please help!!

Edit: It's not a newznab api compatible site afaik. The url is probably entered wrong.

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
(This post was last modified: 2013-07-09 09:45 by Popeye.)
find quote
redsoxboi21 Offline
Member
Posts: 84
Joined: Nov 2011
Reputation: 0
Post: #1566
(2013-07-09 09:38)Popeye Wrote:  
(2013-07-08 21:39)redsoxboi21 Wrote:  EDIT: I fixed pneumatic and now that works good. But I tried to configure the Newznab plugin with Usenet-Crawler and the script fails after I try to open it. I am on Windows 7 running XBMC 12.2... Please help!!

Edit: It's not a newznab api compatible site afaik. The url is probably entered wrong.

Yes, it works now! Thank you! Now I have it working on my computer. But for some reason doing the exact same thing in my iPad gives the plugin an error where it will open but it does not show content. It says malformed result... Any fix for this?
(This post was last modified: 2013-07-11 00:51 by redsoxboi21.)
find quote
cirkator Offline
Member
Posts: 61
Joined: Apr 2012
Reputation: 0
Post: #1567
I guess this has been asked before, and i apologise in advance, but it is very difficult to search for this exact wording.

Is it technically difficult to implement that not only .rar files, but .01, .02, .xx files are also working in Pneumatic?
There are more and more releases that have this kind of naming convention, but they are .rar files and can be extracted just fine.
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #1568
(2013-07-19 15:36)cirkator Wrote:  I guess this has been asked before, and i apologise in advance, but it is very difficult to search for this exact wording.

Is it technically difficult to implement that not only .rar files, but .01, .02, .xx files are also working in Pneumatic?
There are more and more releases that have this kind of naming convention, but they are .rar files and can be extracted just fine.

I don't quite follow. The support for various rar naming schemes has been there for a long time. PM some examples and I can have a look at it.

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
cirkator Offline
Member
Posts: 61
Joined: Apr 2012
Reputation: 0
Post: #1569
Will do that in the next days. I tried with some 00,.01 files and Pneumatic wrote "No playable file" or something like this.
After it downloaded and extracted, it played fine.

Sorry for the inaccurate description, I am not at home right now.


EDIT: Just sent you a pm
(This post was last modified: 2013-07-21 10:28 by cirkator.)
find quote
tranceology3 Offline
Member
Posts: 54
Joined: Sep 2007
Reputation: 0
Post: #1570
Great plugin! Got it to work and was very impressed. After playing around with it I started thinking of how well this would work if I could just download a bunch of tv shows one by one and queue them into sabnzb, and not stream them for instant watching. Is there a way to do this? Or another plugin that does that? What I am after is a way to browse through the huge list of TV shows within each TV channel and send it to sab in my TV show category and just download the NZB regularly, then have it post process into my tv show folder with the cleaned up name, etc. Ultimately I would like to be able to select a TV show and add it to sickbeard directly through xbmc, and have the ability to choose which episodes to download from each season. I think that would be a great feature, if Newznab/NZBtv could talk to sickbead. The only problem I have right now, which I know is not a problem with the plugin, is that my internet speed slows down in the evening, so waiting for a show to stream 720P takes a good 10-15mins. I would rather just go through and select multiple episodes and make a list of shows to watch for the next days. And I know I can do this from my PC and just queue up a list, but that browsing feature, from xbmc on my TV is just so much more convenient, and plus it's easy for my gf, all she has to do is go through and select shows she likes, without getting technical on the PC. Is there any other plugin that allows to browse the shows and add to sabnzb, or sickbeard? Thanks in advance
find quote
hatemjadi Offline
Junior Member
Posts: 1
Joined: Jul 2013
Reputation: 0
Post: #1571
Is it currently possible to seamlessly integrate NZBs to play from XBMC's media center but also to bitstream in TrueHD, or DTS-HD formats?
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #1572
(2013-07-21 12:17)tranceology3 Wrote:  Great plugin! Got it to work and was very impressed. After playing around with it I started thinking of how well this would work if I could just download a bunch of tv shows one by one and queue them into sabnzb, and not stream them for instant watching. Is there a way to do this? Or another plugin that does that? What I am after is a way to browse through the huge list of TV shows within each TV channel and send it to sab in my TV show category and just download the NZB regularly, then have it post process into my tv show folder with the cleaned up name, etc. Ultimately I would like to be able to select a TV show and add it to sickbeard directly through xbmc, and have the ability to choose which episodes to download from each season. I think that would be a great feature, if Newznab/NZBtv could talk to sickbead. The only problem I have right now, which I know is not a problem with the plugin, is that my internet speed slows down in the evening, so waiting for a show to stream 720P takes a good 10-15mins. I would rather just go through and select multiple episodes and make a list of shows to watch for the next days. And I know I can do this from my PC and just queue up a list, but that browsing feature, from xbmc on my TV is just so much more convenient, and plus it's easy for my gf, all she has to do is go through and select shows she likes, without getting technical on the PC. Is there any other plugin that allows to browse the shows and add to sabnzb, or sickbeard? Thanks in advance

You allways have the option to context menu select (right click) "download" in Newznab...

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
mklcf Offline
Junior Member
Posts: 21
Joined: Mar 2010
Reputation: 0
Post: #1573
Best add-on EVER!

Unfortunately it doesn't work with the one indexer I have a paid account on (NZB GEEK)
Tried a few more and finally found one that works: NZBID.org

I thought that maybe we could get a list going of indexers that will work?
(This post was last modified: 2013-07-28 13:27 by mklcf.)
find quote
Popeye Offline
Posting Freak
Posts: 922
Joined: Aug 2009
Reputation: 26
Location: Sweden
Post: #1574
(2013-07-28 13:26)mklcf Wrote:  Best add-on EVER!

Unfortunately it doesn't work with the one indexer I have a paid account on (NZB GEEK)
Tried a few more and finally found one that works: NZBID.org

I thought that maybe we could get a list going of indexers that will work?

Big Grin
Well, I have made the Newznab addon that could be used as an example of how to make your own index addon. I googled and found a summary of indexers.

sverigesradio | Pneumatic | SABnzbd | XBMC that just works - openelec
find quote
hasamba Offline
Member
Posts: 60
Joined: Sep 2012
Reputation: 0
Post: #1575
im sorry to ask that again but im searching this thread for an hour, seen alot of people having this problem but didnt see a solution and if there is, please post it in the 1st thread, no one can read 158 pages!

so, im in love with newznab and nzbtv addons,
i tried different nzb sites and suddenly i stopped getting results and instead im getting malformed result,
i thought its beacuse of the api limit so i donated to the site (oznzb)
but still, i cannot get any result Sad
nzbtv is working good with oznzb
in the log i can see nothing except :

Code:
09:11:33 T:50212   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.newznab/?index=1&mode=index
09:11:33 T:50212   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.newznab/?index=1&mode=index) failed

i enabled debug log on sabnzb and pneumatic plugins but still....

oznzb uses https all the time, can that be the problem?

will love to get a solution, thanks for those AMAZING plugins

[EDIT]
now i have configured 5 indexers:
Code:
<setting id="newznab_site_1" value="oznzb.com" />
    <setting id="newznab_site_2" value="www.usenet-crawler.com/" />
    <setting id="newznab_site_3" value="indexer.nzbgrab.it" />
    <setting id="newznab_site_4" value="nzbplanet.net" />
    <setting id="newznab_site_5" value="nzbid.org/" />

only nzbid.org can show me releases, all other just show categories and then "malformed result"


[EDIT2]
for testing i created a new file and tried 4 more indexers as followed:
Code:
<setting id="newznab_site_2" value="nzbzombie.com" />
    <setting id="newznab_site_3" value="www.nzbndx.com" />
    <setting id="newznab_site_4" value="newztown.co.za/" />
    <setting id="newznab_site_5" value="newzb.co/" />

all 4 gave same error.

it seems like something has changed with the indexers and the plugin haven't been updated...
(This post was last modified: 2013-08-03 11:30 by hasamba.)
find quote
Post Reply