• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 20
  •   
Release Viaplay add-on thread
#1
Image

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.

Links
Reply
#2
Sounds promising with inputstream, let me know if I can help out with testing later on.
Reply
#3
just tested this and its absolutely amazing !!!! tested on fire tv, didnt expect it to even work on there. Hopefully the sound can be fixed on the sport cos the picture quality is so good. Thanks alot for this, really appreciate it
Reply
#4
This sounds so great so have to try it.

But doesn't work for me
Movies and TV-Shows is starting but stops after about 5 seconds
Sport is giving a really nice picture (no sound of course)

I'm running Krypton alpha3 on Win 10

Thanks for developing this
Reply
#5
(2016-08-14, 12:31)T-bird_se Wrote: This sounds so great so have to try it.

But doesn't work for me
Movies and TV-Shows is starting but stops after about 5 seconds
Sport is giving a really nice picture (no sound of course)

I'm running Krypton alpha3 on Win 10

Thanks for developing this

Could you please try with the latest Krypton nightly instead? I had similar issues on the alpha that went away after upgrading to the nightly builds.

If you're still having the same issues after upgrading, then please attach a debug log so I can take a look at what's going on.
Reply
#6
Yes, installed nightly and now working OK Big Grin

Thx for this and hope the sound issues for sport get solved too soon
Reply
#7
Why does it say that i don't have access to things that works perfectly in webbrowser?
That happens on everything.
 
Intel Core i5 2320 8GB 500GB HDD - Tvheadend + Kodi, Raspberry Pi 3 - LibreELEC, HDHomeRun HDHR3-4DC, Epson TW3200, Pioneer VSX-1123
Reply
#8
(2016-08-14, 21:44)T-bird_se Wrote: Yes, installed nightly and now working OK Big Grin

Thx for this and hope the sound issues for sport get solved too soon

Great! Yeah, we can only hope that the Kodi devs take this issue seriously as it affects/will affect (as more and more adapt to HLS version 4) a lot of Kodi addons.

(2016-08-15, 14:48)Leatherface Wrote: Why does it say that i don't have access to things that works perfectly in webbrowser?
That happens on everything.

I will need a debug log to be able to see what's going on. Please make sure that you've enabled add-on in the plugin settings as well as in Kodi.
Reply
#9
I am running Kodi on a RaspberryPi2 with OSMC.
After reading about the Krypton being needed for sound I switched to the OSMC testing image with nightlies for Krypton.
Instructions obtained here.
So now I think I am on Krypton at least Kodi system info says:
KODI 17.0-Beta1

Unfortunately I do not know which level of the beta I have on my system because I don't know where to read it.

Still the sound is still muted for sports programs. Works OK for other types of material.

Any ideas?
Is there another way of obtaining Kodi beta versions than through OSMC apt functions?
Bo Berglund
Sweden
Reply
#10
(2016-08-18, 00:09)Bosse_B Wrote: I am running Kodi on a RaspberryPi2 with OSMC.
After reading about the Krypton being needed for sound I switched to the OSMC testing image with nightlies for Krypton.
Instructions obtained here.
So now I think I am on Krypton at least Kodi system info says:
KODI 17.0-Beta1

Unfortunately I do not know which level of the beta I have on my system because I don't know where to read it.

Still the sound is still muted for sports programs. Works OK for other types of material.

Any ideas?
Is there another way of obtaining Kodi beta versions than through OSMC apt functions?

The bug is unfortunately still present in Krypton. Sad I have done some testing with the new inputstream addons, so if the bug is still a thing in the final version I'm pretty sure I'll come up with a fix/workaround. For now though, all we can do is be patient. You can, however, kindly make the Kodi developers aware that this bug is affecting a lot of users (post in http://trac.kodi.tv/ticket/16670). Hopefully, that's enough for them to prioritize the issue a bit.
Reply
#11
(2016-08-18, 16:14)emilsvennesson Wrote: You can, however, kindly make the Kodi developers aware that this bug is affecting a lot of users
Done!
Bo Berglund
Sweden
Reply
#12
You know YouSee, Stofa, Com Hem, C More and especially Viaplay never likes these kind of things if you know what happened before... Is it really a good idea to put this out? It will stop working the moment everyone finds out about this.
Reply
#13
(2016-09-07, 22:47)Rags32 Wrote: You know YouSee, Stofa, Com Hem, C More and especially Viaplay never likes these kind of things if you know what happened before... Is it really a good idea to put this out? It will stop working the moment everyone finds out about this.

What makes you think that? You still need an account and subscription so I really don't see what the problem is. I'm hopeful that Viaplay will be fine with the project if/when they find out about it.

It makes their content available on more platforms after all. Blush
Reply
#14
Do you have any plans to make something similar to C More? Wink That would make my kodi-box complete.
Thanx btw for making this awsome addon
Reply
#15
I have problem with this addon. Every episode and movie stops playing exactly 37:00 minutes.

Part of log when episode stops playing.
Code:
23:56:12 T:140277985568512   DEBUG: [vialib]: URL: https://content.viaplay.fi/pc-fi/sarjat/x-files-the?seasonNumber=6&partial=1&block=2
23:56:12 T:140277985568512   ERROR: /var/lib/vdr/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)

Edit. also found this when I tried continue watching from 36:59 minutes.
Code:
00:16:19 T:139883616802560   ERROR: /var/lib/vdr/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Ad$
                                              InsecureRequestWarning)
00:16:19 T:139884095129664  NOTICE: VideoPlayer: Opening: http://scandi-secure-vod.hls.adaptive.level3.net/Viaplay_Prod_-_Scandi/71/412/20273646_Layer5_x58008050d46b4716aecebcef947e8bb7.m3u8|Cookie=None
00:16:19 T:139884095129664 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
00:16:19 T:139883616802560  NOTICE: Creating InputStream
00:16:19 T:139883616802560  NOTICE: Creating Demuxer
00:16:20 T:139883616802560  NOTICE: Opening stream: 0 source: 256
00:16:20 T:139883616802560  NOTICE: Creating video codec with codec id: 28
00:16:20 T:139883616802560  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
00:16:20 T:139883616802560  NOTICE: Creating video thread
00:16:20 T:139883616802560  NOTICE: Opening stream: 1 source: 256
00:16:20 T:139883616802560  NOTICE: Finding audio codec for: 86018
00:16:20 T:139882471069440  NOTICE: running thread: video_thread
00:16:20 T:139883616802560  NOTICE: Creating audio thread
00:16:20 T:139883616802560  NOTICE: Opening stream: 0 source: 1025
00:16:20 T:139882479462144  NOTICE: running thread: CVideoPlayerAudio::Process()
00:16:21 T:139883616802560  NOTICE: CVideoPlayer::OnExit()
00:16:21 T:139883616802560  NOTICE: VideoPlayer: eof, waiting for queues to empty
00:16:21 T:139883616802560  NOTICE: Closing stream player 1
00:16:21 T:139883616802560  NOTICE: Waiting for audio thread to exit
00:16:21 T:139882479462144  NOTICE: thread end: CVideoPlayerAudio::OnExit()
00:16:21 T:139883616802560  NOTICE: Closing audio device
00:16:21 T:139883616802560  NOTICE: Deleting audio codec
00:16:21 T:139883616802560  NOTICE: Closing stream player 2
00:16:21 T:139883616802560  NOTICE: waiting for video thread to exit
00:16:21 T:139882471069440   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
00:16:21 T:139882471069440  NOTICE: thread end: video_thread
00:16:21 T:139883616802560  NOTICE: deleting video codec
00:16:21 T:139883616802560  NOTICE: Closing stream player 3
00:16:21 T:139884095129664  NOTICE: CVideoPlayer::CloseFile()
00:16:21 T:139884095129664  NOTICE: VideoPlayer: waiting for threads to exit
00:16:21 T:139884095129664  NOTICE: VideoPlayer: finished waiting

Edit2. Got it working. I need to limit bitrate to 720p from addon settings if setting is automatic then video stops playing at 37:00.
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 20
  •   
 
Thread Rating:
  • 6 Vote(s) - 3.67 Average



Logout Mark Read Team Forum Stats Members Help
Viaplay add-on thread3.676