Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Streams not working in Kodi

  1. #11
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,613
    Ah, apparently I had to add a first "#EXTM3U" line to your example above.

  2. #12
    Join Date
    Mar 2014
    Location
    Calgary
    Posts
    13
    Quote Originally Posted by sub View Post
    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?

  3. #13
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,613
    Quote Originally Posted by Rogier21 View Post
    That makes sense, sorry I did take that part out yeah.

    Did you manage to reproduce the same issue?
    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.

  4. #14
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,396
    Can you play the m3u file from Video Library, that should work the same as x-newa.

    Martin

  5. #15
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,613
    Quote Originally Posted by mvallevand View Post
    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.

  6. #16
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,396
    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

  7. #17
    Join Date
    Mar 2014
    Location
    Calgary
    Posts
    13
    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)

  8. #18
    Join Date
    Mar 2014
    Location
    Calgary
    Posts
    13
    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-i...e-enabled/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!

  9. #19
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,613
    Great - good find.

  10. #20
    Join Date
    Nov 2015
    Location
    Canada
    Posts
    5
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •