2016-10-14, 09:39 PM
Ah, apparently I had to add a first "#EXTM3U" line to your example above.
|
2016-10-14, 09:39 PM
Ah, apparently I had to add a first "#EXTM3U" line to your example above.
2016-10-16, 07:28 PM
sub Wrote:Ah, apparently I had to add a first "#EXTM3U" line to your example above. That makes sense, sorry I did take that part out yeah. Did you manage to reproduce the same issue?
2016-10-16, 07:49 PM
Rogier21 Wrote:That makes sense, sorry I did take that part out yeah.Yeah, but I couldn't really tell what Kodi doesn't like about the streams. I don't really know much about how Kodi does it's playback. The streams are playing fine for me in other players like VLC.
2016-10-16, 07:53 PM
Can you play the m3u file from Video Library, that should work the same as x-newa.
Martin
2016-10-16, 08:03 PM
mvallevand Wrote:Can you play the m3u file from Video Library, that should work the same as x-newa.I just tried this, and it plays fine! So, it looks like the stream is fine, and Kodi can play then, but something weird about the IPTV PVR addon doesn't work.
2016-10-16, 08:14 PM
Yes I suspect it is too optimistic on the timeout for data
20:03:50 T:12952 DEBUG: CurlFile::Open(0DB40460) http://server:8866/live?channel=1 ... 20:03:50 T:12952 DEBUG: CCurlFile::GetMimeType - http://server:8866/live?channel=1 -> video/MP2T ... 20:03:51 T:12952 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28) Martin
2016-10-16, 08:21 PM
Actually I'm getting the same error if I open the playlist just in file mode,
Code: 14:15:31 T:3472 DEBUG: CCurlFile::GetMimeType - http://server:8866/live?channel=1 -> video/MP2T
14:15:31 T:3472 DEBUG: CFileCache::Open - opening <live> using cache
14:15:31 T:3472 DEBUG: CurlFile::Open(0EA1EFF0) http://server:8866/live?channel=1
14:15:32 T:12080 DEBUG: ------ Window Init (DialogBusy.xml) ------
14:15:32 T:3472 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2016-10-16, 08:26 PM
Ok I got it to work now!
I have a standard default install of Kodi on my Windows machine and SPMC install on my Nvidia Shield. I found this thread: https://discourse.osmc.tv/t/solved-issue...abled/3280 And checked advancedsettings.xml, which contained this: Code: <advancedsettings>
<network>
<autodetectpingtime>30</autodetectpingtime> <!-- Time (in seconds) between pings for detecting new xboxes. Default 30, minimum 1, maximum 240 -->
<curlclienttimeout>1</curlclienttimeout> <!-- Timeout (in seconds) for player and other connections. Default 10, minimum 1, maximum 1000 -->
<curllowspeedtime>1</curllowspeedtime> <!-- Time (in seconds) the http client should wait before judging a connection as low. Default 20, minimum 1, maximum 1000 -->
<curlretries>1</curlretries> <!-- Number of times the http client retries. Default 2, minimum 0, maximum 10 -->
<disableipv6>true</disableipv6> <!-- Disables ipv6. Default false -->
<cachemembuffersize>0</cachemembuffersize> <!-- Size of the player cache in bytes. Default 20M (20*1024*1024), if 0 it uses a SimpleFileCache. -->
</network>
</advancedsettings>These are some very optimistic settings, so I reset the to default: Code: <advancedsettings>
<network>
<autodetectpingtime>30</autodetectpingtime> <!-- Time (in seconds) between pings for detecting new xboxes. Default 30, minimum 1, maximum 240 -->
<curlclienttimeout>10</curlclienttimeout> <!-- Timeout (in seconds) for player and other connections. Default 10, minimum 1, maximum 1000 -->
<curllowspeedtime>20</curllowspeedtime> <!-- Time (in seconds) the http client should wait before judging a connection as low. Default 20, minimum 1, maximum 1000 -->
<curlretries>2</curlretries> <!-- Number of times the http client retries. Default 2, minimum 0, maximum 10 -->
<disableipv6>true</disableipv6> <!-- Disables ipv6. Default false -->
<cachemembuffersize>20971520</cachemembuffersize> <!-- Size of the player cache in bytes. Default 20M (20*1024*1024), if 0 it uses a SimpleFileCache. -->
</network>
</advancedsettings>And now it consistently works!
2016-10-16, 08:33 PM
Great - good find.
2017-02-01, 10:05 PM
Sorry for reviving this thread from the deads, but I have a related issue which I am trying to resolve.
NPVR now has the ability to expose an EXTM3U list of live channels, which is great! The problem, though, is that the live tv handler seems to have been written to support a single stream at a time, which is a bummer. Any chance we could get multi-tuner auto-select that is similar to how recordings resolve tuners on multiple simultaneous schedules? thank you! |
|
|