2015-04-29, 17:39
Hi, I LOVE this add-on and love it that developer(s) are still updating it regularly. I noticed that when trying to play the trailer of a movie, that the youtube app gives the unsupported device error because the API v2 just expired in april 2015. When I go to the youtube add on manually, everything plays well.
Now, I was looking through the code where the youtube add on is called. In the documentation of the youtube add on, I see that the endpoints have changed.
https://github.com/bromix/plugin.video.y...dpoints.md
In the default.py file on line 975
xbmc.Player().play("plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=" + match[0])
should become
xbmc.Player().play("plugin://plugin.video.youtube/play/?&videoid=" + match[0])
Could you try if this fixes the upsupported device error? I would test it myself, but I keep getting "the wrong file structure" error after I zip it on mac or linux. Thanks in advance!
Now, I was looking through the code where the youtube add on is called. In the documentation of the youtube add on, I see that the endpoints have changed.
https://github.com/bromix/plugin.video.y...dpoints.md
In the default.py file on line 975
xbmc.Player().play("plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=" + match[0])
should become
xbmc.Player().play("plugin://plugin.video.youtube/play/?&videoid=" + match[0])
Could you try if this fixes the upsupported device error? I would test it myself, but I keep getting "the wrong file structure" error after I zip it on mac or linux. Thanks in advance!