2016-09-23, 16:07
(2016-09-22, 19:34)unZane Wrote: Do you have any plans to make something similar to C More? That would make my kodi-box complete.
Thanx btw for making this awsome addon
I've thought about it, but I'm currently only subscribed to Handbollsligan on C More. I'd need to borrow someone's account that has full access to see if this would be possible to do. It depends on how they've encrypted their streams and whether their API is a total mess or not. I'd also need it to be unified across all Nordic countries to avoid having to write different code for each country. If you have a Swedish account with full access and would like to see if this is possible, then feel free to drop me a PM.
(2016-09-22, 23:01)-Dis Wrote: 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.
I'm guessing this is hardware/platform related because I haven't noticed this issue. It would be nice if you could post a full debug log with component specific logging for ffmpeg enabled. The log you posted cut out the relevant parts. :/