2015-03-18, 03:43
Kodibuntu running 14.1, but also happened in 14.0 and 13.2. Was also a problem in Windows 7 with at least 13.2, never tested higher versions.
Let me preface this by saying the wifi coverage is the issue, but I have done what I can to improve it. I was hoping Kodi could deal with the wifi dropping if I buffer enough video, but it does not work.
Here is the scenario that happened a few minutes ago.
I start video playback and I have a ping running so I can see when the wifi drops
Kodi starts playing and buffers ~230MB into the cache
wifi drops for ~20 seconds which causes Kodi to stop buffering
Kodi never caches any more data even though Video continues to play what was cached for ~30 minutes until cache runs out
Then Kodi freezes for ~30 seconds and drops back to menu
I can immediately restart video (although it loses my place in video so I have to start from beginning) and it begins caching again
Tried many different video files and all exhibit the same problem
What I had hoped is if I cached enough video, it would give Kodi time to reconnect and start caching again. Problem is Kodi will never resume caching the data even though it has plenty of time to restart caching.
Is there any way Kodi can be configured to restart caching after losing network? I tested with VLC and it works as expected, it will resume caching after network is restored.
Below is what shows in the log file after Kodi stops caching data and these continue long after network has been restored.
http://pastebin.com/GHk8xq6d
Let me preface this by saying the wifi coverage is the issue, but I have done what I can to improve it. I was hoping Kodi could deal with the wifi dropping if I buffer enough video, but it does not work.
Here is the scenario that happened a few minutes ago.
I start video playback and I have a ping running so I can see when the wifi drops
Kodi starts playing and buffers ~230MB into the cache
wifi drops for ~20 seconds which causes Kodi to stop buffering
Kodi never caches any more data even though Video continues to play what was cached for ~30 minutes until cache runs out
Then Kodi freezes for ~30 seconds and drops back to menu
I can immediately restart video (although it loses my place in video so I have to start from beginning) and it begins caching again
Tried many different video files and all exhibit the same problem
What I had hoped is if I cached enough video, it would give Kodi time to reconnect and start caching again. Problem is Kodi will never resume caching the data even though it has plenty of time to restart caching.
Is there any way Kodi can be configured to restart caching after losing network? I tested with VLC and it works as expected, it will resume caching after network is restored.
Code:
<advancedsettings>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>1048576000</cachemembuffersize>
<readbufferfactor>20</readbufferfactor>
</network>
<samba>
<clienttimeout>120</clienttimeout>
</samba>
</advancedsettings>
Below is what shows in the log file after Kodi stops caching data and these continue long after network has been restored.
Code:
19:50:02 T:140502090946304 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
19:51:02 T:140502082553600 WARNING: Previous line repeats 19 times.
19:51:02 T:140502082553600 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:51:08 T:140502090946304 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
19:52:36 T:140502082553600 WARNING: Previous line repeats 172 times.
http://pastebin.com/GHk8xq6d