[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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
RE: [RELEASE] Pneumatic - ursli - 2014-08-16 If you're fixing things, I still got this problem: The sab category doesn't get set properly when using strm files with local nzb's. XBMC tends to crash if I then change my mind and want to delete the file mid download. Example of strm with local nzb: Code: plugin://plugin.program.pneumatic/?mode=strm&type=add_file&nzb=/media/Archiv/nzb/testfile.nzb&nzbname=testfile If you use the newznab plugin or use remote nzb url with strm files it works as supposed to. Example of strm with remote nzb url: Code: plugin://plugin.program.pneumatic/?mode=strm&nzb=https%3A%2F%2Furl%2Fgetnzb%2Ftestfile.nzb%26i%3Did%26r%3Dkey&nzbname=testfile It is quite easy for me to reproduce, force a category in settings, start a stream, press cancel, tell it to "Just download" -> local nzb, category does not get set. -> remote nzb url, category gets set. RE: [RELEASE] Pneumatic - Popeye - 2014-08-18 (2014-08-16, 13:12)ursli Wrote: If you're fixing things, I still got this problem: Could you help me out by testing the follwing change? In the file sabnzbd.py https://github.com/TsUPeR/xbmc-pneumatic/blob/master/default.py#L148 change Code: response = SABNZBD.add_file(nzb.encode('latin-1'), category=category) Code: response = SABNZBD.add_file(nzb.encode('latin-1'), cat=category) Cheers! RE: [RELEASE] Pneumatic - ursli - 2014-08-18 I'm getting a script error with that change: http://pastebin.com/PcY2Vm80 (May be user error ) RE: [RELEASE] Pneumatic - Popeye - 2014-08-18 (2014-08-18, 12:10)ursli Wrote: I'm getting a script error with that change: http://pastebin.com/PcY2Vm80 No user error this time. What I can see is that the category is set to None and that will cause the error.. One more change is needed in https://github.com/TsUPeR/xbmc-pneumatic/blob/master/post_form.py#L11 From Code: cat = kwargs.get('cat', 'Default') Code: cat = kwargs.get('cat', 'Default') Hope this works.. RE: [RELEASE] Pneumatic - ursli - 2014-08-18 Perfect, that works as intended now, thanks for looking into it. RE: [RELEASE] Pneumatic - xbmosx - 2014-08-18 Please bare with me. I tried to find the answer in here but didn't succeed. I can get pneumatic to work with non-encrypted (non password protected) files, but everytime I try with encrypted files the only thing that happens is a message that ask me to clear out the failed folder yes/no. Password is preset in Sabnzbd when I start the download. The download unpacks fine with the provided password in Sabnzbd. I saw something about adding lines to utls.py but my utils.py doesn't even look like the one your referring to. Installed pneumatic version is 0.3.1 (from popeye repo). XBMC Gotham on OSX 10.9.4. Is this just not possible or am I doing something wrong? Thanks for your answer and this very cool plugin! RE: [RELEASE] Pneumatic - Popeye - 2014-08-18 (2014-08-18, 15:13)ursli Wrote: Perfect, that works as intended now, thanks for looking into it. Excellent, I'll add the fix to next release. (2014-08-18, 15:52)xbmosx Wrote: Please bare with me. I tried to find the answer in here but didn't succeed. I doubt XBMC has the ability to read through these files since Pneumatic merely provides a URI to the resource (e.g. rar://some.path/to.rar/content.mkv). If you find a way to play encrypted archives, then there might be a possibility for Pneumatic to support it. Cheers! RE: [RELEASE] Pneumatic - xbmosx - 2014-08-18 (2014-08-18, 15:52)xbmosx Wrote: Please bare with me. I tried to find the answer in here but didn't succeed. Quote:I doubt XBMC has the ability to read through these files since Pneumatic merely provides a URI to the resource (e.g. rar://some.path/to.rar/content.mkv). If you find a way to play encrypted archives, then there might be a possibility for Pneumatic to support it. thanks for clarifying. I thought you were outlining a solution in this post http://forum.xbmc.org/showthread.php?tid=97657&pid=1619888#pid1619888 ? one more question though, the utils.py that gets installed when coming from popey repo (first post) or fusion seems to be different than the one on github (https://github.com/TsUPeR/xbmc-pneumatic/blob/master/utils.py). I'm a little confused about this. are there different versions? how can I make sure I have the latest version installed? github example: Code: def rar_filenames(folder, file): installed example: Code: def rar_filenames(folder, file): RE: [RELEASE] Pneumatic - Popeye - 2014-08-19 (2014-08-18, 21:35)xbmosx Wrote: thanks for clarifying. I thought you were outlining a solution in this post http://forum.xbmc.org/showthread.php?tid=97657&pid=1619888#pid1619888 ? Yes, I was outlining a solution but I now realized it would only work for Pneumatic, XBMC could still not read through the files (AFAIK) Regarding the code difference. If you look at the commit history you would see that I haven't done a new release for the repo in a while. The diff will be in the next release. RE: [RELEASE] Pneumatic - xbmosx - 2014-08-19 thank you popeye. very much appreciate your work! RE: [RELEASE] Pneumatic - Popeye - 2014-08-19 (2014-08-19, 12:48)xbmosx Wrote: thank you popeye. very much appreciate your work! I just did a quick google and found that XBMC apparently supports encrypted rars. The URI is rar://passwor@file://path/to/file.rar/content.mp4 so my suggested fix might work... RE: [RELEASE] Pneumatic - pleo - 2014-08-21 (2014-08-15, 11:14)Popeye Wrote:(2014-07-03, 21:46)timgt Wrote: It works fine in Gotham, even Helix which is what I am running. Just make a small change in the addon.xml file so that the python version says python version 2.1.0 and then it installs fine. This actually is possible to do without downloading every file. The trick is to use the par2 files to check the MD5 hash of the first 16KB of each file included in the parset. So, typically you need to grab the first segment of every file, rather than the whole post. I put together a proof of concept that takes an NZB, remaps the mangled names and creates a new NZB with the correct rar file names (serial and threaded versions). It is pretty quick, with the threaded version taking about a minute or two to process a 90+ rar file post using 20 nntp connections. Some guy also wrote an NZB verification tool, which very quickly tests for the existence of each segment. These two tools, used together, can save a lot of time on downloads that otherwise would be a waste of time due to incompleteness or name mangling. Now if only SAB had these abilities integrated... RE: [RELEASE] Pneumatic - Popeye - 2014-08-27 (2014-08-21, 20:06)pleo Wrote:(2014-08-15, 11:14)Popeye Wrote:(2014-07-03, 21:46)timgt Wrote: It works fine in Gotham, even Helix which is what I am running. Just make a small change in the addon.xml file so that the python version says python version 2.1.0 and then it installs fine. This is something for Sabnzbd. Pneumatic have a very limited control over Sabnzbd and the API does not provide any option to only fetch a certain amount of bytes... RE: [RELEASE] Pneumatic - hasamba - 2014-09-13 did someone was able to bypass the "malformed error"? popeye, can you please fix it? if not, can you please answer and tell us why not? thanks RE: [RELEASE] Pneumatic - hasamba - 2014-09-16 (2014-09-13, 14:22)hasamba Wrote: did someone was able to bypass the "malformed error"? popeye, can we get any comment please? |