szymex / xbmc-finnish-tv

XBMC Video Plugins for playing Finnish television content containers.
GNU General Public License v3.0
31 stars 38 forks source link

Update Yle Areena to use the new Areena API #85

Open amergin opened 8 years ago

amergin commented 8 years ago

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.

tigert commented 8 years ago

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.

amergin commented 8 years ago

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?

Hemmu commented 8 years ago

I have started to work on a plugin based on the official api: https://github.com/Hemmu/plugin.video.areena