Release Netflix Add-on [input-stream] - 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: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release Netflix Add-on [input-stream] (/showthread.php?tid=329767) 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
|
RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-12 (2020-09-12, 12:25)DarrenHill Wrote: @StorageFan - thanks for that.Great. Thank you. I hope this will prevent other users who are not very experienced with Linux in general and not familiar with the structure of the QNAP QTS derivative in particular to have to comb through the internet and experience many failed attempts in a "try & error" approach, like I did. RE: Netflix Add-on [input-stream] - CastagnaIT - 2020-09-12 These: Quote:ln -s /usr/lib/python2.7/dist-packages/Crypto /usr/lib/python2.7/dist-packages/Cryptodome are very wrong thing to do point a package to other name could break other scripts and also the package itself may have unexpected errors with some internal operations Crypto and Cryptodome are similar but are two different packages as you can see here: https://github.com/CastagnaIT/plugin.video.netflix/wiki/Dev.-PyCrypto-packages if you have import errors means that you have a sort of mix of packages installed then you have to remove ALL crypto packages, and if possible install only: pycryptodomex if qnap also needs to have also the package pycrypto installed pycryptodomex can coexist with it then you can install without problem, but i think it would be better if i reverse the imports in the NF add-on so as to give importance first to pycryptodomex and fallback to pycrypto This is the modified version: https://www.dropbox.com/s/3ngmpc3ettxmw1q/plugin.video.netflix_1.9.0_20200912_cryptodomex.zip?dl=0 after this i will try to elaborate your instruction when i have done i will send you a PM so you can read and correct any errors and then send me back the correct document thanks for the instructions, you succeeded where many would have abandoned RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-12 (2020-09-12, 17:24)CastagnaIT Wrote: These: Well, I definitely installed the cryptodomex (with the X at the end!) package. Nonetheless in the directory /usr/lib/python2.7/dist-packages/ only a folder named Crypto could be found and your Plugin kept complaining about the missing library. So since someone in this thread on github posted the symbolic link as a solution, I gave it a try and and it worked. (He got 16 thumbs up for this comment, so I would have never assumed that this was such a wrong thing to do) Regarding the pip install Padding: I can take that out, since on my second re-run it didn't seem to be necessary. Then again I only un-installed HD Station and am not sure, if everything installed in the HD Station was automatically removed as well. So it might be that some residue of the previous Padding installation had stuck. That's why I left the command in there. Quote:if you have import errors means that you have a sort of mix of packages installedI do not have any errors at all anymore, after downloading the Padding.py as suggested by the person in this post a bit below the previous post, which resolved the last error message, everything works perfectly now. Quote:if qnap also needs to have also the package pycrypto installedYes, that sounds like a good plan. But I am not sure why you would want me to uninstall and re-install pycryptodomex again. I don't know why the installation of pycryptodomex did not result in a folder called Cryptodome in the expected place. Maybe the pip install --user pycryptodomex command installed it somewhere else? But whatever happened, I can run KODI and the Netflix plugin from any account. I don't have to login as "admin" and also not as the user having installed "KODI" on my QNAP. So so far everything seems to work for me. The only issue I experience is a slight flickering of the subtitles. But @thomas.rehberg suggested that this might be caused by HD Station 4.0.10 and that I should downgrade back to 4.09 or earlier. So how should I proceed now? RE: Netflix Add-on [input-stream] - thomas.rehberg - 2020-09-12 (2020-09-12, 20:39)StorageFan Wrote:(2020-09-12, 17:24)CastagnaIT Wrote: These: Yes better go back to 4.09 or even 4.07. Just sent you a PM where you can get the 4.07 version. This will fix the flickering, and you may not even need the changes applied to the later versions. The 4.10 version I cannot recommend at all, unfortunately. RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-13 @CastagnaIT I have an idea what might have caused the discrepancies between crypto and cryptodome. I just checked the installation locations for pycrypto and pycryptodomex and these are the results: So my suspicion is that my command pip install --user pycryptodomex installed the package "Cryptodome" not in the (expected) path /usr/lib/python2.7/dist-packages but instead into the path /root/.local/lib/python2.7/site-packages So as a result only the originally installed "Crypto" was to be found in the /usr/lib/python2.7/dist-packages and that's why I had to add the symbolic link (to create a folder Cryptodome in the right location) and why the Padding.py file was missing (because it never came with the origianl V2.6.1 version of the Crypto package). So my question is (since you said PyCrypto and PyCryptodomex can peacefully coexist): how can I tell my system to install the pycryptodomex library in the folder /usr/lib/python2.7/dist-packages and not in the wrong folder /root/.local/lib/python2.7/site-packages ? Because then I would not need any symbolic links and also no manual download of a Padding.py file, because it's all in the right place to begin with (I checked and /root/.local/lib/python2.7/site-packages/Cryptodome/Util does already contain a file called Padding.py). But I guess a symbolic link command like the following ln -s /root/.local/lib/python2.7/site-packages/Cryptodome /usr/lib/python2.7/dist-packages/Cryptodome would also not be to your liking, right? So how do I tell the system to install the pycryptodome package into the right location? RE: Netflix Add-on [input-stream] - CastagnaIT - 2020-09-13 @StorageFan seem that there are more python eviroments path from what i understand: your folder of installation is /usr/lib/python2.7/dist-packages this is a debian package folder instead "pip install" use site-packages i think you should try to install cryptodomex with this command (not sure if sudo is needed in your case) sudo apt-get install python-pycryptodomex but i am not sure that this type installation is available with pycryptodomex then, if the package not exists you have to use "Crypto", if not already installed in (/usr/lib/python2.7/dist-packages): sudo apt-get install python-pycryptodome RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-13 @CastagnaIT tl;dr: it worked. So, what I did is to first uninstall the pycryptodomex package with pip uninstall pycryptdomex Of course KODI and your Netflix plugin still worked after that, which confirms my suspicion that they were running on the already by default installed PyCrypto package. So next I removed the symbolic link. Now your first command apt-get install python-pycryptodomex did not work (sudo is not needed, because I am always root due to the chroot necessity), because the package was not known. Also a apt-get update did not change that (also it updated some stuff successfully nonetheless). So I went for your next suggestion apt-get install python-pycryptodome and that installed everything in the right place. A folder Cryptodome was subsequently to be found at /usr/lib/python2.7/dist-packages and also a Padding.py was located in the subfolder /Util as you can see, it is only version 3.4.7 though instead of 3.9.8 (the version number of the pycryptodomex package). Anyhow, the most important thing is that KODI and the plugin still work as before. So it would make sense to change my set of instructions above by eliminating the last two steps (the creation of the symbolic link and the download of Padding.py) and replacing them with a simple apt-get install python-pycryptodome Thanks for correcting my mistake. It didn't feel quite right to begin with (more like a hack). Is it totally the same for your plugin if one uses the Pycryptodome package (V3.4.7) instead of Pycryptodomex package (V3.9.8)? There are no advantages or disadvantages of using one or the other? RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-13 P.S.: If you give me the green light, I will change the set of instructions here in the forum (like I already did in my github post) accordingly and then it should be ready to be published on your site. P.P.S.: more good news: I can even run KODI and your plugin after logging in with a different user without QNAP admin privileges. So apparently the installation is a general one and not limited to the admin user or users with admin privileges. P.P.P.S.: do I have to use the apt-get command or could I just use this (newer) command instead: apt install python-pycryptodome RE: Netflix Add-on [input-stream] - DarrenHill - 2020-09-13 @StorageFan - you should also be able to edit the version of your guide in the tips, tricks and guide section. If there are any issues in doing so just let me know and I can do it. RE: Netflix Add-on [input-stream] - CastagnaIT - 2020-09-14 > Is it totally the same for your plugin if one uses the Pycryptodome package (V3.4.7) instead of Pycryptodomex package (V3.9.8)? There are no advantages or disadvantages of using one or the other? to our use there is no differences > P.P.P.S.: do I have to use the apt-get command or could I just use this (newer) command instead: there is no too much difference between the two commands apt is more for end users apt-get is more for dev RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-14 (2020-09-13, 15:24)DarrenHill Wrote: @StorageFan - you should also be able to edit the version of your guide in the tips, tricks and guide section.Everything is fine, but thanks for checking in. For your information: I have corrected the instructions in the permanent post you had kindly created in the Tips, tricks, and step by step guides section and also in my post on github. So both posts now follow the recommendations made by @CastagnaIT and thus should provide a clean solution. @CastagnaIT , if you want me to change anything, please just tell me. Otherwise you can take these instructions and post (or link to them) on your github page in the Linux section to make life easier for QNAP users trying to install your plugin. I have edited my original post in this thread here as well, to warn the readers to use my original solution and put instead a link to the permanent step by step guide in the top of that post. So people can still read it (in case the official route should not work for them), but are advised to follow the cleaner instructions instead. I hope that's a good solution for everybody. RE: Netflix Add-on [input-stream] - Bigdrago - 2020-09-17 I installed it on nvidia shield tv on kodi. But there is no dolby atmos or vision from this app... RE: Netflix Add-on [input-stream] - prime5980 - 2020-09-17 Just to let people know that the Netflix addon no longer able to play HD content on Sony Android TV KD-49XH9505 after the TV updated only SD streams are available, Sony support is no help as it is a 3rd party app, even if it was working correctly before the update. Also the Amazon VOD addon no longer works correctly. It plays HD streams but with blocking artifacts and audio sync issues RE: Netflix Add-on [input-stream] - StorageFan - 2020-09-17 (2020-09-17, 12:14)prime5980 Wrote: Just to let people know that the Netflix addon no longer able to play HD content on Sony Android TV KD-49XH9505 after the TV updated only SD streams are available, Sony support is no help as it is a 3rd party app, even if it was working correctly before the update. Also the Amazon VOD addon no longer works correctly. It plays HD streams but with blocking artifacts and audio sync issues Was this a major update (i.e. from Android 7 to Android 8) or just a minor firmware update? I am asking as an owner of the Sony KD-55XE9005. I have upgraded to Android 8 over a year ago and installed KODI only recently and not experienced any issues with the content quality. I can't get 4k, but the upscaler of my Sony is so efficient, that I can't even really tell the difference between HD content and true 4k content. RE: Netflix Add-on [input-stream] - Vroky - 2020-09-20 Hello. I've got a problem on my widescreen 21:9 monitor. Although both my monitor and the shows are all 21:9 I get black bars EVERY side of the screen AND a distorted image. I played with all the zoom setting but nothing would work correctly. Everything outside of netflix works fine. I have to manually zoom around 1.13 and reduce pixel ratio to 0.82 every time to show correctly. Is there any way to persist those for netflix only? |