YouTube Plug-in Thread - 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: YouTube Plug-in Thread (/showthread.php?tid=353278) 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
|
RE: YouTube Plug-in Thread - anxdpanic - 2020-02-08 Still an issue with the same file, so I'd try shutting down Kodi and manually deleting Code: ~/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json RE: YouTube Plug-in Thread - cawigab - 2020-02-08 (2020-02-08, 17:59)anxdpanic Wrote: @Wojtek That’s exactly what my problem was testerday.. I had to manually remove.this file for making youtube working RE: YouTube Plug-in Thread - Wojtek - 2020-02-08 (2020-02-08, 18:19)anxdpanic Wrote: Still an issue with the same file, so I'd try shutting down Kodi and manually deleting OK. On the plus side the plugin now launches and allows me to sign in. However, after I put the second code on google.com/device I was greeted with: RE: YouTube Plug-in Thread - anxdpanic - 2020-02-08 Sign in requires personal API keys now. You'll find more information and the wiki linked https://github.com/jdf76/plugin.video.youtube/issues/700 RE: YouTube Plug-in Thread - Wojtek - 2020-02-08 Oh, I had to literally fight my way through the vast array of my (obsolete and mismatched) API keys. Ended up with creating new credentials from scratch. If this helps anybody, my workflow was as follows: - first creating new API keys and credentials using https://github.com/jdf76/plugin.video.youtube/wiki/Personal-API-Keys Then I had to: - stop kodi (systemctl kodi stop) - remove both ~/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json and api_keys.json manually - edit ~/.kodi/userdata/addon_data/plugin.video.youtube/settings.xml and remove all traces of old api keys by deleting them from: <setting id="youtube.api.id">oldID</setting> <setting id="youtube.api.key">oldkey</setting> <setting id="youtube.api.secret">oldsecret</setting> - create new ~/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json (touch api_keys.json) with following content: { "keys": { "developer": {}, "personal": { "api_key": "newkey", "client_id": "newID", "client_secret": "newsecret" } } } (substitute your key, ID and secret, generated using the procedure linked on top of this post, obviously) Finally - started Kodi again (systemctl kodi start), opened the Youtube add-on, signed on, all works now. Thanks @anxdpanic for your help! (for reference - I am on latest official Coreelec) RE: YouTube Plug-in Thread - THRobinson - 2020-02-09 (2020-01-29, 05:57)anxdpanic Wrote: @THRobinson So, I finally did the api key, logged into YouTube, and it worked fine for about 30min until it popped up an error in the top right corner... YouTube LoginException: [401] unau... Gets cut off, but below it says unauthorized. I can still play videos but error won't go away until I restart Kodi. RE: YouTube Plug-in Thread - Derthona83 - 2020-02-10 Error on search: https://is.gd/bOFxTn RE: YouTube Plug-in Thread - csvke - 2020-02-11 Can I please ask if I use this addon without sign-in, whose youtube API quota does that use when fetching videos? RE: YouTube Plug-in Thread - anxdpanic - 2020-02-11 @THRobinson If you're still experiencing this, please include a complete debug log (wiki) @Derthona83 Can you tell me what is happening versus expected? Not sure if I'm missing something in the log, or if it's something that isn't logged. @csvke It uses the keys provided by the add-on, quota is limited and sign in is no longer possible with those keys however. RE: YouTube Plug-in Thread - Wojtek - 2020-02-12 For some reason I needed to manually delete access_manager.json, reboot and re-login in order to keep working. Perhaps it's an API issue (my consent screen is still not validated by Google)? I also get a lot of connection errors to YT, like: 2020-02-12 10:22:56.107 T:3131544448 ERROR: ConnectionError: HTTPSConnectionPool(host='s.youtube.com', port=443): Max retries exceeded with url: /api/stats/watchtime?cl=294125395&docid... They happen every 10 seconds and I believe they max out the API request counter on Google side very quickly. Any way to disable this? RE: YouTube Plug-in Thread - Tùng - 2020-02-13 How to working this on kodi: https://www.youtube.com/user/televisiontunisie6/live RE: YouTube Plug-in Thread - Derthona83 - 2020-02-13 (2020-02-11, 23:53)anxdpanic Wrote: @Derthona83It's simple. When I type the query, sometimes the research does not start. If you read carefully in the log: "Plugin not found". RE: YouTube Plug-in Thread - Wojtek - 2020-02-13 (2020-02-12, 11:22)Wojtek Wrote: For some reason I needed to manually delete access_manager.json, reboot and re-login in order to keep working. Perhaps it's an API issue (my consent screen is still not validated by Google)?Actually the plugin does not work if I do not not delete access_manager.json twice a day and re-login the app via google.com/device RE: YouTube Plug-in Thread - anxdpanic - 2020-02-14 @Derthona83 I haven't been able to reproduce so far, hopefully I'll be able to get to the bottom of it. @Wojtek I'd need a complete debug log (wiki) catching when that issue starts to hopefully see what's happening. RE: YouTube Plug-in Thread - r0ck0 - 2020-02-15 I've been having an issue with youtube videos pausing and the screen flashing black during the first few seconds of playing. I can't seem to figure out whats causing the problem. It seems like a refresh rate switch but it didn't always do this. |