2020-07-10, 22:04
I am having difficulty playing certain videos in the Liveleak plugin. (Youtube videos work fine.)
Liveleak has apparently recently either switched to Cloudflare CDN hosting for its videos, or it has enabled HTTP/2 on its account. The URLs are HTTPS and CCurlFile is obviously used for fetching. It times out after 28 seconds.
Hence, my question in the topic line. Or, is there something I need to do in order to help Kodi fetch Cloudflare-hosted files over HTTPS so I don't have to hack on the URL?
Liveleak has apparently recently either switched to Cloudflare CDN hosting for its videos, or it has enabled HTTP/2 on its account. The URLs are HTTPS and CCurlFile is obviously used for fetching. It times out after 28 seconds.
Quote:2020-07-10 15:43:49.092 T:140704072362560 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.liveleak/?url=https%3A%2F%2Fcdn4.liveleak.com%2F2020%2FJul%2F10%2FLiveLeak-dot-com-uTf9T_1594408379-Phg4oejWlSgnjrp8JfEFWNo8miERf8on1594408353mp4.mp4.5f08bdcb7c456.mp4%3Fsecure%3DstdUd0TpGUAJCVaRt5PPyw%3D%3D%2C1594411727&src=view%3Ft%3D9OSJV_1594408379&mode=playIf I replace 'https' with 'http' in the URL, Cloudflare reverts to HTTP/1.1 and the video is fetched and plays successfully. (CCurlFile is not utilized in that case, according to the log.)
2020-07-10 15:43:49.402 T:140701224388352 NOTICE: Creating InputStream
2020-07-10 15:44:10.231 T:140701224388352 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2020-07-10 15:44:10.231 T:140701224388352 ERROR: CCurlFile::Open failed with code 0 for https://cdn4.liveleak.com/2020/Jul/10/Li...1594411727:
2020-07-10 15:44:10.231 T:140701224388352 ERROR: Open - failed to open source <https://cdn4.liveleak.com/2020/Jul/10/LiveLeak-dot-com-uTf9T_1594408379-Phg4oejWlSgnjrp8JfEFWNo8miERf8on1594408353mp4.mp4.5f08bdcb7c456.mp4?secure=stdUd0TpGUAJCVaRt5PPyw==,1594411727>
2020-07-10 15:44:10.232 T:140701224388352 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.liveleak/?url=https%3A%2F%2Fcdn4.liveleak.com%2F2020%2FJul%2F10%2FLiveLeak-dot-com-uTf9T_1594408379-Phg4oejWlSgnjrp8JfEFWNo8miERf8on1594408353mp4.mp4.5f08bdcb7c456.mp4%3Fsecure%3DstdUd0TpGUAJCVaRt5PPyw%3D%3D%2C1594411727&src=view%3Ft%3D9OSJV_1594408379&mode=play]
2020-07-10 15:44:10.232 T:140701224388352 NOTICE: CVideoPlayer::OnExit()
2020-07-10 15:44:10.248 T:140704072362560 NOTICE: CVideoPlayer::CloseFile()
2020-07-10 15:44:10.251 T:140704072362560 NOTICE: VideoPlayer: waiting for threads to exit
2020-07-10 15:44:10.251 T:140704072362560 NOTICE: VideoPlayer: finished waiting
Hence, my question in the topic line. Or, is there something I need to do in order to help Kodi fetch Cloudflare-hosted files over HTTPS so I don't have to hack on the URL?