M3U8 parsing problem - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: M3U8 parsing problem (/showthread.php?tid=316606) |
M3U8 parsing problem - raidenii - 2017-06-15 Hello all, I am using CNTV-live addon to watch live streams on cntv.com and found that recently all streamings failed sliently with this addon, while it plays find using browser. The streaming urls are unchanged by looking at the source of the live streaming page, and go into Kodi log I found this: Code: 13:57:51 T:5316 DEBUG: CurlFile::Open(12763F60) http://cctv1.vtime.cntv.wscdns.com/live/cctv1hls_/index.m3u8?ptype=1&amode=1&AUTH=2+Hr/2qnowAXrzXsiy2CTuNRlVwwa2hYF9UL8jUQghyF9Yog747ALHh/XGL3BVwUORYN0zKOdUht1qTeesX/zg== Kodi cannot find the media file of the stream. I downloaded the m3u8 from browser manually, and this is the content: Code: #EXTM3U Obviously, the m3u8 playlist write the path to other m3u8s in a fashion that Kodi thinks it's a local path and tries to find it on local filesystem, and of course it will fail. However, VLC plays the address fine. So I wonder, is there any way I can rewrite the M3U8 on the fly to add the domain part so that Kodi can follow the m3u8 correctly? Thanks. |