Giter VIP home page Giter VIP logo

kodi-viaplay's Introduction

Viaplay for Kodi

This is a Kodi add-on that allows you to stream content from Viaplay in Kodi.

Disclaimer

This add-on is unoffical and is not endorsed or supported by Viaplay in any way. Any trademarks used belong to their owning companies and organisations.

Dependencies:

This add-on is available in the official Kodi repository and all dependencies will be installed automatically when installed from there. However, if you're installing straight from git, please make sure you've got the following modules installed:

This add-on requires Kodi 17.4 or higher with InputStream Adaptive installed. Kodi 18 is required for Android based devices.

DRM protected streams

Viaplay's content is DRM protected and requires the proprietary decryption module Widevine CDM for playback. You will be prompted to install this if you're attempting to play a stream without the binary installed.

Most Android devices have built-in support for Widevine DRM and doesn't require any additional binaries. You can see if your Android device supports Widevine DRM by using the DRM Info app available in Play Store.

Support

Please report any issues or bug reports on the GitHub Issues page. Remember to include a full, non-cut off Kodi debug log. See the Kodi wiki page for more detailed instructions on how to obtain the log file.

Additional support/discussion about the add-on can be found in the Viaplay add-on thread.

License

This add-on is licensed under the GNU GENERAL PUBLIC LICENSE Version 3. Please see the LICENSE.txt file for details.

kodi-viaplay's People

Contributors

emilsvennesson avatar eriksoderblom avatar v33m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kodi-viaplay's Issues

Hide previously aired TV programmes

When browsing channels, a lot of them show previously aired TV programmes.
I have to scroll several pages to reach the TV programme that is currently on air.

Some channels work fine (i.e. NRK1, TV2 etc).

Icon/fanart

The plugin definitely needs an icon and fanart. My own graphical skills are abysmal to say the least, and I don't want to use the official icon as that would imply that this is an officially supported plugin.

@eriksoderblom Seeing as you did some nice work on the Game Pass plugin, would you have any interest in helping out here as well? :)

"No Valid Stream URL found"

Hi, starting to get this error more and more for some reason, for example trying to watch Sevilla v Sporting Gijon from yesterday from Finnish Viaplay, and no matter how many times I try I constantly get that error followed by some items couldn't play check log blah blah, I've tried reinstalling the addon, deleting the cookie file, everything. The match plays ok in my browser, it plays ok if I choose Sweden/Denmark in the app but it's only in English on Finnish viaplay so that's the version I wanted most :)

This is my kodi log:

11:56:05.920 T:4992 ERROR: XFILE::CDirectory::GetDirectory - Error getting
11:56:09.512 T:13008 ERROR: Previous line repeats 6 times.
11:56:09.512 T:13008 ERROR: C:\Users\PRS\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
11:56:36.046 T:3716 ERROR: Previous line repeats 9 times.
11:56:36.046 T:3716 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.viaplay/?action=play_video&content=sport&streamtype=guid&playid=20419650]
11:56:38.662 T:2856 ERROR: C:\Users\PRS\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
11:56:45.145 T:3716 ERROR: Previous line repeats 3 times.
11:56:45.145 T:3716 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.viaplay/?action=play_video&content=sport&streamtype=guid&playid=20419650]

Huge thanks in advance!

Edit: I should add I was on Kodi 17 and upgraded to the latest version yesterday in the hopes it would fix the error which it didn't :(

Edit 2: Sorry I should of course add I'm using it on Windows 10 PC.

Live streams start from the beginning without audio

Trying to watch the hockey world championship final but when I click to start the game I get a screen with the Viaplay logo and "Standby - a new live event coming up here soon" and after a while the broadcast starts from the beginning with out possibility to fast forward so it becomes live.
And on top of that there's no audio.

Something wrong at my end or is the add-on broken?

MPEG-DASH (inputstream.adaptive) and Widevine CDM

As discussed in #7, Viaplay has started to implement FairPlay DRM on their sports content -- a DRM technology only supported on Apple devices. This is probably going to spread and eventually affect all content, which means that a move away from HLS is inevitable in order for this project to live on.

Viaplay is using MPEG-DASH with Widevine encryption on Google Chrome as well as the Android platform. This is somewhat good news, because it /should/ be possible to implement in a similar way to the Netflix (https://github.com/asciidisco/plugin.video.netflix) and Sky Go (https://github.com/trummerjo/plugin.video.skygo) add-ons. This is however rather poorly documented and there is not a lot of add-ons using this method to take inspiration from.

I have done some testing but haven't yet been able to figure it out. It's easy to get the MPEG-DASH manifests from the Viaplay API by using 'pcdash' as deviceKey (see https://github.com/emilsvennesson/kodi-viaplay/blob/master/resources/lib/vialib.py#L124). The API will then return an .mpd manifest along with a templated URL for the request to the Widevine license server. However, an additional parameter called '_widevineChallenge' is required to complete the license request that I can't for my life figure out how to generate.

I'd happily take any help or pointers on this. Feel free to hit me up on #kodi-dev at freenode or by simply responding to this issue. :-)

Inputstream Adaptive / Widevine

Running 17.6 on Debian x64. Latest version of viaplay and 0.3.3 of inputstream adaptive.

Has tried the workaround in #9 but the script now just say it's been marked as obsolete so the script doesn't work. I removed the files for inputstream under addon_data and when starting a stream the plugin downloaded the widevine again. But I still get:

21:51:31.441 T:140640340449024 ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)
21:51:31.441 T:140640340449024 ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)
21:51:31.442 T:140640340449024 ERROR: CVideoPlayer::OpenInputStream - error opening [https://vod-dash-cdn2-vp.cdn.viaplay.tv/c32fc6b/20466022-1516026705230.ism/index.m$

Is 17.6 no longer supported? Do I need the Leia build for this to work?

Live streams start from the beginning

All live streams play from the beginning. I can fast forward, but the stream crashes when I get close to live. For example if a game has been on for 15 minutes when I tune in, I only get a 15 minute broadcast from the beginning.

Subtitle not always downloaded

For some videos subtitles are not working when they exist and are working using a browser on viaplay.se.

This has happened only a few times, but I thought I'd report it now when I have a fresh case and the movie still exists on viaplay.

Cannot remember now what others didn't work, but IIRC they were all swedish movies. Perhaps something to do with the language and the subtitle language matching? Just a guess. It does work for some though, so not consistent.

This case is the movie "Sune på bilsemester", which works on viaplay.se but not in the addon.
Cannot enable subtitles in videoplayer settings, and nothing is saved in tmp dir, so not fetched from site.

Log file here: https://paste.kodi.tv/ugijisavuf.kodi
I see in the log it finds the url in the metadata (line 638), but not sure where it goes wrong after that.

Let me know if you need more information.

Viaplay navigation works, but not playing a video

Haveing Netflix installed made sure i had widevine installed and inputstream.helper didn't need to do it's job since widevine was allready installed. Viaplay addon starts okey, settigns page then authentiacation via viaplay.se/activate

snipplet of kodi debug log:
viaplay_kodi.txt

OSMC Vero4k, latest update. viaplay 2.1.2 installed, if more info needed just ping me

Serie A/La Liga

(This is actually a request but i didn't find a good place to post)

A new streaming service are apparently going to show Serie A and La Liga this season, according to THIS.

It would be awesome if you maybe could do a Kodi addon to this service if possible. If not, that's ok :)

Viaplay crahses with Linux MINT and Kodi

Hello again

Viaplay add-on is crashing when I move between the folders.
I'm using a PC with a Asus H87I-plus mainboard and have the following system:
OS: Linux Mint 18.2 (kernel: Linux 4.8.0-53-generic)
Kodi 17.3 Git:20170525-nogitfound
Viaplay version 1.0.8

the log file is attached.
you may can give me a helping hand to solve the issue.

Tack så mycket!

Hälsningar

kodi.log.txt

Ljus grå skärm

Hej. Kör Kodi och viaplay add-on genom en Amazon Fire stick. Allt funkar förutom att jag inte får någon bild utan bara en ljusgrå skärm. Streamen rullar men ingen bild. Vad ska jag göra för att lösa det. Kör SVT play oxå och det funkar utan problem. Hoppas någon har en lösning😀

Future maintenance

Hi @emilsvennesson @Mariusz89B
Thanks for your work on this addon :]
I wanted to reach out to you, about your thoughts for the addon going forward.

In an earlier discussion #50 (comment) you discussed not having time/motivation, and collaborating in this repository. Though it looks like https://github.com/Mariusz89B/kodi-viaplay is independently being worked on.

I'm personally interested in making the addon more useful for myself (mostly watching Dutch F1) and happy to take on a few issues, for example profile support (#34) I've figured out how to do and got an ugly version working.

Before going off on my own, risking a 3rd fork, I'd like to hear your thoughts and figure out where to collaborate. 👏

Account not authorized

Just installed your plugin, and entered my username and password for my Viaplay account.
But when trying to watch a show, I get the message: " Your account is not authorized to watch this content. You will find information on how to upgrade your package on the Viaplay website." Altough when I try to open the same show on my computer og viaplay app on my LG tv this works just fine.
Is this an known issue? Is there a fix.

Located in Norway. Did also try to switch Country in settings but then I got the message about reigion.

Viafree

Hello. Sorry this is probably wrong place to ask but, is there a plugin for Viafree or does this support Viafree?
Like viafree.fi viafree.se viafree.dk etc.

Single-use code prompt in widgets

I rely on the use of widgets in Kodi. I've set up widgets that contain channels from the Viaplay add-on.
Whenever I try to start playback of a live TV channel through the widgets, I get a "single-use code" prompt.

When I enter the code playback will start.
If I then proceed to stop the playback, I can start playback of the same channel, but if I try to start playback from another channel (still through widgets) I get the same "Log in using a single-use code".

Is this something you can fix, perhaps by letting us specify a username and password in the settings?

Viaplay dosnt work

Hi
ViaPlay addon dosnt work with Kodi 9.01. Is there any fixes for this?

Can not go to next page on channels

Hi
I also have problems.....
When I choose channels, it show me the first side, but when Im trying to go to next page, I get error, and it will not go to next page. This works on all the other categories, but not in channels....

Lots of movies and episodes not playable

Hi, I cant seem to be able to play any new movies or episodes at all, live sport works... All I can find in the logs are:
logs

Edited:
Can confirm that downloading master with latest commit 97f1b95 fixed my problem

Unable to display Films entries

Since couple of months (should have reported this earlier), I cannot enter "Filmer" in the plug-in, the plug-in crashes with an error. All other entries work, can be displayed and videos played. I am not entirely sure if the source of the problem is in the ViaPlay API, or in the Kodi libraries (I run Kodi 9.2.7 on RaspberryPI 3), in any case, the error message from the log is this:

2021-06-25 22:09:55.886 T:1476391680 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.KeyError'> Error Contents: '_links' Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.viaplay/default.py", line 5, in <module> addon.run() File "/storage/.kodi/addons/plugin.video.viaplay/resources/lib/addon.py", line 21, in run plugin.run() File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 130, in run self._dispatch(self.path) File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch view_func(**kwargs) File "/storage/.kodi/addons/plugin.video.viaplay/resources/lib/addon.py", line 78, in vod helper.add_item(i['title'], plugin.url_for(list_products, url=i['_links']['self']['href'])) KeyError: '_links' -->End of Python script error report<-- 2021-06-25 22:09:56.244 T:1509962496 ERROR: GetDirectory - Error getting plugin://plugin.video.viaplay/vod?url=https%3a%2f%2fcontent.viaplay.se%2fxdk-se%2ffilm 2021-06-25 22:09:56.246 T:1937128896 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.viaplay/vod?url=https%3a%2f%2fcontent.viaplay.se%2fxdk-se%2ffilm) failed
I googled all I can and also tried to debug this a bit myself (don't really have an environment to do it properly), but no luck so far.

Unable to play live streams anymore

I'm unable to use the Viaplay addon for playing live streams. It still used to work a few months ago.

Here's the log from Kodi:
2021-01-09 15:15:30.966 T:2318386032 ERROR: NEWADDON Unknown Video Info Key "list_title"
2021-01-09 15:15:37.015 T:3011129360 ERROR: Previous line repeats 23 times.
2021-01-09 15:15:37.015 T:3011129360 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.viaplay/play?url=None&tve=false&guid=20642310]

I'm running Kodi 18.9.0 on LibreELEC 9.2.6

Trakt

Viaplay doesn't work with Trakt. It will not mark an episode as seen.

Only fanart and sound

As description says I have a x96 box with kodi 18.2 the added shows no moving video but on computer it's works like A charm, It would be awesome if it could be fixes tack,;)

When trying to watch live sports - missingvideoerror

Hi! Thanks very much for addon. I use it for year now, but had a pause for months and didnt use it. I understand it was updated long time ago, but is there anything that I can done to fix 'missingvideoerror'? It appears only when I trying to watch live sports events. Other videos are fine. And no problem when I watch live sports on Chrome. Tried to fully uninstall Kodi, deleted Kodi folder in AppData, installed new widevine, but nothing helped...

Log when I hit play:

2020-12-06 20:37:12.701 T:9700 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
2020-12-06 20:37:21.169 T:5536 WARNING: Previous line repeats 2 times.
2020-12-06 20:37:21.169 T:5536   ERROR: NEWADDON Unknown Video Info Key "list_title"
2020-12-06 20:37:26.078 T:9700   ERROR: Previous line repeats 8 times.
2020-12-06 20:37:26.078 T:9700 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
2020-12-06 20:37:26.281 T:9700 WARNING: Previous line repeats 8 times.
2020-12-06 20:37:26.281 T:9700   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.viaplay/play?url=None&tve=false&guid=20630848]

Can't install git-version

Hi,

Thank you for what seems to be a great add-on for Kodi! Hoping to get it to work.

Installed iso8601 and request (didn't get the links working in the instructions, so I tried these)
http://kodi-addons.club/addon/script.module.iso8601/0.1.11
http://mirrors.kodi.tv/addons/gotham/script.module.requests/

But, when trying to install the kodi-viaplay addon from a zip file, I get this error.
"The depedency on inputstream.adaptive 2.0.8"

How can I get inputstream.adaptive.2.0.8? And did I manage to find the right versions of iso8601 and request?

FTMC

Hi

it seems that your addon is not working with FTMC. I downloaded your latest version today and got following information:
Version 1.0.7
-> This version is deprecated. New versions are available for Kodi Krypton or later
The dependency on xbmc.python version 2.25.0 could not be satisfaction

My system is an Asus Tinker board
OS: Android 6.0.1 API level 23 (Kernel: Linux 3.10.0)
FTMC Built: 16.2-29 Git:2017-06-04-9df4378-dirty
compiled: 2017-06-04

Live sports/Channels- No playback

Hi!

Awesome work with the addon. Since a couple of months ago I can't get live sports and channels to work. When I select a stream it doesn't play. I have tried both Krypton and Leia. Is this a known error?

Default audio stream doesn't match selected site

As per the title, the Viaplay addon serves me the Danish audio track where it is supposed to serve a Swedish, e.g. children's shows. Subtitles behave as expected, as are English language shows doing. It is reliable across different titles.

Latest version, reinstalling does not change anything, nor changing addon preferences. Viaplay in browser does not behave this way.

I put on debug logs and checked them, but couldn't find anything relating to audio stream language, only site (viaplay.se in this case). Will of course upload if required.

Thank you!

No content in the addon

Did viaplay change something?
I have no content in the addon now.
Worked fine until this evening 20:00 (CET) 5 may 2019

My platform is :
RPi3
LibreElec 9.0.1 (Kernel 4.19.230)
Kodi 18.1 Git-Newclock5_18.1-Leia

I'm using viaplay.dk.

Logfile : kodi.log

Tried :

  • logging out of viaplay and reactivate.
  • updating the addon (manually) to version 2.1.2.
  • Restarted / Shutdown
    But still no content ;-(

When I'm using viaplay app on android or via a webbrowser on a PC it works flawlessly

Sports works, movies and series not

Im using raspberry pi 3 and latest libreelec milhouse build. Also my viaplay addon is installed from here github. Problem is: sports only works but movies and series not and i have viaplay total accout. Also adaptive stream and widevine is installed. Here is log:

12:40:46.438 T:1942917136 NOTICE: VideoPlayer::OpenFile: https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29
12:40:46.439 T:1942917136 DEBUG: OnPlayBackStarted: CApplication::OnPlayBackStarted
12:40:46.439 T:1459426192 DEBUG: Thread VideoPlayer start, auto delete: false
12:40:46.439 T:1459426192 NOTICE: Creating InputStream
12:40:46.440 T:1459426192 DEBUG: ADDON: Dll Initializing - InputStream Adaptive
12:40:46.441 T:1459426192 DEBUG: SECTION:LoadDLL(/usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.2.1.8)
12:40:46.441 T:1459426192 DEBUG: Loading: /usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.2.1.8
12:40:46.453 T:1546621840 DEBUG: Loading settings for https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29
12:40:46.455 T:1838150544 DEBUG: CGUIInfoManager::SetCurrentMovie(https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29)
12:40:46.486 T:1942913936 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
12:40:46.487 T:1942913936 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
12:40:46.487 T:1942913936 DEBUG: CAnnouncementManager - Announcement: OnChanged from xbmc
12:40:46.487 T:1942913936 DEBUG: GOT ANNOUNCEMENT, type: 1024, from xbmc, message OnChanged
12:40:46.601 T:1459426192 INFO: AddOnLog: InputStream Adaptive: SetVideoResolution (1920 x 1080)
12:40:46.601 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Open()
12:40:46.601 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_key: [not shown]
12:40:46.601 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_type: com.widevine.alpha
12:40:46.601 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.manifest_type: mpd
12:40:46.602 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Initial bandwidth: 4000000
12:40:46.603 T:1942917136 NOTICE: m_playbackStarting
12:40:46.603 T:1942917136 NOTICE: StereoscopicsManager::IsPlaying
12:40:46.603 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
12:40:46.603 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
12:40:46.604 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTION selected: 0
12:40:46.605 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
12:40:46.605 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
12:40:46.606 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTIONSECURE selected: 2
12:40:46.606 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
12:40:46.607 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
12:40:46.607 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: STREAMSELECTION selected: 0
12:40:46.608 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
12:40:46.608 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
12:40:46.611 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
12:40:46.611 T:1459426192 DEBUG: CAddonSettings[inputstream.adaptive]: trying to load setting definitions from old format...
12:40:46.612 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Searching for decrypters in: /usr/lib/kodi/addons/inputstream.adaptive/
12:40:46.678 T:1942917136 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
12:40:46.699 T:1707742096 INFO: Python script stopped
12:40:46.699 T:1707742096 DEBUG: Thread LanguageInvoker 1707742096 terminating
12:40:46.731 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Found decrypter: /usr/lib/kodi/addons/inputstream.adaptive/libssd_wv.so
12:40:46.731 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Supported URN: urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED
12:40:46.733 T:1459426192 DEBUG: CurlFile::Open(0x42ec308) https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29
12:40:46.733 T:1459426192 INFO: easy_acquire - Created session to https://vod-dash-cdn2-vp.cdn.viaplay.tv
12:40:47.019 T:1459426192 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 400
12:40:47.030 T:1459426192 ERROR: CCurlFile::Open failed with code 400 for https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29|acceptencoding=gzip&seekable=0
12:40:47.033 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Download https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29 finished
12:40:47.033 T:1459426192 ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29)
12:40:47.033 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Session::~Session()
12:40:47.035 T:1459426192 ERROR: CVideoPlayer::OpenInputStream - error opening [https://vod-dash-cdn2-vp.cdn.viaplay.tv/18e7c1c/V10996-1497879868981.ism/index.mpd?filter=%28FourCC%3D%3D%22AVC1%22%26%26systemBitrate%3C5200000%26%26systemBitrate%3E400000%26%26framerate%3C60%29%7C%7C%28type%3D%3D%22audio%22%26%26%28FourCC%3D%3D%22AACL%22%29%29]
12:40:47.035 T:1459426192 NOTICE: CVideoPlayer::OnExit()
12:40:47.035 T:1459426192 DEBUG: AddOnLog: InputStream Adaptive: Close()
12:40:47.035 T:1459426192 DEBUG: SECTION:UnloadDll(/usr/lib/kodi/addons/inputstream.adaptive/inputstream.adaptive.so.2.1.8)
12:40:47.036 T:1459426192 INFO: ADDON: Dll Destroyed - InputStream Adaptive
12:40:47.036 T:1459426192 DEBUG: Thread VideoPlayer 1459426192 terminating
12:40:47.065 T:1942917136 DEBUG: ------ Window Init (DialogConfirm.xml) ------
12:40:47.119 T:1942917136 NOTICE: m_playbackStarting
12:40:48.103 T:1942917136 NOTICE: Previous line repeats 1 times.
12:40:48.103 T:1942917136 DEBUG: LIRC: Update - NEW at 120229:160 0 KEY_OK devinput (KEY_OK)
12:40:48.103 T:1942917136 DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
12:40:48.103 T:1942917136 NOTICE: m_playbackStarting
12:40:48.383 T:1942917136 NOTICE: Previous line repeats 1 times.
12:40:48.383 T:1942917136 DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
12:40:48.402 T:1546621840 DEBUG: OnPlayBackStopped: CApplication::OnPlayBackStopped
12:40:48.423 T:1942913936 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
12:40:48.423 T:1942913936 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
12:40:48.453 T:1942917136 NOTICE: m_playbackStarting
12:40:48.698 T:1777857424 DEBUG: DoWork - Saving file state for video item plugin://plugin.video.viaplay/?action=play&guid=V10996

No audiostreem

I have an issue with the audiostream not loading. Video works fine.

Any thoughts?

Unable to load widevine shared library

I have Viaplay addon on Kodi 17.5 on LibreELEC release: RPi2.arm-8.2.0.1 on Raspberry Pi 3.

I'm getting this error:

2685: 20:36:55.349 T:1512043424 ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/storage/.kodi/cdm/libwidevinecdm.so)

01_KODI.log - FULL LOG

I installed Viaplay addon from Kodi repo and followed the pop-ups, installed inputstream.adaptive and then getting widevine via a 2 GB chromium(os?) image. I can't play anything so something must have gone wrong.

I found the libwidevinecdm.so file and it is a 7.1 MB file, using file on Ubuntu I saw it was for 32-bit arm. I believe my RPi3 is arm64 so I've tried downloading a arm64 livewidevinecdm.so (found one in ubuntu chromium-browser package, just ~400 KB..), tried replace the other with it but the result were the same as before.

Audio drops on live sports stream

Hi. Audio drops completely after a few seconds and never comes back when I try to watch live sports. I've only noticed this problem on the streams in the live sports category, the streams in live channels category seems to work fine. I'm using the latest version installed from GitHub today.

I don't see anything in the attached log when the audio drops. Using a stopwatch I measured 19.5s from pressing enter to start the stream (time 07:25:15.215 in log) which means the audio drop should have happened somewhere around the time 07:25:35 in this log.

kodi.log

Dutch viaplay.com missing

I'm trying to activate Viaplay for the Dutch website but I can only choose viaplay.dk./.fi/.no/.se/.pl/.lt and not viaplay.com

Viaplay for Kodi as Live TV/PVR source? (enhancement)

Hi!
First of all, thank you for a great product.
I have a suggestion that you maybe have thought of: Would it be possible to develop the plugin as a Live TV source/PVR client? I know that a real PVR setup expects a hardware interface in backend....But I think that, since Viaplay has channels in it's interface, wouldn't it be possible to map these to a "fake" PVR client in the foreground? This would probably be a good thing for Viasat customers, since they can't route their IPTV to Kodi.

Support for Kodi 19 Matrix

hi

as the title is .... does it work with kodi-19 ?. i am running gentoo and need/want to manually install
it via the package manage . the other plugins i have created and installed have had its own files
for kodi-19 (THE PLUGIN NAME.matrix.zip")

regards

Live Channels: MissingVideoError

Kodi 18.9.0
Ubuntu 20.04.1 LTS
(everything freshly installed)
Viaplay 2.1.2
Video Test Streams 0.1.7 (by SlyGuy) tested ok with InputStream Adaptive - Dash With Widevine

Issue:
When trying to play a Live Channel I'm getting the "MissingVideoError"
(I can play both live and archived in Chrome)

Anything else is playing fine on the Viaplay app

I looked at the Dependencies and found this:
scipt.module.pysocks 1.6.8 (optional)
script.module.win_inet_pton Not available

I'm new to troubleshooting Kodi, and Kodi-apps. My debug log may not be detailed enough?

2021-01-30 15:13:14.359 T:140678097832640  NOTICE: Previous line repeats 1 times.
2021-01-30 15:13:14.359 T:140678097832640   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
2021-01-30 15:13:32.535 T:140677470885632   ERROR: NEWADDON Unknown Video Info Key "list_title"
2021-01-30 15:13:38.515 T:140676679329536   ERROR: Previous line repeats 66 times.
2021-01-30 15:13:38.516 T:140676679329536   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 504
2021-01-30 15:13:38.522 T:140676679329536   ERROR: CCurlFile::Open failed with code 504 for https://i-viaplay-com.akamaized.net/viaplay-prod/705/880/se.cs.tvn.event.F_1803033997900.jpg:
2021-01-30 15:13:51.893 T:140678097832640   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.viaplay/play?url=None&tve=true&guid=0055202101301400]

image

2021-01-30 15:28:20.930 T:140678097832640   DEBUG: OnPlayMedia plugin://plugin.video.viaplay/play?url=None&tve=true&guid=0055202101301400
2021-01-30 15:28:20.932 T:140678097832640   DEBUG: StartScript - calling plugin Viaplay('plugin://plugin.video.viaplay/play','17','?url=None&tve=true&guid=0055202101301400','resume:false')
2021-01-30 15:28:20.932 T:140676679329536   DEBUG: Thread LanguageInvoker start, auto delete: false
2021-01-30 15:28:20.932 T:140676679329536    INFO: initializing python engine.
2021-01-30 15:28:20.932 T:140676679329536   DEBUG: CPythonInvoker(21, /home/volden/.kodi/addons/plugin.video.viaplay/default.py): start processing
2021-01-30 15:28:20.952 T:140677462492928   DEBUG: Thread scriptobs start, auto delete: false
2021-01-30 15:28:20.999 T:140676679329536   DEBUG: -->Python Interpreter Initialized<--
2021-01-30 15:28:20.999 T:140676679329536   DEBUG: CPythonInvoker(21, /home/volden/.kodi/addons/plugin.video.viaplay/default.py): the source file to load is "/home/volden/.kodi/addons/plugin.video.viaplay/default.py"
2021-01-30 15:28:20.999 T:140676679329536   DEBUG: CPythonInvoker(21, /home/volden/.kodi/addons/plugin.video.viaplay/default.py): setting the Python path to /home/volden/.kodi/addons/plugin.video.viaplay:/home/volden/.kodi/addons/script.module.certifi/lib:/home/volden/.kodi/addons/script.module.chardet/lib:/home/volden/.kodi/addons/script.module.idna/lib:/home/volden/.kodi/addons/script.module.inputstreamhelper/lib:/home/volden/.kodi/addons/script.module.iso8601/lib:/home/volden/.kodi/addons/script.module.requests/lib:/home/volden/.kodi/addons/script.module.routing/lib:/home/volden/.kodi/addons/script.module.urllib3/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages
2021-01-30 15:28:21.000 T:140676679329536   DEBUG: CPythonInvoker(21, /home/volden/.kodi/addons/plugin.video.viaplay/default.py): entering source directory /home/volden/.kodi/addons/plugin.video.viaplay
2021-01-30 15:28:21.000 T:140676679329536   DEBUG: CPythonInvoker(21, /home/volden/.kodi/addons/plugin.video.viaplay/default.py): instantiating addon using automatically obtained id of "plugin.video.viaplay" dependent on version 2.25.0 of the xbmc.python api
2021-01-30 15:28:21.152 T:140678097832640   DEBUG: ------ Window Init (DialogBusy.xml) ------
2021-01-30 15:28:22.433 T:140676033398528   DEBUG: NFS: Refreshing context for 192.168.1.111/media/putrid/western, old: 9013230, new: 9017319
2021-01-30 15:28:22.433 T:140676033398528   DEBUG: NFS: Using cached context.
2021-01-30 15:28:23.288 T:140676679329536   DEBUG: CAddonSettings[plugin.video.viaplay]: loading setting definitions
2021-01-30 15:28:23.289 T:140676679329536   DEBUG: CAddonSettings[plugin.video.viaplay]: trying to load setting definitions from old format...
2021-01-30 15:28:23.290 T:140676679329536   DEBUG: CAddonSettings[plugin.video.viaplay]: loading setting values
2021-01-30 15:28:23.292 T:140676679329536   DEBUG: CAddonSettings[plugin.video.viaplay]: loading setting definitions
2021-01-30 15:28:23.292 T:140676679329536   DEBUG: CAddonSettings[plugin.video.viaplay]: trying to load setting definitions from old format...
2021-01-30 15:28:23.292 T:140676679329536   DEBUG: CAddonSettings[plugin.video.viaplay]: loading setting values
2021-01-30 15:28:23.324 T:140676679329536   DEBUG: [plugin.video.viaplay][routing] Dispatching to 'play', args: {}
2021-01-30 15:28:23.326 T:140676679329536   DEBUG: [Viaplay]: Request URL: https://play.viaplay.no/api/stream/bymediaguid
2021-01-30 15:28:23.326 T:140676679329536   DEBUG: [Viaplay]: Method: get
2021-01-30 15:28:23.326 T:140676679329536   DEBUG: [Viaplay]: Params: {'deviceName': 'web', 'deviceKey': 'chromecast-no', 'deviceType': 'pc', 'deviceId': 'fa4a27c5-3319-4f4d-af75-83ea82fe1e39', 'isTve': u'true', 'userAgent': 'Kodi', 'mediaGuid': u'0055202101301400'}
2021-01-30 15:28:23.598 T:140676679329536   DEBUG: [Viaplay]: Response code: 404
2021-01-30 15:28:23.599 T:140676679329536   DEBUG: [Viaplay]: Response: {"name":"MissingVideoError","message":"No prioritized video found for productId: null","code":5007,"httpStatus":404,"success":false}

Support for viaplay.pl

May I ask for adding an option to choose viaplay.pl in addon properties? The website is starting tomorrow and I would like to try how it looks like in Kodi.

How to update inputstream.adaptive

Cant get master branch to install on kodi 17.3

Get a message that inputstream.adaptive 2.0.8 can't be found, how do i get that?

/Sebastian

Doesn't work

This addon doesn't seem to work at all. The 4 character code doesn't work, and Viaplay wants me to sign up for some kind of subscription that costs money.

Will there be a fix? Thanks.

Season 3 of "Vår tid är nu" is not listed

I just created a Viaplay account and installed the Viaplay addon on a Pi3. Everything works - except that only season 1 and 2 is found. Season 3 is not listed, although it it's available on the Viaplay website (searching from computer).

It's course disastrous if the last season is non-available. Can this be fixed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.