2014-11-15, 22:20
(2014-11-15, 14:52)tomer953 Wrote:(2014-11-15, 13:38)redviolet Wrote: VEVO problem is caused by a change in the way google generates signatures.
This code is the one creating a signature now, and current YoutubePlayer.py parser doesn't catch it.
Code:a.set("signature",cr(c));return a
This patch works for me, but further feedback will be welcome, especially if you can come up with a better regexp.
Code:--- a/YouTubePlayer.py
+++ b/YouTubePlayer.py
@@ -467,7 +467,7 @@ class YouTubePlayer():
return ''
# get main function name
- match = re.search("signature=([$a-zA-Z]+)\([^)]\)", playerData)
+ match = re.search("set..signature..([$a-zA-Z]+)\([^)]\)", playerData)
if match:
mainFunName = match.group(1)
Great!
I Uploaded the modified file to here
https://drive.google.com/file/d/0B8R_P39...sp=sharing
Just Replace it with YouTubePlayer.py in AppData\Roaming\XBMC\addons\plugin.video.youtube
and restrart XBMC.
Enjoy all
it works! thank you redviolet