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 v5.X.X - KODI 14.X Helix - Levi59 - 2015-08-22 (2015-08-14, 16:50)Levi59 Wrote: Hi ! Still the same for me... inusable in current state RE: YouTube v5.X.X - KODI 14.X Helix - tom66 - 2015-08-22 Getting this log message when trying to play certain music videos. Suspect some change to YouTube website has borked plugin: Code: 09:26:45 T:1516217376 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- Does anyone have a workaround? I was thinking of just modifying the code to ignore a missing "title" attribute for now until an update is released. Don't know if other keys are missing. RE: YouTube v5.X.X - KODI 14.X Helix - jdf76 - 2015-08-22 Yah i got that error too. It seems to be the videos dealing with Authentic Music Videos. Just to see it isn't some weird encoded video i did this check. I got this error specifically with 2 A-ha videos and 1 Kaskade Video (his latest one). Yes i have weird tastes (I apologize if this is not the right output for the following text.) Code: jdf@Yosemite ~]$ youtube-dl https://www.youtube.com/watch?v=a3ir9HC9vYg I don't know what the differences but i'm glad it's just not me. Thanks Jeff RE: YouTube v5.X.X - KODI 14.X Helix - tom66 - 2015-08-22 OK for anyone with this problem. It seems certain new streams in VEVO or YouTube Music are causing problems. A quick hack is to replace function get_video_streams in "plugin.video.youtube/resources/lib/youtube/client/youtube.py" with THIS: Code: def get_video_streams(self, context, video_id): All I have added is a line to skip over video streams without a title. Still seems to find 720p streams fine. Not sure what these do and would wait for an addon dev to fix the plugin to prevent the selection of these in the first place but if you need a quick fix this seems to work for me. Great as I have some friends visiting who love using the Raspberry Pi with YouTube. Makes for a great "smart TV"! Remember to keep the code indented properly as it is Python. RE: YouTube v5.X.X - KODI 14.X Helix - jdf76 - 2015-08-22 sometimes VIM can be such a pain in my arse (who has 8 spaces for a tab). It works like a champ Thanks for the quick fix! RE: YouTube v5.X.X - KODI 14.X Helix - tom66 - 2015-08-22 (2015-08-22, 11:27)jdf76 Wrote: sometimes VIM can be such a pain in my arse (who has 8 spaces for a tab). It works like a champ Thanks for the quick fix! everyone knows emacs is better though I used nano which uses 8 spaces for a tab too, since OSMC doesn't expose an Xorg to run a text editor. Pain in the arse trying to write larger code... RE: YouTube v5.X.X - KODI 14.X Helix - bromix - 2015-08-22 I try to look into the errors tonight. But first I'll enjoy the sunny weather with my fiancee RE: YouTube v5.X.X - KODI 14.X Helix - Mafarricos - 2015-08-22 (2015-08-22, 11:05)tom66 Wrote: OK for anyone with this problem. It seems certain new streams in VEVO or YouTube Music are causing problems. A quick hack is to replace function get_video_streams in "plugin.video.youtube/resources/lib/youtube/client/youtube.py" with THIS: Tested the 2 lines you added and works with VEVO videos. RE: YouTube v5.X.X - KODI 14.X Helix - bromix - 2015-08-22 Should work in the next update. Thanks for the hint. These VEVO videos are using some old discontinued ITAG13 (3gp video format). Now I try to optimize the quota a bit RE: YouTube v5.X.X - KODI 14.X Helix - bromix - 2015-08-22 I just pushed a beta version (via my repo)...if everything works I will publish the final 5.1.8 on Monday. Version 5.1.8~beta1 (2015-08-22) [upd] new quota shaping [fix] playback of VEVO videos - some videos still using discontinued ITAG13 [fix] show login, when an endpoint is called, which requires permissions. RE: YouTube v5.X.X - KODI 14.X Helix - amcfarla - 2015-08-22 (2015-08-22, 20:06)bromix Wrote: I just pushed a beta version (via my repo)...if everything works I will publish the final 5.1.8 on Monday. The update seems to have fixed music videos, played several including a few Vevo videos and they play now. Thanks for the quick fix. RE: YouTube v5.X.X - KODI 14.X Helix - terxw - 2015-08-23 Hi, i tried to update to newest plugin.video.youtube-5.1.8~beta2.zip, but I always get error playing youtube videos, I cannot event launch them, mostly on 3rd try i get some error window, I did sign out, sign in and still cannot play them... here is my log with 5.1.7 version: http://paste.linuxmint.com/view/qnoe And here is after update to 5.1.8: http://paste.linuxmint.com/view/ti47 Can anybody look at that? RE: YouTube v5.X.X - KODI 14.X Helix - bromix - 2015-08-23 (2015-08-23, 10:23)terxw Wrote: Hi, Please full Debug log (wiki) and if possible via pastebin.com or similar. If something plays mostly on the 3rd time, maybe trouble with the Internet? RE: YouTube v5.X.X - KODI 14.X Helix - cheztaz - 2015-08-23 Hello there, Am very new to Kodi but trying to find my way around it all. I have a ATV1 with Isengard on it. I have installed the Youtube plugin which I did without an issue, and it has added my playlists ok. The only issue I have is when trying to play the playlist, I have to play each video separately, and have no idea how to play the whole playlist one after the other. Any assistance appreciated, as finding it frustrating having to use the apple remote to scroll down and play the next item :-( Kind regards Cheryl RE: YouTube v5.X.X - KODI 14.X Helix - dkplayaclub - 2015-08-23 Can a notification be added when adding subscriptions? I would like it if I saw a message along the lines of "Subscription Added" so I know it went through. |