2014-06-27, 03:28
(2014-06-27, 02:07)cruise Wrote: Thanks for that link - by looking through the recent commits I was able to see what the change was. It's actually quite minor. Here's the instructions on how to fix it (I'm on Linux, so adjust accordingly).Thanks so much. That was quick
Open up ~/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py in your favourite editor, then -
line 447, change to:
match = re.search("signature=([$a-zA-Z]+)\([^)]\)", playerData)
line 455, add:
_mainFunName =mainFunName.replace('$','_S_')
line 464, change to:
fullAlgoCode += '\n\treturn %s(param)' % _mainFunName
(note, 464 is the new line line number after adding line 455)
save and quit, then delete ~/.xbmc/addons/plugin.video.youtube/YouTubePlayer.pyo to make sure your changes are picked up.
Hope my explanation is clear enough.
I'll try to edit the file. Could maybe someone also add a fixed version to the repo? Or could only the dev do that?
On my pc I know how to edit the file - but not on my appletv...