2014-11-16, 23:01
(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)
(2014-11-16, 21:40)Scooby-2 Wrote: It's not working on latest download of XBMC for Rapberry Pi. When you choose "Youtube" it freezes with the screen saying "Working" and if you try to cancel out it reboots the server. Tried with the standard install, also tried version 4.5.9 installed from a zip file.
It works for me on openelec 4.0.7 on raspberry Pi!! many thanks.
just one more question: when I try to download some videos from the youTube plugin, the download starts and completes without problems but the file remains in the folder /storage/.xbmc/userdata/addon_data/script.module.simple.downloader/ and the log says "ERROR: MoveFile - cant move file /storage/.xbmc/userdata/addon_data/script.module.simple.downloader/XXXX trying lower case/storage/.xbmc/userdata/addon_data/script.module.simple.downloader/XXXXX"
Could it be due to related to the same problem?
Thanks a lot.