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
|
RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - lhw455 - 2014-01-27 (2014-01-27, 15:27)myso Wrote: Hi, I don't have any account ending with "@pages.plusgoogle.com" and I have literally tried everything from the past 30-40 pages of this thread. No way I'm able to sign in to youtube with any of my XBMC instances. I "converted" my account to a pages.plusgoogle.com account and my problems disappeared (instructions some pages back). Is this something you're willing to try? [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for X - Berre - 2014-01-27 (2014-01-26, 20:50)MorningWood Wrote:(2014-01-26, 20:48)Berre Wrote: i've tried lhw455 and MorningWood's suggestions but still no luck. I'm using my regular google login (the one i use for gmail). I've tried using both my normal passsword, where i get prompted for the 2-factor 6 digit pin code, and using an application specific password. Here is my log file: http://pastebin.com/AdcHsGpi key points: 16:59:27 Login with 2-factor pin 17:00:17 Login with application specific password with spaces 17:01:15 Login with application specific password without spaces 17:02:16 Login with incorrect password Login issues fixed! - bumblebeeman - 2014-01-28 (2014-01-14, 21:57)i3ki Wrote: Find on your computer and open (eg with wordpad) the file: YouTubeLogin.py Worked like a charm, no mucking around with google+/linking accounts/youtube settings. I made it work in Win7, but where can I find the YouTubeLogin.py file on my Mac? (OSX 10.8) Nice work converting to G+ account - myso - 2014-01-28 (2014-01-27, 17:26)lhw455 Wrote:(2014-01-27, 15:27)myso Wrote: Hi, I don't have any account ending with "@pages.plusgoogle.com" and I have literally tried everything from the past 30-40 pages of this thread. No way I'm able to sign in to youtube with any of my XBMC instances. Hi, if you mean this: lhw455 Wrote:For anyone have recent issues with the plugin, check that Youtube isn't asking you every now and again to use your Google+ profile, that's the issue I was having. Just login to youtube in your web browser of choice, click a video and refresh it a few times. Sooner or later, a popup will come up, select whatever option you want, and the popup should go away. I've done it about 8 months ago and that's when all the login troubles started. Unpairing youtube and G+ account didn't help either. Also none of the py source code modifications did the miracle for me. I'm lost RE: [RELEASE] YouTube (Video) Plugin - lhw455 - 2014-01-28 (2014-01-28, 12:07)myso Wrote:(2014-01-27, 17:26)lhw455 Wrote:(2014-01-27, 15:27)myso Wrote: Hi, I don't have any account ending with "@pages.plusgoogle.com" and I have literally tried everything from the past 30-40 pages of this thread. No way I'm able to sign in to youtube with any of my XBMC instances. I followed this post RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - seaan - 2014-01-28 (2014-01-28, 12:07)myso Wrote: . Also none of the py source code modifications did the miracle for me. I'm lost I'm in the same shit, bro... I'll try to debug the py code myself RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - myso - 2014-01-28 Myso Wrote:Hi, I don't have any account ending with "@pages.plusgoogle.com"Did I mention already that there is nothing like that under my account settings? (2014-01-28, 14:17)seaan Wrote:(2014-01-28, 12:07)myso Wrote: . Also none of the py source code modifications did the miracle for me. I'm lost If it's of any help I can give you debug outputs from my YT plugin. RE: [RELEASE] YouTube (Video) Plugin - lhw455 - 2014-01-28 (2014-01-28, 14:50)myso Wrote:Myso Wrote:Hi, I don't have any account ending with "@pages.plusgoogle.com"Did I mention already that there is nothing like that under my account settings? Not sure if that was directed at me, I didn't have the @pages.plusgoogle.com email address either, but following the instructions I was able to create one. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - myso - 2014-01-28 I'll try to be as direct as possible this time: It doesn't work for me (the instructions), it seems completely different under my account, no third party tools menu, no @pages.plusgoogle.com account. And yes, my account is paired with G+. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - lhw455 - 2014-01-28 (2014-01-28, 17:06)myso Wrote: I'll try to be as direct as possible this time: It doesn't work for me (the instructions), it seems completely different under my account, no third party tools menu, no @pages.plusgoogle.com account. And yes, my account is paired with G+. Try to open another gmail account to see if it works on another one? If so, you can at least narrow the problem down. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - bumblebeeman - 2014-01-28 (2014-01-28, 03:19)bumblebeeman Wrote: where can I find the YouTubeLogin.py file on my Mac? (OSX 10.8) Found it (my Library folder was hidden) to unhide your library: Terminal --> chflags nohidden ~/Library/ RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon - Berre - 2014-01-28 I finally got the plugin to work again, by manually authenticating it, and writing the authentication token to the settings file. My solution isn't easy, but i'll try to explain it. 1. open the following url to authenticate the youtube plugin with your google account: https://accounts.google.com/o/oauth2/auth?client_id=208795275779.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=http%3A%2F%2Fgdata.youtube.com&response_type=code This will send you to a page which gives you an authentication code. 2. Create an HTML file with the following contents, and open it in a browser: http://pastebin.com/fdH9xJF7 3. paste the code from step 1 in the code field and click submit This should give you a result like this: { "access_token" : "A long cryptic phrase", "token_type" : "Bearer", "expires_in" : 3600, "refresh_token" : "Another cryptic phrase" } 4. open the settings.xml file in your "userdata\addon_data\plugin.video.youtube" folder find the oauth2_access_token setting and copy the access_token phrase from step 3 to the value field find the oauth2_refresh_token setting and copy the refresh_token phrase from step 3 to the value field for the oauth2_expires_at setting see step 5 5. Go to http://pythonwebconsole.thomnichols.org/ and run the following script -------------------------------- import time print "time.time(): %f " % time.time() --------------------------------- This will output something like: time.time(): 1390933738.478000 add 3600 to that number, eg. 1390937338.478000 paste that number in the value field of the oauth2_expires_at setting. 6. Save the settings.xml file 7. the plugin should now work... it did for me. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - kevenz - 2014-01-28 thanks a lot Berre, I followed step by step your method and it's working. I don't even understand what the hell I did, you're a genius anyway ! RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - konoimo - 2014-01-28 i followed Berre's method and it WORKS! thanks! RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - BillTuttle - 2014-01-28 Also used Berre's method and it works here as well (running Raspbmc) Edit Ok, mostly works. I'm only seeing 3 of about 20 subscriptions listed |