2014-11-14, 08:52
Vevo not working here on OpenELEC 4.2.1
(2014-11-13, 15:53)VanZan Wrote: I've noticed that my YouTube history doesn't sync with my online account...I wonder is there a fix or have I buggered something on my end?
(2014-11-14, 14:00)gott_sei_dank Wrote:(2014-11-13, 15:53)VanZan Wrote: I've noticed that my YouTube history doesn't sync with my online account...I wonder is there a fix or have I buggered something on my end?
Vevo videos are probably broken because of the Youtube Music thing.
a.set("signature",cr(c));return a
--- 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)
plugin://plugin.video.youtube/?action=play_video&videoid=
(2014-11-15, 13:38)redviolet Wrote: VEVO problem is caused by a change in the way google generates signatures.Thanks very much... works great.
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)
match = re.search("signature=([$a-zA-Z]+)\([^)]\)", playerData)
match = re.search("set..signature..([$a-zA-Z]+)\([^)]\)", playerData)
(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)