XBMC Community Forum
[RELEASE] Pneumatic - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Pneumatic (/showthread.php?tid=97657)



RE: Sv: [RELEASE] Pneumatic - Skindred - 2012-11-05 21:09

(2012-11-05 20:02)Popeye Wrote:  I use 7byte rar header. Check the utils.py file. For linux I had to add the header, win didn't care.
Couldn't you try pneumatic and see if things work as they should :-D ?

Thing is, this is a test/dev environment without the NFS mounts.

How hard would it be to add support for SMB/NFS shares as incomplete location?
This would save me alot of trouble, and require one less kernel module to run on my RPi.

I will install the NFS mount now, and give Pneumatic a whirl Wink


Edit: Mounted NFS and installed Pneumatic with the NZBMatrix Video Addon
All still works as it should.


RE: Sv: [RELEASE] Pneumatic - Popeye - 2012-11-06 01:02

(2012-11-05 21:09)Skindred Wrote:  
(2012-11-05 20:02)Popeye Wrote:  I use 7byte rar header. Check the utils.py file. For linux I had to add the header, win didn't care.
Couldn't you try pneumatic and see if things work as they should :-D ?

Thing is, this is a test/dev environment without the NFS mounts.

How hard would it be to add support for SMB/NFS shares as incomplete location?
This would save me alot of trouble, and require one less kernel module to run on my RPi.

I will install the NFS mount now, and give Pneumatic a whirl Wink


Edit: Mounted NFS and installed Pneumatic with the NZBMatrix Video Addon
All still works as it should.

Yes! Great info and I really appreciate your work.
Regarding using the built in SMB/NFS support. It's not possible to access files for rar inspection using python...unfortunately.


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

(2012-11-05 20:17)lockdown571 Wrote:  
(2012-11-05 18:29)Popeye Wrote:  
(2012-11-05 17:43)lockdown571 Wrote:  Hey Popeye, love the add-in. Question though. I noticed that Pneumatic sometimes tells Sabnzbd to pause (I think this happens after I cancel a download). Then when I try to download something else, nothing happens because Sabnzbd is paused. Is there anyway to avoid this?

Well, it should only pause individual items to get them deleted properly. However, I noticed a logic error in the code where the whole queue would get paused if pneumatic fails to identify the nzb item in SAB's queue. Will fix this, thanks for the bug hunt Big Grin

Awesome! Keep up the good work Smile

The fix is in the repo now. Will be included in next release Big Grin


RE: Sv: [RELEASE] Pneumatic - Skindred - 2012-11-06 02:11

(2012-11-06 01:02)Popeye Wrote:  
(2012-11-05 21:09)Skindred Wrote:  
(2012-11-05 20:02)Popeye Wrote:  

Yes! Great info and I really appreciate your work.
Regarding using the built in SMB/NFS support. It's not possible to access files for rar inspection using python...unfortunately.

Have you looked into https://github.com/plajjan/pyarrfs and http://pypi.python.org/pypi/rarfile/ yet?

Edit:
Also found http://freecode.com/projects/pynfs
but I guess this is going to make things bloated, and slow my RPi down more than just using NFS mounts.


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

(2012-11-06 02:11)Skindred Wrote:  Have you looked into https://github.com/plajjan/pyarrfs and http://pypi.python.org/pypi/rarfile/ yet?

Edit:
Also found http://freecode.com/projects/pynfs
but I guess this is going to make things bloated, and slow my RPi down more than just using NFS mounts.


A modified rarfile.py is what I have been using all the time. The problem is that the nfs/smb files are not exposed as ordinary files to python but rather as xbmc specific uri (smb://some.file).
EDIT: in Frodo there is a new api allowing pneumatic to read files over smb/nfs. I'll see what I can do about adding it already now.


RE: Sv: [RELEASE] Pneumatic - Skindred - 2012-11-10 19:30

(2012-11-06 11:00)Popeye Wrote:  
(2012-11-06 02:11)Skindred Wrote:  Have you looked into https://github.com/plajjan/pyarrfs and http://pypi.python.org/pypi/rarfile/ yet?

Edit:
Also found http://freecode.com/projects/pynfs
but I guess this is going to make things bloated, and slow my RPi down more than just using NFS mounts.


A modified rarfile.py is what I have been using all the time. The problem is that the nfs/smb files are not exposed as ordinary files to python but rather as xbmc specific uri (smb://some.file).
EDIT: in Frodo there is a new api allowing pneumatic to read files over smb/nfs. I'll see what I can do about adding it already now.


Hi Popeye,

any luck with that new FS API?


Re: [RELEASE] Pneumatic - Popeye - 2012-11-10 21:07

Sorry, haven't had the time to code. however the api covers all that is needed. I'll see what I can do during the week...


RE: [RELEASE] Pneumatic - Popeye - 2012-11-12 01:21

Done some initial testing. Looking good. Writing fake files over smb:// paths now.... but there are lots of code to be changed. This will work but take some time to fix.


RE: [RELEASE] Pneumatic - samukas - 2012-11-12 13:00

That's good news Popeye Smile Is the API for SMB/NFS only or is it for any type of "share"? For example, FTP, WebDAV, etc etc...


RE: [RELEASE] Pneumatic - Popeye - 2012-11-12 13:18

(2012-11-12 13:00)samukas Wrote:  That's good news Popeye Smile Is the API for SMB/NFS only or is it for any type of "share"? For example, FTP, WebDAV, etc etc...

I guess anything XBMC handles.... http://mirrors.xbmc.org/docs/python-docs/xbmcvfs.html


RE: [RELEASE] Pneumatic - Popeye - 2012-11-12 14:48

Yes! It works now, though the code looks like a complete mess...


RE: [RELEASE] Pneumatic - samukas - 2012-11-12 19:57

That's really nice to hear Smile Well, the part the it works of course!

I guess I speak for anyone here who has an ATV2 or Android device that I'm eager to try it out!
However, of course, feel free to clean up the code until you feel like it's polished enough... we will wait Smile

Thank you so much for this developments on Pneumatic.


RE: [RELEASE] Pneumatic - for4saken - 2012-11-14 02:50

Popeye,

does Pneumatic works if SABnzbd is using https?

(Sorry if it was answered before, I've tried to search this thread but with so many links to github the results were not very useful.)

Thanks for your work.


RE: [RELEASE] Pneumatic - Dixon Butz - 2012-11-14 03:15

(2012-11-14 02:50)for4saken Wrote:  Popeye,

does Pneumatic works if SABnzbd is using https?

(Sorry if it was answered before, I've tried to search this thread but with so many links to github the results were not very useful.)

Thanks for your work.

Yes, it works with https.


RE: [RELEASE] Pneumatic - for4saken - 2012-11-14 03:47

(2012-11-14 03:15)Dixon Butz Wrote:  
(2012-11-14 02:50)for4saken Wrote:  does Pneumatic works if SABnzbd is using https?
Yes, it works with https.

sighs I was hoping that was the simple reason for the error (wrong IP/port) I'm getting.