Release YouTube (IMPORTANT - READ FIRST POST) - 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 YouTube (IMPORTANT - READ FIRST POST) (/showthread.php?tid=200735) 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
|
RE: YouTube (IMPORTANT - READ FIRST POST) - ashlar - 2016-02-24 Yes, you are right. My Subscriptions still doesn't work though... why the heck is that? I put in my generated keys for: youtube-tv (line 12 in login_client.py) youtube-for-kodi-quota (line 19) youtube-for-kodi-fallback (line 26) youtube-for-kodi-16 (line 57) Everything seems to work, except for My Subscriptions, that return a blank list. Tried activating debug log, there's no warning or error displayed. The plugin simply returns an empty list as if there were no videos for my subscriptions. This is everything shown from me entering the plugin, selecting My Subscriptions and then exiting: Code: 12:59:07 T:102592 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select RE: YouTube (IMPORTANT - READ FIRST POST) - cyber7 - 2016-02-24 Why did bromix delete the source?!!! RE: YouTube (IMPORTANT - READ FIRST POST) - ashlar - 2016-02-24 Hmmm... tried starting from scratch. Success. Basically, I installed parcel's version (5.1.18c), substituted my credentials for relevant Kodi version *and* for youtube-for-kodi-quota. Now all works fine. What I don't understand is why placing my credentials in the youtube-tv entry makes My Subscriptions stop working. This is what parcel has from line 16 to line 21 in login_client.py: Code: 'youtube-tv': { If I put key, id, and secret as per my credentials (which I do for youtube-for-kodi-quota and youtube-for-kodi-16), My Subscriptions doesn't work anymore. Parcel, what's the option to select in Google's API manager page to have them working. I don't want to depend on a generic set of keys anymore. Thank you. RE: YouTube (IMPORTANT - READ FIRST POST) - Archet - 2016-02-24 I am also having problems with the YouTube addon, where "My Subscriptions" is empty, and I am also not able to log out. Could anyone compile a zip archive with a version of the addon that works as I'm a complete noob when it comes to this. RE: YouTube (IMPORTANT - READ FIRST POST) - Kolifanes - 2016-02-24 Based on the work of finalmakerr and parcel alias rasberryrabbit. This is the final fix for YouTube plugin. Now everything is working. I have generated new API for every section, expect youtube-tv. In this case, we use the API of YouTube TV. You can download from here https://drive.google.com/file/d/0B_QaKV3fvFJJM1JlemNIV1A4bVk/view?usp=sharing I maintained the original dev name. If the Kodi Team want, i can give the email with password where i have generated the new API. Thanks anyone for their contribution. I hope this can help anyone that want back YouTube and isn't able to fix. Remember Delete the folder on your userdata plugin.video.youtube. You can found the location here http://kodi.wiki/view/Userdata RE: YouTube (IMPORTANT - READ FIRST POST) - Herr R aus B - 2016-02-24 (2016-02-24, 05:26)smpn Wrote: I wish the YouTube plugin was maintained by the core devs, it's very important to many people... I hope it's under consideration that'd indeed be nice, but i guess, they already have enough subjects to take care off - plus everybody should keep in mind, that this addon might always need a lot of caretaking, as it avoids YT's (aka google's) core business: ads... you all certainly recognized the ongoing discussions on ad blockers, which are contradictory not only to YT's business model but in the end also harm the content creators themselves and thus, us as the audience of all the free content. very complicated and ambigous siuation as also most content creators admit, that they don't like and being annoyed by ads themselves, but never the less existencially depend on this business model... hence we will always face continous trouble with that kinda adons, as - very understandable from their point of view, but never the less being a major pain in the ass annoyingly ******** - YT & co will try to block out everything that avoids the core goal of their offer... see amazon prime - and that's even a service you definately have to pay for, which i don't have any problems with, even though the offered content mainly sucks to me... the amazon adon worked great - as well in OSMC as in MediaPortal and now? wtf did they close the API for generic client applications, where they even didn't lose money on blocked ads? other story on the lust of controlling everybody and everything... i'd also pay for the subscribed channels, if they are worth it - that might also step up the content's quality as a result of a reasonable (!) competition... well anyways - i got a little bit off topic... sorry, but these interfering business models simply piss me off.. and i doubt, that this was the final fix as was stated some posts above however: thanks for the work, which again is a free service to all of us... regards axel RE: YouTube (IMPORTANT - READ FIRST POST) - Kolifanes - 2016-02-24 Obvious, this is only the final fix for this situation. We need a new developer that take care of YT Plugin. RE: YouTube (IMPORTANT - READ FIRST POST) - ashlar - 2016-02-24 (2016-02-24, 15:49)Kolifanes Wrote: Based on the work of finalmakerr and parcel alias rasberryrabbit. This is the final fix for YouTube plugin. Now everything is working.Hi Kolifanes, I suppose doing what I did (considering I have everything working) should be enough (I described it in my previous post). But I have a question concerning the "API of YouTube TV" thing. Is it possible to generate a key for that from our own account? Considering the number of Kodi users, I'd prefer to only have non-shared credentials to avoid risking quotas, limits, etc. But I can't find this YouTube TV API anywhere on Google devs website... https://developers.google.com/apis-explorer/#search/youtube/ RE: YouTube (IMPORTANT - READ FIRST POST) - Herr R aus B - 2016-02-24 if i wasn't the old fart that i am and, if i wasn't stuck at the c++ level with my coding knowledge, and if i had any clue of python, and if i had the time - i would... RE: YouTube (IMPORTANT - READ FIRST POST) - Herr R aus B - 2016-02-24 (2016-02-24, 16:23)ashlar Wrote: But I can't find this YouTube TV API anywhere on Google devs website... https://developers.google.com/apis-explorer/#search/youtube/ the main concept you have to understand is, that if you want to use your own application keys with the YT addon, you have to have a google account, register your own development project, then add any application you want to that or a different project you set up, and then obtain the keys and credentials as described in below linked instructions. to be clear: you have to register a dummy application with google, that then represents your OSMC / KODI installation running the YT addon accessing the YT API - reasonable? the "youtube tv" application doesn't have its own dedicated API - its an application registered with google using the youtube API V 3.0 as described in this thread. also this video describes everything in depth. finally, here you'll find a list of available google APIs. generating your own keys for your own applications (as such you would register YOUR personal keys for OSMC/KODI) is been done here and described in detail here. if you encounter doubtful error messages while trying to fill in the information for the application's consent screen, make sure, your youtbe account is associated with your real name account - this happened to me, as is till have the old account pseudonym and the error messages are just non self explainatory - took me some hours to find the reason.. google at its best... does this answer your question? RE: YouTube (IMPORTANT - READ FIRST POST) - Kolifanes - 2016-02-24 I have generate the keys for Kodi 12, 13, 14, 15, 16 and 17. And for other parts. The key for YouTube TV, i supposed they have sniffed from an application of Google. I don't know how they got. So i have fixed also for old release. Maybe is possible to generate a personal key and is working, i don't know. But better than an official key from Google there isn't. RE: YouTube (IMPORTANT - READ FIRST POST) - ashlar - 2016-02-24 (2016-02-24, 16:49)Herr R aus B Wrote:No... as I explained, I did all this and generated my keys already. The problem, and Kolifanes got in his last message, is that one of the keys that the plugin uses it's kind of mysterious. If I use the keys I generated from my account, which work just fine for all other purposes, if I use them in the youtube-tv portion of the login_client.py that I pasted here (which shows the generic keys used for all installations of the plugin), the Subscriptions entry gives back an empty list. If I use the generic keys (which will be identical for all users of the plugin, counter to how all other keys work now), Subscriptions work just fine.(2016-02-24, 16:23)ashlar Wrote: But I can't find this YouTube TV API anywhere on Google devs website... https://developers.google.com/apis-explorer/#search/youtube/ It was this I was inquiring about, how Kolifanes got the youtube-tv key. He answered and it basically comes form who know where. RE: YouTube (IMPORTANT - READ FIRST POST) - kasmca - 2016-02-24 (2016-02-24, 15:49)Kolifanes Wrote: Based on the work of finalmakerr and parcel alias rasberryrabbit. This is the final fix for YouTube plugin. Now everything is working. Thanks for your work. However, "Popular Right Now" and "Browse Channels" is not working for me with 5.1.19. I did log out befor reinstalling as well as delete the folder in userdata. Seems to be no different for me compared to 5.1.18b from parcel. RE: YouTube (IMPORTANT - READ FIRST POST) - blueribb - 2016-02-24 (2016-02-24, 18:35)kasmca Wrote:(2016-02-24, 15:49)Kolifanes Wrote: Based on the work of finalmakerr and parcel alias rasberryrabbit. This is the final fix for YouTube plugin. Now everything is working. Update: Everything works for me now with 5.1.19. At first I made a mistake and did not install 5.1.19 but just logged out and in. RE: YouTube (IMPORTANT - READ FIRST POST) - ashlar - 2016-02-24 Doing this: http://forum.kodi.tv/showthread.php?tid=200735&pid=2256968#pid2256968 I have all functions working perfectly. |