• 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 49
[RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins
(2016-06-01, 22:57)teepean Wrote: I was looking through the Android Areena player's source code and found this. I have no idea if it is useful or not.

Code:
{
  "pixelUrl": "https://dax.yle.fi/yle/app/s?",
  "metricsApiUrl": "https://metrics.api.yle.fi/v2/",
  "channelsUrlNew": "https://areena.api.yle.fi/v1/config",
  "categoriesUrlNew": "https://areena.api.yle.fi/v1/config",
  "appUIUrl": "https://areena.api.yle.fi",
  "areenaApiBaseUrl": "https://areena.api.yle.fi/v1/",
  "programsApiBaseUrl": "https://programs.api.yle.fi/v1/",
  "mediaApiBaseUrl": "https://media.api.yle.fi/v1/",
  "locationsApiBaseUrl": "http://locations.api.yle.fi/v1/",
  "shareBaseUrl": "http://areena.yle.fi/",
  "shareBaseUrlSv": "http://arenan.yle.fi/",
  "imageApiBaseUrl": "https://images.cdn.yle.fi/image/upload",
  "loginApiBaseUrlNew": "https://login.api.yle.fi/v1/",
  "liveRadioQualities": [
  {
    "bitrate": 64000,
    "title": {
      "fi": "Matala",
      "sv": "LÃ¥g",
      "en": "Low"
    }
    },
    {
      "bitrate": 128000,
      "title": {
        "fi": "Normaali",
        "sv": "Normal",
        "en": "Normal"
      }
    }
    ],
    "videoBitrates":[
    450000,
    800000,
    1200000,
    1600000,
    3000000
    ],
    "maxVideoBitrate": 0,
    "playerToUse": "akamai",
    "playerToUseLive": "akamai",
    "useOMX": "true",
    "minVer": 1036,
    "pkgNameOfNewVer": "com.yle.webtv",
    "useSpring": "true",
    "springAppName": "areena/android",
    "springPrefix": "areena/",
    "specialConfigs": [
    {
      "manufacturer": "sample",
      "model": "model",
      "version": "1.4.4",
      "maxVideoBitrate":9000000,
      "playerToUse":"akamai"
      },
      {
        "name": "lollipop",
        "version": "5",
        "playerToUse":"akamai",
        "useOMX":"false"
        },
        {
          "name": "Samsung",
          "manufacturer": "Samsung",
          "playerToUse":"native",
          "playerToUseLive":"akamai"
        }
        ],
        "resolutionLimits":{
          "801": 1200000,
          "1280": 1600000
          },
          "useSola": "true",
          "solaConfigUrl": "http://ma520-r.analytics.edgesuite.net/config/beacon-6641.xml",
          "solaLiveConfigUrl": "http://ma520-r.analytics.edgesuite.net/config/beacon-6641.xml",
          "solaOnDemandConfigUrl": "http://ma648-r.analytics.edgesuite.net/config/beacon-7920.xml",
          "metricsTimeout": 10
        }

http://yle.fi/global/apps/android/areena...ation.json

I played today with the developer API. It seems that most of the stuff in Areena are still under internal API like Android API above. There is absolutely no documentation how to get live streams for radio or TV. I tried many combinations without success. Your GENRE_ID list is really great but also uses internal API. Hopefully external official API receives some additions to become more useful.
Reply
(2016-06-02, 13:50)mize Wrote:
(2016-06-01, 22:57)teepean Wrote: I was looking through the Android Areena player's source code and found this. I have no idea if it is useful or not.

Code:
{
  "pixelUrl": "https://dax.yle.fi/yle/app/s?",
  "metricsApiUrl": "https://metrics.api.yle.fi/v2/",
  "channelsUrlNew": "https://areena.api.yle.fi/v1/config",
  "categoriesUrlNew": "https://areena.api.yle.fi/v1/config",
  "appUIUrl": "https://areena.api.yle.fi",
  "areenaApiBaseUrl": "https://areena.api.yle.fi/v1/",
  "programsApiBaseUrl": "https://programs.api.yle.fi/v1/",
  "mediaApiBaseUrl": "https://media.api.yle.fi/v1/",
  "locationsApiBaseUrl": "http://locations.api.yle.fi/v1/",
  "shareBaseUrl": "http://areena.yle.fi/",
  "shareBaseUrlSv": "http://arenan.yle.fi/",
  "imageApiBaseUrl": "https://images.cdn.yle.fi/image/upload",
  "loginApiBaseUrlNew": "https://login.api.yle.fi/v1/",
  "liveRadioQualities": [
  {
    "bitrate": 64000,
    "title": {
      "fi": "Matala",
      "sv": "LÃ¥g",
      "en": "Low"
    }
    },
    {
      "bitrate": 128000,
      "title": {
        "fi": "Normaali",
        "sv": "Normal",
        "en": "Normal"
      }
    }
    ],
    "videoBitrates":[
    450000,
    800000,
    1200000,
    1600000,
    3000000
    ],
    "maxVideoBitrate": 0,
    "playerToUse": "akamai",
    "playerToUseLive": "akamai",
    "useOMX": "true",
    "minVer": 1036,
    "pkgNameOfNewVer": "com.yle.webtv",
    "useSpring": "true",
    "springAppName": "areena/android",
    "springPrefix": "areena/",
    "specialConfigs": [
    {
      "manufacturer": "sample",
      "model": "model",
      "version": "1.4.4",
      "maxVideoBitrate":9000000,
      "playerToUse":"akamai"
      },
      {
        "name": "lollipop",
        "version": "5",
        "playerToUse":"akamai",
        "useOMX":"false"
        },
        {
          "name": "Samsung",
          "manufacturer": "Samsung",
          "playerToUse":"native",
          "playerToUseLive":"akamai"
        }
        ],
        "resolutionLimits":{
          "801": 1200000,
          "1280": 1600000
          },
          "useSola": "true",
          "solaConfigUrl": "http://ma520-r.analytics.edgesuite.net/config/beacon-6641.xml",
          "solaLiveConfigUrl": "http://ma520-r.analytics.edgesuite.net/config/beacon-6641.xml",
          "solaOnDemandConfigUrl": "http://ma648-r.analytics.edgesuite.net/config/beacon-7920.xml",
          "metricsTimeout": 10
        }

http://yle.fi/global/apps/android/areena...ation.json

I played today with the developer API. It seems that most of the stuff in Areena are still under internal API like Android API above. There is absolutely no documentation how to get live streams for radio or TV. I tried many combinations without success. Your GENRE_ID list is really great but also uses internal API. Hopefully external official API receives some additions to become more useful.

You can decompile the Android app to get a full source code.
Reply
I would like to give many thanks for the live streams. I was able to watch last night's football in glorious 720p!
Reply
I noticed that out of the blue, my Areena-plugin stopped working. First I suspected, that it had something to do with changing to LibreElec while ago, but after installing OpenElec and entering the keys again, no luck. Then I removed the plugin manually and installed it again, but no luck. Then I went digging in to the log, and found out, that I was gettin 401 answers from yle, so I suspected that something corrupted my keys. I went to yle site and check my keys, but they were correct. Then I tested the keys with yles own link and it gave me the same 401 error, so I contacted yle and they confirmed they have some problems in their own systems, so the error was not in the plugin or my keys,

Could it be possible to get some meaningfull error from the plugin in Kodi, when the authorization fails, so in the future I don't have to reinstall everything because of non-woking keys?

Edit: posted here so that if anyone else has same problem they could check their keys on yle key-site, and posted also to github as issue.

Edit2: Yle reported that the keys should be now working. Have to test when I get back home.
Reply
Thank you for the hard work on the plugins.

I do have a issue with Areena plugin though. I'm using the latest Hirsivaja API plugin.

The text is overlapping in listing, please see the screenshot.

Note that I'm using larger font because my wife's eyesight isn't the greatest.

The screenshot: https://1drv.ms/i/s!AnOgFwOW82ZhxoFtwcFs4ZQMq3T5oA
Reply
(2016-06-18, 22:43)Faravid Wrote: The text is overlapping in listing, please see the screenshot.

Note that I'm using larger font because my wife's eyesight isn't the greatest.

The screenshot: https://1drv.ms/i/s!AnOgFwOW82ZhxoFtwcFs4ZQMq3T5oA

If you disable the "Show extra info about streams" from the settings the large font should be usable.
Reply
(2016-06-19, 21:41)hirsivaja Wrote:
(2016-06-18, 22:43)Faravid Wrote: The text is overlapping in listing, please see the screenshot.

Note that I'm using larger font because my wife's eyesight isn't the greatest.

The screenshot: https://1drv.ms/i/s!AnOgFwOW82ZhxoFtwcFs4ZQMq3T5oA

If you disable the "Show extra info about streams" from the settings the large font should be usable.

Ok, thanks.

Any chance extra info will be supported with the larger font in the future?
Reply
(2016-06-22, 22:18)Faravid Wrote:
(2016-06-19, 21:41)hirsivaja Wrote:
(2016-06-18, 22:43)Faravid Wrote: The text is overlapping in listing, please see the screenshot.

Note that I'm using larger font because my wife's eyesight isn't the greatest.

The screenshot: https://1drv.ms/i/s!AnOgFwOW82ZhxoFtwcFs4ZQMq3T5oA

If you disable the "Show extra info about streams" from the settings the large font should be usable.

Ok, thanks.

Any chance extra info will be supported with the larger font in the future?

I cant see any point add extra info in same row as program names.
Just change your settings:
Asetukset => Videot => Tiedostolistat => Oletustoiminto valittaessa: Näytä tietoa
After that...every time when you choose video ,Kodi shows info
Once I thought I was mistaken, but I was mistaken.
Don't say thanks, if I helped, just rate my reputation =)
Reply
I have a Vu+ Duo2 receiver with Open ATV 5.3 installed. It has also Kodi 16.1 (Jarvis) plugin. Within Kodi I have installed Areena API 2.3.2 and keyed in the API keys which came from YLE. I can see the YLE live channels OK but Areena contents I can't see, only the error message shows up when I select Areena TV programs. Should Areena API work in this kind of set up at all or have I missed something?
Reply
(2016-07-15, 16:40)mark346 Wrote: I have a Vu+ Duo2 receiver with Open ATV 5.3 installed. It has also Kodi 16.1 (Jarvis) plugin. Within Kodi I have installed Areena API 2.3.2 and keyed in the API keys which came from YLE. I can see the YLE live channels OK but Areena contents I can't see, only the error message shows up when I select Areena TV programs. Should Areena API work in this kind of set up at all or have I missed something?

I haven't tried with that specific device, but it should work with most devices capable of running Kodi. From the readme:
Quote:For users of Kodi 16: Set maximum resolution to anything other than Automatic. The setting can be found from the advanced tab of the settings menu. This solves the issue of videos restricted to Finland not showing.
Have you tried that?

What is the error message you get? Please provide the relevant log messages for debugging the issue.
Reply
Thank you hirsivaja for your answer! Yes I have set the maximum resolution into all possible alternatives but that seems not to have any effect. The error seems to be that the "Certificate Verify Failed". What is the reason to this I don't know. What puzzles me is that the live channels come through quite OK.

Below is the log:


Code:
19:32:12 T:1976807968  NOTICE: special://profile/ is mapped to: special://masterprofile/
19:32:12 T:1976807968  NOTICE: -----------------------------------------------------------------------
19:32:12 T:1976807968  NOTICE: Starting Kodi (16.1-RC2 Git:2016-04-19-528f9f8-dirty). Platform: Linux MIPS 32-bit
19:32:12 T:1976807968  NOTICE: Using Release Kodi x32 build
19:32:12 T:1976807968  NOTICE: Kodi compiled Apr 19 2016 by GCC 5.3.0 for Linux MIPS 32-bit version 3.13.0 (199936)
19:32:12 T:1976807968  NOTICE: Running on Unknown Linux Distribution 0.0, kernel: Linux MIPS 32-bit version 3.13.5
19:32:12 T:1976807968  NOTICE: FFmpeg version: 2.8.6-kodi-2.8.6-Jarvis-16.0
19:32:12 T:1976807968  NOTICE: Host CPU: BCM7425B2 STB platform, 2 cores available
19:32:12 T:1976807968  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
19:32:12 T:1976807968  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
19:32:12 T:1976807968  NOTICE: special://masterprofile/ is mapped to: /media/hdd/.kodi/userdata
19:32:12 T:1976807968  NOTICE: special://home/ is mapped to: /media/hdd/.kodi
19:32:12 T:1976807968  NOTICE: special://temp/ is mapped to: /tmp/kodi
19:32:12 T:1976807968  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
19:32:12 T:1976807968  NOTICE: Local hostname: vuduo2
19:32:12 T:1976807968  NOTICE: Log File is located: /tmp/kodi/kodi.log
19:32:12 T:1976807968  NOTICE: -----------------------------------------------------------------------
19:32:12 T:1976807968  NOTICE: load settings...
19:32:12 T:1976807968 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
19:32:12 T:1976807968  NOTICE: Change AESink retry count..
19:32:12 T:1976807968  NOTICE: AESink retry count - 1
19:32:12 T:1976807968  NOTICE: No Devices found - retry: 1
19:32:14 T:1976807968  NOTICE: Found 0 Lists of Devices
19:32:14 T:1976807968  NOTICE: Change AESink retry count..
19:32:14 T:1976807968  NOTICE: AESink retry count - 1
19:32:14 T:1976807968  NOTICE: No Devices found - retry: 1
19:32:15 T:1976807968  NOTICE: Found 0 Lists of Devices
19:32:15 T:1976807968  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
19:32:15 T:1976807968  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
19:32:15 T:1976807968  NOTICE: Default DVD Player: dvdplayer
19:32:15 T:1976807968  NOTICE: Default Video Player: dvdplayer
19:32:15 T:1976807968  NOTICE: Default Audio Player: paplayer
19:32:15 T:1976807968  NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:32:15 T:1976807968  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
19:32:15 T:1976807968  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:32:15 T:1976807968  NOTICE: Loaded playercorefactory configuration
19:32:15 T:1976807968  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:32:15 T:1976807968  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:32:16 T:1976804400  NOTICE: Change AESink retry count..
16:32:16 T:1976804400  NOTICE: AESink retry count - 1
16:32:16 T:1976804400  NOTICE: No Devices found - retry: 1
16:32:17 T:1976804400  NOTICE: Found 0 Lists of Devices
16:32:17 T:1976807968  NOTICE: Running database version Addons20
16:32:17 T:1976807968  NOTICE: ADDONS: Using repository repository.xbmc.org
16:32:17 T:1976807968  NOTICE: ADDONS: Using repository repository.finnish-tv
16:32:17 T:1976807968  NOTICE: InitWindowSystem: Using EGL Implementation: vuplus
16:32:17 T:1976807968  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
16:32:17 T:1976807968  NOTICE: Previous line repeats 2 times.
16:32:17 T:1976807968  NOTICE: Found ([email protected]) at 16, setting to RES_DESKTOP at 16
16:32:17 T:1976807968  NOTICE: Checking resolution 16
16:32:17 T:1976807968  NOTICE: GL_VENDOR = Broadcom
16:32:17 T:1976807968  NOTICE: GL_RENDERER = VideoCore IV HW (V3D-420)
16:32:17 T:1976807968  NOTICE: GL_VERSION = OpenGL ES 2.0
16:32:17 T:1976807968  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
16:32:17 T:1976807968  NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_APPLE_rgb_422 GL_OES_packed_depth_stencil GL_EXT_debug_marker GL_EXT_multisampled_render_to_texture GL_EXT_texture_format_BGRA8888
16:32:19 T:1976807968  NOTICE: Running database version Addons20
16:32:19 T:1976807968  NOTICE: Running database version ViewModes6
16:32:19 T:1976807968  NOTICE: Running database version Textures13
16:32:19 T:1976807968  NOTICE: Running database version MyMusic56
16:32:19 T:1976807968  NOTICE: Running database version MyVideos99
16:32:19 T:1976807968  NOTICE: Running database version TV29
16:32:19 T:1976807968  NOTICE: Running database version Epg11
16:32:19 T:1976807968 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
16:32:19 T:1976807968  NOTICE: ActiveAE DSP - starting
16:32:20 T:1976807968  NOTICE: initialize done
16:32:20 T:1976807968  NOTICE: Running the application...
16:32:21 T:1976807968  NOTICE: starting zeroconf publishing
16:32:21 T:1976807968  NOTICE: starting upnp client
16:32:21 T:1518072880  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
16:32:21 T:1518072880  NOTICE: UDP: Listening on port 9777
16:32:38 T:1622144048   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
                                            Traceback (most recent call last):
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 933, in <module>
                                                router(sys.argv[2][1:])
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 914, in router
                                                list_categories(base_category)
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 145, in list_categories
                                                listing = list_sub_categories(base_category)
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 158, in list_sub_categories
                                                categories = get_categories()
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 86, in get_categories
                                                return get_areena_api_json_data('programs', 'categories.json', [])
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 64, in get_areena_api_json_data
                                                response = get_url_response(url)
                                              File "/media/hdd/.kodi/addons/plugin.video.areena-master/main.py", line 704, in get_url_response
                                                raise error
                                            IOError: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
                                            -->End of Python script error report<--
16:32:38 T:1976807968   ERROR: GetDirectory - Error getting plugin://plugin.video.areena/?action=categories&base=5-130
16:32:38 T:1976807968   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.areena/?action=categories&base=5-130) failed
16:32:53 T:1976807968  NOTICE: Storing total System Uptime
16:32:53 T:1976807968  NOTICE: Saving settings
16:32:53 T:1976807968  NOTICE: stop all
16:32:53 T:1976807968  NOTICE: stop player
16:32:53 T:1976807968  NOTICE: ES: Stopping event server
16:32:53 T:1976807968  NOTICE: stopping upnp
16:32:53 T:1976807968  NOTICE: stopping zeroconf publishing
16:32:54 T:1518072880  NOTICE: ES: UDP Event server stopped
16:32:54 T:1976807968  NOTICE: stop sap announcement listener
16:32:54 T:1976807968  NOTICE: clean cached files!
16:32:54 T:1976807968  NOTICE: unload skin
Reply
(2016-06-23, 10:26)JPXNET Wrote:
(2016-06-22, 22:18)Faravid Wrote:
(2016-06-19, 21:41)hirsivaja Wrote: If you disable the "Show extra info about streams" from the settings the large font should be usable.

Ok, thanks.

Any chance extra info will be supported with the larger font in the future?

I cant see any point add extra info in same row as program names.
Just change your settings:
Asetukset => Videot => Tiedostolistat => Oletustoiminto valittaessa: Näytä tietoa
After that...every time when you choose video ,Kodi shows info

Thanks, info screen as default is really handy to have, haven't noticed that before!
Reply
(2016-07-17, 21:05)mark346 Wrote: Thank you hirsivaja for your answer! Yes I have set the maximum resolution into all possible alternatives but that seems not to have any effect. The error seems to be that the "Certificate Verify Failed". What is the reason to this I don't know. What puzzles me is that the live channels come through quite OK.

This is a quite long after you asked the question, but I added an option to disable the HTTPS-connections. You might try that to see if it solves your problem. Normally the HTTPS should be used, it is also recommended by Yle.
Reply
New version of the plugin is now available.
New features:
  • Folders to favourites. This helps organizing the favourites when there are a lot of those.
  • Thumbnails for series
Reply
Having playback problems with the plugin.

I have to initiate playback on a item twice before it starts to play.

Sometimes I get playback failed error, sometimes playback just stops just after it starts. If I get the playback failed error, the video may play until I confirm the error.

Using the latest version released 20.9.2016.
Reply
  • 1
  • 38
  • 39
  • 40(current)
  • 41
  • 42
  • 49

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Finnish TV: YleAreena and Ruutu (Video) plugins8