Kodi Community Forum
[RELEASE] Pneumatic - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Pneumatic (/showthread.php?tid=97657)



RE: [RELEASE] Pneumatic - simon_rb - 2012-06-10

Hi everybody

I use xbmc commander on my iPhone and iPad, however in newznab the keyboard doesn't work. In fact if a search box comes up the app appears to be ignored. When the search window is closed it all works again.

I was just wondering if anybody else has had this issue...

Cheers


RE: [RELEASE] Pneumatic - Popeye - 2012-06-10

(2012-06-10, 01:44)simon_rb Wrote: Hi everybody

I use xbmc commander on my iPhone and iPad, however in newznab the keyboard doesn't work. In fact if a search box comes up the app appears to be ignored. When the search window is closed it all works again.

I was just wondering if anybody else has had this issue...

Cheers

Is this for just this addon or will the same happen in i.e. the youtube addon?
There is a xbmc setting for the remote to output keyboard keys, will thet help?



RE: [RELEASE] Pneumatic - simon_rb - 2012-06-11

(2012-06-10, 22:51)Popeye Wrote: Is this for just this addon or will the same happen in i.e. the youtube addon?
There is a xbmc setting for the remote to output keyboard keys, will thet help?

Hi Popeye,

I haven't used the YouTube app however the other apps such as 1Channel work fine with the keyboard inside the xbmc commander app. I have also tried different iPad/iPhone apps and none work with newznab. Strange eh

Cheers



RE: [RELEASE] Pneumatic - Popeye - 2012-06-11

(2012-06-11, 02:05)simon_rb Wrote:
(2012-06-10, 22:51)Popeye Wrote: Is this for just this addon or will the same happen in i.e. the youtube addon?
There is a xbmc setting for the remote to output keyboard keys, will thet help?

Hi Popeye,

I haven't used the YouTube app however the other apps such as 1Channel work fine with the keyboard inside the xbmc commander app. I have also tried different iPad/iPhone apps and none work with newznab. Strange eh

Cheers

Strange. I have looked at the code and they look very similar and nothing pointing to why it shouldnt work..


RE: [RELEASE] Pneumatic - simon_rb - 2012-06-11

(2012-06-11, 13:46)Popeye Wrote:
(2012-06-11, 02:05)simon_rb Wrote:
(2012-06-10, 22:51)Popeye Wrote: Is this for just this addon or will the same happen in i.e. the youtube addon?
There is a xbmc setting for the remote to output keyboard keys, will thet help?

Hi Popeye,

I haven't used the YouTube app however the other apps such as 1Channel work fine with the keyboard inside the xbmc commander app. I have also tried different iPad/iPhone apps and none work with newznab. Strange eh

Cheers

Strange. I have looked at the code and they look very similar and nothing pointing to why it shouldnt work..

Does anybody else use an app to control xbmc?
The app appears to lose connection until the search box has disappeared. So you can't even scroll along and use the keyboard on the screen.

Never mind eh lol

Cheers



RE: [RELEASE] Pneumatic - atmorell - 2012-06-12

I am using a bluetooth keyboard to search for titles etc. When I only to navigate with the arrows and start playback I am using my TV remote. You will need a CEC USB adapter between XBMC and your TV for this to work (HDMI) http://www.pulse-eight.com/store/products/104-usb-hdmi-cec-adapter.aspx


RE: [RELEASE] Pneumatic - Popeye - 2012-06-12

(2012-06-11, 23:01)simon_rb Wrote: Does anybody else use an app to control xbmc?
The app appears to lose connection until the search box has disappeared. So you can't even scroll along and use the keyboard on the screen.

Never mind eh lol

Cheers

I've used the android app without any issues. I dont remember exactly but I ticked a setting in xbmc about the remote outputting keyboard commands, that solve my issues with the search box after upgrading to openelec 2.0 beta..


RE: [RELEASE] Pneumatic - simon_rb - 2012-06-13

(2012-06-12, 17:09)Popeye Wrote: I've used the android app without any issues. I dont remember exactly but I ticked a setting in xbmc about the remote outputting keyboard commands, that solve my issues with the search box after upgrading to openelec 2.0 beta..

Hi,

I'll give that a go. Strange though as 1Channel works with the current settings

Cheers




RE: [RELEASE] Pneumatic - alienbug - 2012-06-24

Hey Popeye, thank you for Pneumatic, it's an amazing add-on.

I use it with the Nzbmatrix extension by iDude, and in a lot of occasions it works as intended.

More often than not though, I keep getting an error message, when Pneumatic tries to send commands to SABnzbd, and also when the add-on tries to stream the movie.

I try downloading and streaming a movie from Nzbmatrix. The first two commands succeeds, but then it fails on the third with this message:
Quote:SABnzbd failed moving file to top of queue
Looking in the log, it gives me this message:
Quote:NOTICE: plugin.program.pneumatic: unable to load url: http://127.0.0.1:9090/sabnzbd/nzb/SABnzbd_nzo_x05fns/bulk_operation?session=4defc37774dd63c43ca3a1ae1f65253f&action_key=Top&SABnzbd_nzf_walyjv=on
If i then copy/paste that URL into the browser, while the add-on is still runnning in the background in XBMC, the URL works as intended without errors, and moves the file to the top of the queue. Returning to XBMC, Pneumatic has noticed the move, and continues to try and stream the movie, but all I see is a black screen for one second, and then it asks me if I want to delete og download it. The log shows this:
Quote:15:51:07 T:2076 ERROR: XFILE::CPluginDirectory::SetContent called with an invalid handle.
15:51:07 T:6576 NOTICE: DVDPlayer: Opening: rar://D%3A%5CDownloads%5CTemp%5CDaybreakers%202009%201080p%20BluRay%20DTS%20x264%20LEGi0N%5C240612_03_11_04%2erar/daybreakers.2009.1080p.bluray.dts.x264-legi0n.mkv
15:51:07 T:6576 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:51:07 T:3972 NOTICE: Creating InputStream
15:51:07 T:3972 ERROR: CDVDPlayer::OpenInputStream - error opening [rar://D%3A%5CDownloads%5CTemp%5CDaybreakers%202009%201080p%20BluRay%20DTS%20x264%20LEGi0N%5C240612_03_11_04%2erar/daybreakers.2009.1080p.bluray.dts.x264-legi0n.mkv]
15:51:07 T:3972 NOTICE: CDVDPlayer::OnExit()
15:51:07 T:3972 NOTICE: CDVDPlayer::OnExit() deleting input stream
15:51:07 T:6576 NOTICE: CDVDPlayer::CloseFile()
15:51:07 T:6576 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:51:07 T:6576 NOTICE: DVDPlayer: waiting for threads to exit
15:51:07 T:6576 NOTICE: DVDPlayer: finished waiting
15:51:07 T:2076 NOTICE: # Playback Stopped #


Complete log from start to finish:
Quote:15:49:46 T:2076 NOTICE: -->Python Interpreter Initialized<--
15:49:50 T:2076 NOTICE: plugin.program.pneumatic SABnzbd message: -1 0
15:49:50 T:2076 NOTICE: plugin.program.pneumatic SABnzbd from url: http://127.0.0.1:9090/api?apikey=4defc37774dd63c43ca3a1ae1f65253f&mode=switch&value=SABnzbd_nzo_x05fns&value2=0
15:50:06 T:2076 NOTICE: plugin.program.pneumatic SABnzbd message: -1 0
15:50:06 T:2076 NOTICE: plugin.program.pneumatic SABnzbd from url: http://127.0.0.1:9090/api?apikey=4defc37774dd63c43ca3a1ae1f65253f&mode=switch&value=SABnzbd_nzo_x05fns&value2=0
15:50:24 T:2076 NOTICE: plugin.program.pneumatic: unable to load url: http://127.0.0.1:9090/sabnzbd/nzb/SABnzbd_nzo_x05fns/bulk_operation?session=4defc37774dd63c43ca3a1ae1f65253f&action_key=Top&SABnzbd_nzf_walyjv=on
15:51:07 T:2076 ERROR: XFILE::CPluginDirectory::SetContent called with an invalid handle.
15:51:07 T:6576 NOTICE: DVDPlayer: Opening: rar://D%3A%5CDownloads%5CTemp%5CDaybreakers%202009%201080p%20BluRay%20DTS%20x264%20LEGi0N%5C240612_03_11_04%2erar/daybreakers.2009.1080p.bluray.dts.x264-legi0n.mkv
15:51:07 T:6576 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:51:07 T:3972 NOTICE: Creating InputStream
15:51:07 T:3972 ERROR: CDVDPlayer::OpenInputStream - error opening [rar://D%3A%5CDownloads%5CTemp%5CDaybreakers%202009%201080p%20BluRay%20DTS%20x264%20LEGi0N%5C240612_03_11_04%2erar/daybreakers.2009.1080p.bluray.dts.x264-legi0n.mkv]
15:51:07 T:3972 NOTICE: CDVDPlayer::OnExit()
15:51:07 T:3972 NOTICE: CDVDPlayer::OnExit() deleting input stream
15:51:07 T:6576 NOTICE: CDVDPlayer::CloseFile()
15:51:07 T:6576 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:51:07 T:6576 NOTICE: DVDPlayer: waiting for threads to exit
15:51:07 T:6576 NOTICE: DVDPlayer: finished waiting
15:51:07 T:2076 NOTICE: # Playback Stopped #

It's really frustrating, and I hope you can help. If you need more information, please let me know. Thank you Smile


RE: [RELEASE] Pneumatic - Popeye - 2012-06-26

I just checked the nzb you have in the example above. The rar archives are not in the r00-r99 range but have a next set starting with s00-sXX. I have no mechanisms for this (yet) and this could be a reason for the failing of playing. I'm off-line for a few weeks so I have no way of testing right now. Can you have a look If the error only occurs in the non "standard" archive set ups or just randomly?

Cheers!


RE: [RELEASE] Pneumatic - simon_rb - 2012-06-29

Quote:It's really frustrating, and I hope you can help. If you need more information, please let me know. Thank you Smile

Hi Popeye,

I Second that. It seems a lot of new release are like this. Once your back online I can let you know some of the releases that are doing it so you can recreate the error.

And I hope your keeping well and are having a better summer than we are over here!! Undecided

Cheers



RE: [RELEASE] Pneumatic - workshy - 2012-06-30

Well i found out what the problem was trying to run it on the Raspberrypi.

The video player on the RPi that uses the GPU is OMXPlayer but the addon by default uses DVDPlayer, which was too taxing on the RPi's CPU as the video would never start to play.

Changing this setting in default.py

xbmc.PLAYER_CORE_DVDPLAYER

to

xbmc.PLAYER_CORE_AUTO

i got it to work with Sabnzbd running on my Mac, as it now uses the OMXPlayer.

EDIT: This was using Openelec...Raspbmc struggles with x.264 files but Xvid play fine.


RE: [RELEASE] Pneumatic - Popeye - 2012-07-01

(2012-06-29, 00:19)simon_rb Wrote:
Quote:It's really frustrating, and I hope you can help. If you need more information, please let me know. Thank you Smile

Hi Popeye,

I Second that. It seems a lot of new release are like this. Once your back online I can let you know some of the releases that are doing it so you can recreate the error.

And I hope your keeping well and are having a better summer than we are over here!! Undecided

Cheers

Just had a quick look at the code. It could be fairly simple to fix though I cannot test it my self right now.
In pneumatics utils.py
Code:
...
RE_R_X = r'(\S*?\.r\d{2,3})'
...
RE_R = '\.r\d{2,3}$'
try changing this to
Code:
...
RE_R_X = r'(\S*?\.[rs]\d{2,3})'
...
RE_R = '\.[rs]\d{2,3}$'

(2012-06-30, 23:54)workshy Wrote: Well i found out what the problem was trying to run it on the Raspberrypi.

The video player on the RPi that uses the GPU is OMXPlayer but the addon by default uses DVDPlayer, which was too taxing on the RPi's CPU as the video would never start to play.

Changing this setting in default.py

xbmc.PLAYER_CORE_DVDPLAYER

to

xbmc.PLAYER_CORE_AUTO

i got it to work with Sabnzbd running on my Mac, as it now uses the OMXPlayer.

EDIT: This was using Openelec...Raspbmc struggles with x.264 files but Xvid play fine.

I can change to AUTO, I guess I just copy pasted from some example code... Big Grin


RE: [RELEASE] Pneumatic - simon_rb - 2012-07-01

[quote='Popeye' pid='1138035' dateline='1341097470']
[quote='simon_rb' pid='1136936' dateline='1340921971']
Quote:Just had a quick look at the code. It could be fairly simple to fix though I cannot test it my self right now.
In pneumatics utils.py
Code:
...
RE_R_X = r'(\S*?\.r\d{2,3})'
...
RE_R = '\.r\d{2,3}$'
try changing this to
[code]
...
RE_R_X = r'(\S*?\.[rs]\d{2,3})'
...
RE_R = '\.[rs]\d{2,3}$'[/

Without sounding completely useless how do I find that file and change the code. I had a quick look and couldn't find the file..

Sorry for being a little slow lol

Cheers




RE: [RELEASE] Pneumatic - ursli - 2012-07-01

Check \addons\plugin.program.pneumatic\utils.py

Line 40 and 44