Open kekukui opened 4 years ago
You can set a user agent in advanced addon settings. This will not be changed as a shipped default as kodi cannot pretend to be a browser. A user however may choose to override this default.
Another option is to append User-Agent
into stream URL as follows:
https://iptv.provider.com/channel.m3u8|User-Agent=Mozilla
hi, i know we can set user agent .. and it works but its not consistent .eg if i set user agent https://iptv.provider.com/channel.m3u8|User-Agent=Mozilla
this will fetch m3u8 file with mozila user agent but content of that (eg. ts / key file) is not fetched by mozila user agent
Hi Deepak!
hi, i have know setting user agent work but its not consistent .eg if i set user agent https://iptv.provider.com/channel.m3u8|User-Agent=Mozilla
this will fetch m3u8 file with mozila user agent but content of that (eg. ts / key file) is not fetched by mozila user agent
Works for me with both inputstreams. Make sure you use Matrix addon, I fixed it with Ross there.
Matrix addon ?? you mean kodi matrix version ? i am using latest kodi
Matrix addon ?? you mean kodi matrix version ? i am using latest kodi
Then turn on FFMPEG and CURL logging filters under System Tools - Logging and post the log to https://paste.kodi.tv
Some IPTV servers will ignore the client and refuse to send a stream if the user agent string supplied by the browser is not recognized - and Kodi's native user agent is sometimes one of those. When this occurs, no error message will be presented - the connection fails silently without explanation. For this reason, the default user agent in simple client should be something used by popular browsers, for example:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
I have confirmed cases where this makes a difference in being able to play the stream or not.