xbmc-finnish-tv
xbmc-finnish-tv copied to clipboard
Update Yle Areena to use the new Areena API
Seems that the plugin utilizes the old site's API located at http://areena-v3.yle.fi/
instead of the new one at http://areena.yle.fi/api/
. While this may work at the moment they'll probably shut down the old one at some point as the old site is being deprecated as well.
Also, due to this implementation, sending the new site's URLs via Play to kodi does not work, even though the old site links do work.
The Areena API requires you to apply for a api keys (a key to access the api, and a key to decrypt content, apparently) that could be a bit troublesome with an open source plugin.
Haven't looked into this that closely, but I do see one api key being used on their public site by the front-end. Is the key static or somehow based on the user session? If static, we could always try to use that one?
I have started to work on a plugin based on the official api: https://github.com/Hemmu/plugin.video.areena