2016-05-06, 23:37
Hi,
a similar but not the same that this: http://forum.kodi.tv/showthread.php?tid=214661
I detected a special case (note that i use AND in the URL and the other post is "OR")
I have an URL that is something like: http://ip:port/channel/name
That performs a 302 redirection to an other URL: http://ip:port/myStream/stream.m3u
That m3u points to another stream using relative paths, the name is chunks.m3u: http://ip:port/myStream/chunks.m3u
Whats the problem? That Kodi tries to ge the file using the first URL as relative path: http://ip:port/channel/chunks.m3u instead of http://ip:port/myStream/chunks.m3u
That is the real actual URL after location redirect. It works without modification in VLC and LG SmartTV (via SS-IPTV). If I modify the code to perform a replace(stream.m3u, chunks.m3u) so it doesn't need to obtain the second level m3u it works (thinks to the Accept-range: none that I read in the other post)
a similar but not the same that this: http://forum.kodi.tv/showthread.php?tid=214661
I detected a special case (note that i use AND in the URL and the other post is "OR")
I have an URL that is something like: http://ip:port/channel/name
That performs a 302 redirection to an other URL: http://ip:port/myStream/stream.m3u
That m3u points to another stream using relative paths, the name is chunks.m3u: http://ip:port/myStream/chunks.m3u
Whats the problem? That Kodi tries to ge the file using the first URL as relative path: http://ip:port/channel/chunks.m3u instead of http://ip:port/myStream/chunks.m3u
That is the real actual URL after location redirect. It works without modification in VLC and LG SmartTV (via SS-IPTV). If I modify the code to perform a replace(stream.m3u, chunks.m3u) so it doesn't need to obtain the second level m3u it works (thinks to the Accept-range: none that I read in the other post)