Kodi Community Forum
[RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins (/showthread.php?tid=144457)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - teepean - 2016-04-15

(2016-04-14, 21:16)savis21 Wrote:
(2016-04-13, 18:23)teepean Wrote:
(2016-04-13, 16:52)savis21 Wrote: I can list tv programs OK. But this decryption key can be the reason.
I asked from YLE developer, that my api keys are ok. Developer tried my keys and they should be ok,
I made credentials.py script edition with nano in OE, so CR/LF should not be the case.

How I could proceed with this? If someone could try my api keys etc.? I could send them privately or something (?).

I can give it a go if you send the keys.
teepean tried my keys and didn't get them working also. So i contacted to yle again, they tested them and said, that my api key and decryption key are ok. Hmm..

Couldn't they just generate a new set for you? And I really do not understand why they do not work with Kodi. Is there any other way to test the keys?


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - iikkak - 2016-04-15

hmm, raspberry pi 2, kodi 17.0 -alpha1 git:1b71303 and i can get the plugin working without any text on the "folders", and cannot view any videos. when starting a video, nothing happens, not a prompt or anything.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - hirsivaja - 2016-04-16

(2016-04-15, 22:03)iikkak Wrote: hmm, raspberry pi 2, kodi 17.0 -alpha1 git:1b71303 and i can get the plugin working without any text on the "folders", and cannot view any videos. when starting a video, nothing happens, not a prompt or anything.

Please provide full debug logs. It would be nice if you could create a new issue to https://github.com/hirsivaja/plugin.video.areena/issues. Also I will probably notice issues posted in GitHub faster than those only posted in this thread.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - hirsivaja - 2016-04-16

(2016-04-13, 20:53)Pyko Wrote: But I was able to solve it for this plugin and for others by slapping this code snippet on the main.py of the plugins.
Yes, the newer Python versions force the checking of the certificate on HTTPS connections. I will probably add that code snipped to the plugin as it also works with older versions of Python.

(2016-04-14, 07:27)Huxely Wrote: The sorting could be improved. If you use series search, you can find the series you want as a directory, and not only separate episodes. If the TV Show directory would list the contents same way, as series directories and the separate episodes inside them, it would rock. For example if you open TV Shows - Foreign - you would get about ten separate directories named after the series, which would contain the separate episodes. Currently you get all the episodes from all the series.

I dont know if it is easy to implement in the TV Show listing, or could we use the Series search with some wildcards or tags to show all the relevant shows in separate categories. Like make search of all the foreign shows, documentaries, kids shows and get a more compact list that way.

The public Yle API doesn't seem to support retrieving a list of series based on the category. But an alternative solution could be to parse this web page http://areena.yle.fi/tv/a-o. Could you create an issue to GitHub describing the feature? https://github.com/hirsivaja/plugin.video.areena/issues

(2016-04-15, 09:09)teepean Wrote:
(2016-04-14, 21:16)savis21 Wrote:
(2016-04-13, 18:23)teepean Wrote: I can give it a go if you send the keys.
teepean tried my keys and didn't get them working also. So i contacted to yle again, they tested them and said, that my api key and decryption key are ok. Hmm..

Couldn't they just generate a new set for you? And I really do not understand why they do not work with Kodi. Is there any other way to test the keys?

Which decryption library did you try? The PyCrypto or PyAES included in the plugin? I can also take a look at the keys if you (savis) PM those...


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - savis21 - 2016-04-17

(2016-04-16, 11:14)hirsivaja Wrote: Which decryption library did you try? The PyCrypto or PyAES included in the plugin? I can also take a look at the keys if you (savis) PM those...
Thanks hirsivaja, i sent you keys as PM. If you cannot get them working also, then 3 persons failure is good enough proof, that keys are not valid. Let's see...

I use Openelec 6.0.3 with RPi 2 and i am not 100% sure, is PyCrypto version 2.6 or 2.6.1.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Huxely - 2016-04-18

Can anyone get the plugin to show plot info belonging to any of the videos?

I've tried at least four different skins and fiddled around the Kodi and plugin settings, but cant seem to get any "plot" info to shoiw up on the UI. Is there any videos that anyone can get to show their plot info on any field in Kodi. I've tried lot of skins with different version of OE 6 to 7Alpha and videos from many categories like Poirot, Vera Stanhope tutkii, Smack the pony and Pasila.

(this and the sorting improvement idea submitted also to Github)


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - BoxFreak - 2016-04-18

Same problem here. It would be nice at least see what episode of the series it is. For example Strömsö I don't see any info about episode (when aired and so on). Only expiration time is visible. I'm using ReFocus- skin.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - hirsivaja - 2016-04-18

(2016-04-17, 12:51)savis21 Wrote:
(2016-04-16, 11:14)hirsivaja Wrote: Which decryption library did you try? The PyCrypto or PyAES included in the plugin? I can also take a look at the keys if you (savis) PM those...
Thanks hirsivaja, i sent you keys as PM. If you cannot get them working also, then 3 persons failure is good enough proof, that keys are not valid. Let's see...

I use Openelec 6.0.3 with RPi 2 and i am not 100% sure, is PyCrypto version 2.6 or 2.6.1.

I tried your keys with the Yle instructions on their web page http://developer.yle.fi/tutorial-playing-a-program/ It would not decrypt the url. So the problem is not with the addon, it is either wrong app id and key or wrong decryption key. Please ask the guys from Yle if they can indeed decrypt the url successfully with their own instructions or not.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - hirsivaja - 2016-04-18

(2016-04-18, 06:36)Huxely Wrote: Can anyone get the plugin to show plot info belonging to any of the videos?

I've tried at least four different skins and fiddled around the Kodi and plugin settings, but cant seem to get any "plot" info to shoiw up on the UI. Is there any videos that anyone can get to show their plot info on any field in Kodi. I've tried lot of skins with different version of OE 6 to 7Alpha and videos from many categories like Poirot, Vera Stanhope tutkii, Smack the pony and Pasila.

(this and the sorting improvement idea submitted also to Github)

I fixed the issue with the plot. Please try the newest version of the plugin to verify. The sorting needs a bit more work to do so it will take longer to implement...


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Huxely - 2016-04-18

Plots working, at least for Poirots an Vera. Awesome work again. Can't wait to see what magic you'll spin with the sorting. Big thanks.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - ikke-t - 2016-04-19

Hei, YLE people are well reachable via some, let's try getting them involved here. I'll try twitter to begin with.

Lähetetty minun E5823 laitteesta Tapatalkilla


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - Ryderio - 2016-04-19

Hi!

Thank you hirsivaja for excellent work!

I have a small problem, almost every video works fine, except the series "Satisfaction". Here is the log: http://pastebin.com/sAG5L1rB

Version is the latest from github. Openelec 6.0.3, Isengard 15.2.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - hirsivaja - 2016-04-20

(2016-04-19, 20:30)Ryderio Wrote: Hi!

Thank you hirsivaja for excellent work!

I have a small problem, almost every video works fine, except the series "Satisfaction". Here is the log: http://pastebin.com/sAG5L1rB

Version is the latest from github. Openelec 6.0.3, Isengard 15.2.

Unfortunately that particular series is SecureHD protected and is not accessible through the Yle API. You need to use some other client to watch that series.

Code:
"contentProtection": [
            {
              "id": "22-3",
              "type": "ContentProtectionPolicy"
            }
          ]

From the API documentation: 22-2 (DRM protected) and 22-3 (SecureHD) are not available through the API.

I will probably add some check to the plugin so that the user is shown some reasonable notification about this...


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - ikke-t - 2016-04-21

Yay, I got msg back from YLE that they found the issue with keys.


RE: [RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins - savis21 - 2016-04-22

(2016-04-18, 19:32)hirsivaja Wrote:
(2016-04-17, 12:51)savis21 Wrote:
(2016-04-16, 11:14)hirsivaja Wrote: Which decryption library did you try? The PyCrypto or PyAES included in the plugin? I can also take a look at the keys if you (savis) PM those...
Thanks hirsivaja, i sent you keys as PM. If you cannot get them working also, then 3 persons failure is good enough proof, that keys are not valid. Let's see...

I use Openelec 6.0.3 with RPi 2 and i am not 100% sure, is PyCrypto version 2.6 or 2.6.1.

I tried your keys with the Yle instructions on their web page http://developer.yle.fi/tutorial-playing-a-program/ It would not decrypt the url. So the problem is not with the addon, it is either wrong app id and key or wrong decryption key. Please ask the guys from Yle if they can indeed decrypt the url successfully with their own instructions or not.
Thanks teepan and hirsivaja. I contacted again to YLE and they found, that API page gave me wrong decryption key. Now everything is ok. Thanks a lot really dudes for help!