2017-09-05, 03:26
in KODI 17 the below works fine but broken in KODI 18.
I use some urls in a m3u8 playlist that redirect to the actual media URL.
In KODI 18, ffmpeg tries to use the original URL (not redirected / effective URL) as the base path for any further calls.
Below is an extract from the log that shows it happening.
It should actually be:
Opening 'https://9nowgolivehls-i.akamaihd.net/hls/live/250977/melbourne/K2013000.key'
Full log here:
https://pastebin.com/ddasv4D6
Windows Kodi x64 latest nightly using PVR Simple Client
Also had a user have the same issue on nightly Android.
I tried a simple .strm file with the same URL in it and that works fine.
I use some urls in a m3u8 playlist that redirect to the actual media URL.
In KODI 18, ffmpeg tries to use the original URL (not redirected / effective URL) as the base path for any further calls.
Below is an extract from the log that shows it happening.
Code:
9:12:02.306 T:7756 DEBUG: CurlFile::Open(000001E740B089F0) http://iptv.matthuisman.nz/au/Melbourne/tv.101204300437
19:12:02.306 T:7756 INFO: XCURL::DllLibCurlGlobal::easy_acquire - Created session to http://iptv.matthuisman.nz
19:12:02.805 T:996 DEBUG: ------ Window Init (DialogBusy.xml) ------
19:12:04.802 T:7756 DEBUG: CCurlFile::Open - effective URL: <https://9nowgolivehls-i.akamaihd.net/hls/live/250977/melbourne/master1.m3u8>
19:12:04.802 T:7756 NOTICE: Creating Demuxer
19:12:04.802 T:2528 DEBUG: Thread FileCache start, auto delete: false
19:12:04.802 T:2528 INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
19:12:04.852 T:7756 DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [hls,applehttp]
19:12:04.852 T:7756 INFO: ffmpeg[1E4C]: [hls,applehttp] Opening 'http://iptv.matthuisman.nz/au/Melbourne/K2013000.key' for reading
19:12:05.720 T:7756 DEBUG: ffmpeg[1E4C]: [http] HTTP error 404 Not Found
19:12:05.720 T:7756 ERROR: ffmpeg[1E4C]: Unable to open key file http://iptv.matthuisman.nz/au/Melbourne/K2013000.key
19:12:05.720 T:7756 INFO: ffmpeg[1E4C]: [hls,applehttp] Opening 'crypto+http://iptv.matthuisman.nz/au/Melbourne/20170418T160938/master1/01006/master1_01053.ts' for reading
It should actually be:
Opening 'https://9nowgolivehls-i.akamaihd.net/hls/live/250977/melbourne/K2013000.key'
Full log here:
https://pastebin.com/ddasv4D6
Windows Kodi x64 latest nightly using PVR Simple Client
Also had a user have the same issue on nightly Android.
I tried a simple .strm file with the same URL in it and that works fine.