Kodi Community Forum

Full Version: [RELEASE] Pneumatic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having problems playing incomplete NZB while downloading. It has worked before but since a couple week, it doesn't work very well.

Here is the log:

http://pastebin.com/FwAczufq


Can someone show me what's wrong and what I can do to resolve this?

Thanks
is this also compatible with NZBGet instead of Sabnzbd? If so, how can I enable it?
(2014-01-21, 12:18)freem@n Wrote: [ -> ]is this also compatible with NZBGet instead of Sabnzbd? If so, how can I enable it?

Sorry, no.
is this a limitation of NZBget or is it just not implemented in Pneumatic ?
(2014-01-18, 08:19)thedeamon Wrote: [ -> ]I'm having problems playing incomplete NZB while downloading. It has worked before but since a couple week, it doesn't work very well.

Here is the log:

http://pastebin.com/FwAczufq


Can someone show me what's wrong and what I can do to resolve this?

Thanks

It looks like the fake rars are not created correctly,

Code:
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: delete filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
The second part of the filename is missing. I don't know why but I suspect a faulty regexp..

(2014-01-21, 14:02)freem@n Wrote: [ -> ]is this a limitation of NZBget or is it just not implemented in Pneumatic ?

It "just" not implemented in pneumatic. Quite a lot of work and nothing I will spend time on, sorry.
(2014-01-21, 14:07)Popeye Wrote: [ -> ]It "just" not implemented in pneumatic. Quite a lot of work and nothing I will spend time on, sorry.

sorry about my choice of words. I understand that, thanks for your answer Smile
(2014-01-21, 14:07)Popeye Wrote: [ -> ]It looks like the fake rars are not created correctly,

Code:
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: delete filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
The second part of the filename is missing. I don't know why but I suspect a faulty regexp..


It happens really often, so it's the releases that are bad ?
Hey Popeye, thanks for this. Couple of q.
1. Is this supported on IOS.
2. Can nzbclub be included or is it only newsnab sites.
3. When I get the message "Still Downloading, what do you want to do ?". Is that an indication that the bandwidth is not enough. There isn't an option for me to continue to wait.
(2014-01-22, 04:08)thedeamon Wrote: [ -> ]
(2014-01-21, 14:07)Popeye Wrote: [ -> ]It looks like the fake rars are not created correctly,

Code:
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: delete filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
The second part of the filename is missing. I don't know why but I suspect a faulty regexp..


It happens really often, so it's the releases that are bad ?

Could you double check ? I see in my incomplete folder that all the fake rar are created so I don't think it fails on that part.

It always brings me to the Delete or Just Download option

And when the download is finished and all the files are there, it brings me to delete or repair option.... if I try manually to unrar, it works so it's not corruption.
(2014-01-24, 05:49)thedeamon Wrote: [ -> ]
(2014-01-22, 04:08)thedeamon Wrote: [ -> ]
(2014-01-21, 14:07)Popeye Wrote: [ -> ]It looks like the fake rars are not created correctly,

Code:
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: delete filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
01:16:55 T:2925001536   DEBUG: plugin.program.pneumatic: write_fake: write filename: /home/atv/incomplete/True.Detective.S01E01.720p.HDTV.x264-XXX/true.detective.s01
The second part of the filename is missing. I don't know why but I suspect a faulty regexp..


It happens really often, so it's the releases that are bad ?

Could you double check ? I see in my incomplete folder that all the fake rar are created so I don't think it fails on that part.

It always brings me to the Delete or Just Download option

And when the download is finished and all the files are there, it brings me to delete or repair option.... if I try manually to unrar, it works so it's not corruption.

Forget this, I ended up uninstalling and reinstalling Pneumatic and now it works. Thanks!
Hi there Popeye, I've been using (and loving) Pneumatic for a while but I'm having two serious issues:

1) it successfully sends the nzb to sab and the download starts, but after a few seconds it says 'this item is missing from the queue' (it actually isn't). Closing xbmc, restarting it and trying to play the same file again works (as in it finds the item in the queue and starts streaming when ready). I'm having to do this dance (open xbmc, start download, restart xbmc, retry playing) every time.

2) A workaround for 1) would be Cancel the stream with the 'Just download' option, however this turns xbmc unresponsive, requiring that it be force closed. The same happens with 'delete job', which additionally doesn't remove the item from the queue.

The only seemingly relevant info that I've found in the log is:

Code:
18:04:01 T:4284   ERROR: XBPyThread::stop - script C:\Users\for4saken\AppData\Roaming\XBMC\addons\plugin.program.pneumatic\default.py didn't stop in 5 seconds - let's kill it
18:04:01 T:4656   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: Nzo instance has no attribute 'is_in_queue'
Traceback (most recent call last):
File "C:\Users\for4saken\AppData\Roaming\XBMC\addons\plugin.program.pneumatic\default.py", line 956, in <module>
pre_play(nzbname, mode=MODE_STRM, nzo=sab_nzo_id)
File "C:\Users\for4saken\AppData\Roaming\XBMC\addons\plugin.program.pneumatic\default.py", line 307, in pre_play
iscanceled = get_nzf(folder, sab_nzo_id, nzf)
File "C:\Users\for4saken\AppData\Roaming\XBMC\addons\plugin.program.pneumatic\default.py", line 415, in get_nzf
return wait_for_nzf(folder, sab_nzo_id, nzf)
File "C:\Users\for4saken\AppData\Roaming\XBMC\addons\plugin.program.pneumatic\default.py", line 447, in wait_for_nzf
percent, label = utils.wait_for_rar_label(nzo, m_nzf, time_now)
File "C:\Users\for4saken\AppData\Roaming\XBMC\addons\plugin.program.pneumatic\utils.py", line 359, in wait_for_rar_label
if nzo.is_in_queue:
AttributeError: Nzo instance has no attribute 'is_in_queue'
-->End of Python script error report<--


Thanks for the attention.
All I can think of is some sort of naming mismatch between the strm, the nzb and SAB causing pneumatic not to find the nzb in the SAB queue...
Hey Popeye, love the addon. Great work.

I was wondering if it would be possible to support passworded rars? I've been contemplating archiving some of my media on usenet for a while, but I want them to be password protected.

I've tried using SABs password options "My Job {{PW}}.nzb" or "My Job password=PW.nzb" &/or a "passwords.txt" without any luck.

Am I wrong in believing that Pneumatic handles the unpacking, so this is something that would have to be configured within Pneumatic?

Thanks again,
-Vlad
Vlad, pneumatic doesn't do any unpacking, except some rar file inspection to find the rar file contents. I'm using this lib https://github.com/markokr/rarfile and apparently it supports passwordprotected rars. You can modify pneumatic by adding a call to setpassword https://github.com/TsUPeR/xbmc-pneumatic...le.py#L473 in line https://github.com/TsUPeR/xbmc-pneumatic...ls.py#L210 . Just add a new line with rf.setpassword('mySecret') and try it with one of your uploads.
P.S. make sure you can extract as normal using a pre set password in SAB.
Using XBMC 12.3 on Win7, I cant open 3D movies with Pneumatic, getting the error:

Script-error!: plugin.program.pneumatic

Doesnt Pneumatic support 3D?