Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only - 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 [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only (/showthread.php?tid=79487) 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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
|
- stout - 2011-05-31 HenrikDK Wrote:You sure there's not a firewall thats blocking between xbmc and your gateway? I do have a server sitting between the XBMC box and the internet at large that does NATing, but no firewalling. SSL logins to various websites work just fine from everywhere on the network.. - gott_sei_dank - 2011-05-31 zpanderson Wrote:I tried adding this to advancedsettings.xml, but I don't see any added dialog when paused. Is there something else I have to do? You should notice the indicator bar now fills up with a different colour and becomes solid much like viewing Youtube on a pc, additionally the codec info dialogue (the o key on the keyboard?) has buffer value. Possibly skin dependent (also works in other addons which support it). - pike - 2011-05-31 there's not a new dialog, there's new info IN THE dialog. and you must use a build from... let's say 1st of may or later to be safe - zpanderson - 2011-05-31 pike Wrote:there's not a new dialog, there's new info IN THE dialog. Haha, i'm a dumbass... thought I had installed one of the nightly builds but apparently I was still using an old one. Works great now! - stout - 2011-06-01 403 Forbidden is a response, I don't see how I would get a response if I had a firewall blocking me from getting a request through. And obviously I'm getting information back. Also, if it matters.. My workstation connects wirelessly to a wireless access point that is connected to my server... The XBMC box has a wired network card that goes to a wireless hub running DD-WRT (SPI Firewall is disabled) which also connects to the access point connected to my server. From my workstation, I can ssh to the XBMC box, run lynx and connect to https://mail.google.com where I can login just fine using two-factor authentication and the whole 9 yards. It complains about the lack of javascript support, but I can read my email fine. Clear all the cookies and cache (quit lynx and restart it), go to http://www.youtube.com and click sign in, it takes my username and password and... AH HA! It also wants the same two factor authentication that gmail wants. So, I probably need some functionality to enter the passcode it text messages me with. That's probably where it is bombing out. - stout - 2011-06-01 That was it. The youtube plugin is incompatible with 2-factor authentication. I disabled it and the plugin works like a champ. However, I cannot leave it that way - 2factor auth is a requirement for me. For now, I'll make a second account for youtube.. but someone should probably figure out how to do authentication with the 2factor system. http://code.google.com/apis/youtube/2.0/developers_guide_protocol_clientlogin.html Going from there to http://apiblog.youtube.com/2011/03/clientlogin-fail.html, I fall into the category of scenario 3. I'll add an application specific password for now. I'll prod the OAuth and AuthSub stuff tomorrow; hopefully one of those provides a suitable solution. - stout - 2011-06-01 Adding this in because I have been in the situation before where I'll spend a month troubleshooting something and constantly finding people asking the same questions I do, but never finding an answer.... With 2factor authentication enabled, I successfully set up an application specific password (google makes it easy for you to find help n how to do this - if you were smart enough to setup 2fact auth, you'll find where to add app specific passwords) and got the youtube plugin working with that. Awesome sauce. Updating the plugin to OAuth is still not a bad idea, though. ClientLogin is recognized by google as being buggy, prone to problems, and deprecated. - HenrikDK - 2011-06-01 stout Wrote:Adding this in because I have been in the situation before where I'll spend a month troubleshooting something and constantly finding people asking the same questions I do, but never finding an answer.... Hi, from my own testing using application specific passwords break the scraper part of the plugin (YouTube recommendes and so forth) since google has banned those from its web login (at-least they had last time i checked) We had recently gone over this and dismissed using oauth 2 due to the problems we perceived this would give 2 factor authentication user, but those seem to be workable at-least. The switch to Oauth would still not alleviate the central privacy issues that users might have, as we would need to script the entire process like we do with the vimeo login (Not all platforms have a web browser available, and even if they did navigating a web browser with your remote is a nightmare). The plugins login issues are in my experience limited to ssl problems with the python distribution that xbmc includes on windows, on osx and ubuntu these problems are non-existent. That being said I'll look into oauth 2, but it's gonna require a major reworking of the current login code. - rflores2323 - 2011-06-01 so is all this authentication stuff the problem with the atv2? Sorry jsut dont understand it. I was able to login to youtube on my atv2, took several tries and then it logged me out and couldnt do it again. great plugin when its working! - HenrikDK - 2011-06-01 rflores2323 Wrote:so is all this authentication stuff the problem with the atv2? Sorry jsut dont understand it. I was able to login to youtube on my atv2, took several tries and then it logged me out and couldnt do it again. great plugin when its working! Basically its a problem with the version of python xbmc ships, we're getting urllib errors when we try to hit the google authentication url. and for some reason some of the python builds have a hard time negotiation a ssl connection with google. We're hopeing it will get better when we switch to an external python version in eden, but theres not much we can do until then. - IPG37 - 2011-06-01 This plugin is in the Get add-on for XBMC correct? I want to know that I'm downloading the correct one cause when I try to launch a video with the Acceleration check on my ATV2. The vid would load then crash back to the ATV2 screen. When I turn off the acceleration it run fines but it is very choppy. - HenrikDK - 2011-06-01 IPG37 Wrote:This plugin is in the Get add-on for XBMC correct? I want to know that I'm downloading the correct one cause when I try to launch a video with the Acceleration check on my ATV2. The vid would load then crash back to the ATV2 screen. When I turn off the acceleration it run fines but it is very choppy. We're in the addon repository if that's what you mean, if you're having playback problems (seems like it's related to the special hardware acceleration that was implemented on atv2 and other ios devices) that would be an xbmc issue as we don't control playback we just tell what url its supposed to play. - stout - 2011-06-01 HenrikDK Wrote:The plugins login issues are in my experience limited to ssl problems with the python distribution that xbmc includes on windows, on osx and ubuntu these problems are non-existent. That being said I'll look into oauth 2, but it's gonna require a major reworking of the current login code. I'm on Ubuntu, I had ssl problems due to the 2 factor auth. Since it's a 2factor issue, I suspect you're going to have problems with ClientLogin on _every_ platform, regardless of what python version you use. Yeah, it would require a major rewrite, but I believe it's pretty much necessary. As far as navigating a web browser, I agree, that would be poop. But I don't see why urllib can't get all the necessary information from google, then present a dialog box to put 6 digits into to finish out the authentication. Critical mission at work is complete so I actually have stuff to get rolling again, or I'd mess with it today. It'll have to wait until sunday... I'll see exactly what is required to make OAuth work and possibly toss in a patch in a few weeks. - HenrikDK - 2011-06-01 stout Wrote:I'm on Ubuntu, I had ssl problems due to the 2 factor auth. Since it's a 2factor issue, I suspect you're going to have problems with ClientLogin on _every_ platform, regardless of what python version you use. I wouldn't categorise you problems as related to the ssl issues experience by most windows users. The plugin simply doesn't support the extra login step required by 2 factor authentication. The issues with using 2 factor authentication and client login are described by google on their api blog regarding client login and I've even mentioned how to use 2 factor authentication earlier in this thread. http://forum.xbmc.org/showpost.php?p=788283&postcount=869 That being said a patch would probably speed up things and is more than welcome . - stout - 2011-06-02 HenrikDK Wrote:I wouldn't categorise you problems as related to the ssl issues experience by most windows users. The plugin simply doesn't support the extra login step required by 2 factor authentication. The issues with using 2 factor authentication and client login are described by google on their api blog regarding client login and I've even mentioned how to use 2 factor authentication earlier in this thread. http://forum.xbmc.org/showpost.php?p=788283&postcount=869 Didn't see it, sorry! I just did a google search and found something in the first few pages of this thread that were tangentially related so I went for it. Do we have a public certificate submitted to Google yet, or should I plan on doing that myself? If you don't know what I'm talking about, the answer is probably that I need to do that |