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 - pmolson - 2012-12-29 (2012-12-29, 10:53)wmansir Wrote: You can get the official 1.4.0 files here : http://hg.tobiasussing.dk/hgweb.cgi/commonxbmc/file/dfbae7630ede Thanks Man! Downloaded it, renamed it to match "script.module.parsedom", and replaced the old one in xbmc/addons, still getting the script failed error!! RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - vikjon0 - 2012-12-29 Maybe a separate thread for people trying random actions to fix it? Also, pleae no more posts like "login does not work, any tip?" RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - dbohdan - 2012-12-29 (2012-12-29, 08:41)redux25 Wrote: YouTube plugin stopped working completely. Receive script failed error attempting anything. Hey, everyone! I ran into the same issue today with my Ubuntu 12.04-running HTPC and Ubuntu's latest stock version of XBMC. Below is a step-by-step walkthrough of how I fixed it. This assumes you're running Ubuntu; other OSes (or perhaps even distributions of GNU/Linux) might have the same files in different locations. See the end of this post for what to do on Windows. Advanced users may want to go directly to the code diff near the end of the post. This fix assumes you have parsedom 1.5. If you've rolled back to parsedom 1.4 you need to restore 1.5 first. And now for the step-by-step instructions:
Code: nano -wc ~/.xbmc/addons/script.module.parsedom/lib/CommonFunctions.py Code: gedit ~/.xbmc/addons/script.module.parsedom/lib/CommonFunctions.py Code: pluma ~/.xbmc/addons/script.module.parsedom/lib/CommonFunctions.py Now, for those of you who are more technically inclined here is the diff: Code: $ diff /home/media/.xbmc/addons/script.module.parsedom/lib/CommonFunctions.py.old /home/media/.xbmc/addons/script.module.parsedom/lib/CommonFunctions.py Update for Windows users: I haven't tried it myself but on Windows 7 and Vista you should be able to apply this fix by opening the file C:\Users\<YourUserName>\AppData\Roaming\XBMC\addons\script.module.parsedom\lib\CommonFunction​s.py with your text editor of choice. Once you've done that proceed to execute steps 4 and 5 from the step-by-step instructions above. On Windows XP look for XBMC's folder under C:\Documents and Settings\<YourUserName>\Application Data. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - pmolson - 2012-12-29 Can someone please provide a similar fix, but for atv2 and windows? Thanks Gurus! RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - eviltoy - 2012-12-29 Hi Guys Having a script error when trying to view youtube videos. OS windows home server 2012 running XBMC Eden Logs are 13:39:49 T:1868 NOTICE: -->Python Interpreter Initialized<-- 13:39:49 T:1868 NOTICE: YouTube-3.3.0 13:39:49 T:1868 NOTICE: CommonFunctions Beta-1.5.0 13:39:49 T:1868 ERROR: Error Type: <type 'exceptions.ValueError'> 13:39:49 T:1868 ERROR: Error Contents: invalid literal for float(): 11.0 Git:20120321 13:39:49 T:1868 ERROR: Traceback (most recent call last): File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 107, in <module> params = common.getParameters(sys.argv[2]) File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.module.parsedom\lib\CommonFunctions.py", line 110, in getParameters if getXBMCVersion() >= 12.0: File "C:\Users\Administrator\AppData\Roaming\XBMC\addons\script.module.parsedom\lib\CommonFunctions.py", line 102, in getXBMCVersion version = float(version) ValueError: invalid literal for float(): 11.0 Git:20120321 13:39:49 T:6348 ERROR: XBMC.PlayMedia could not play media: plugin://plugin.video.youtube/?path=/root/search&action=play_video&videoid=O6JjPYzAF40 ***************edit fix above worked for me just had to change line 102 RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - migube - 2012-12-29 Hi guys I installed the Firefox & Chrome plug-ins , and both display Xbmc when I click on my browser to e.g. login to youtube. But, when viewing a video on the browser, no xbmc icon appear to send it to xbmc. I configured my IP:80 (no usernames) in the options. I'm using latest versions of FF & Chrome. Any ideas why no icon appear? tx edit: found http://forum.xbmc.org/showthread.php?tid=79487&pid=1270891#pid1270891 now the button appears, but doesn't do much , according to xbmc.log nothing to be seen RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - vikjon0 - 2012-12-29 1) The new version is in the process of being released. If you cannot deal with a manual install wait for it. 2) I think you should move the discussion about beta installations to a separate thread. I should have a realized this would derail when I triggered it, My bad. 3) Why the f post "I cant login" after page after page of post of people whining about not being able to login? If you cant add something then dont post. 4) By the way, if you download a beta and it says it depends on a beta version of something else...do not f*ck with the dependency. Download the depencency of the correct version. You need to download 4 components. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - davidjm - 2012-12-29 Thanks dbohdan your fix worked for me on windows. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - E-Hoog - 2012-12-29 (2012-12-29, 16:05)davidjm Wrote: Thanks dbohdan your fix worked for me on windows. Same here, thanks! RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - wwe1 - 2012-12-29 hi davidjm can you help me i have windows 7 64 bit and i am confused with the fix for windows could you make it easier for me as i dont know what to change many thanks wwe RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - E-Hoog - 2012-12-29 (2012-12-29, 18:08)wwe1 Wrote: hi davidjm can you help me i have windows 7 64 bit and i am confused with the fix for windows could you make it easier for me as i dont know what to change Just look at a few post above http://forum.xbmc.org/showthread.php?tid=79487&pid=1279612#pid1279612 At the bottom you'll find what to do. This worked for me. Just open that file (I found that Wordpad worked best for me) and change the indicated line (just use the search function of Wordpad). RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - ranger0293 - 2012-12-29 Thanks dbohdan for the manual fix. Subscriptions are working fine now. Much appreciated. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - styleito - 2012-12-29 (2012-12-29, 12:03)dbohdan Wrote: [*] Now, edit it to look exactly like below, except for aforementioned four spaces in front: Thank you very much. This worked perfectly and also fixed my Vimeo plugin. RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - pmolson - 2012-12-29 Thank You dbohdan!!!! Your workaround has been confirmed to fix this issue on Windows 7 & ATV2!!!! Cheers! RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - vijayk416 - 2012-12-29 Fix works perfect on OpenELEC 2.0 ION x64. Props to dbohdan for the fast patch! |