2023-09-19, 13:57
Hi,
I think I've narrowed down the problem with your setup. Looking at the log you gave me, it looks like your Kodi setup
is not buffering video and audio files. I've reproduced the problem on a Windows 10 box. If I use the 'advancedsettings.xml'
setting:
<advancedsettings version="1.0">
<cache>
<buffermode>3</buffermode>
</cache>
</advancedsettings>
which means 'no buffering' I get the error you're getting. I added Curl debugging to kodi logging and I could see this:
Curl:: Debug - TEXT: Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
just before the error:
CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x21ad0d588f0) Failed: Timeout was reached(28)
It seems when buffermode = 3, Kodi uses XCURL:: DllLibCurlGlobal to stream Spotify files. But if in 'advancedsettings.xml'
I use:
<advancedsettings version="1.0">
<cache>
<buffermode>1</buffermode>
</cache>
</advancedsettings>
(buffer all internet filesystems), then Kodi uses CFileCache to stream Spotify files. And no error occurs.
So I'm wondering why your setup seems to have no buffering. And also, could you try buffering = 1 with the latest
v1.3.6 plugin and see if that works.
Sadly, I have no idea why 'no buffering' causes this problem.
Thanks.
I think I've narrowed down the problem with your setup. Looking at the log you gave me, it looks like your Kodi setup
is not buffering video and audio files. I've reproduced the problem on a Windows 10 box. If I use the 'advancedsettings.xml'
setting:
<advancedsettings version="1.0">
<cache>
<buffermode>3</buffermode>
</cache>
</advancedsettings>
which means 'no buffering' I get the error you're getting. I added Curl debugging to kodi logging and I could see this:
Curl:: Debug - TEXT: Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
just before the error:
CCurlFile::CReadState::XFILE::CCurlFile::CReadState::FillBuffer - (0x21ad0d588f0) Failed: Timeout was reached(28)
It seems when buffermode = 3, Kodi uses XCURL:: DllLibCurlGlobal to stream Spotify files. But if in 'advancedsettings.xml'
I use:
<advancedsettings version="1.0">
<cache>
<buffermode>1</buffermode>
</cache>
</advancedsettings>
(buffer all internet filesystems), then Kodi uses CFileCache to stream Spotify files. And no error occurs.
So I'm wondering why your setup seems to have no buffering. And also, could you try buffering = 1 with the latest
v1.3.6 plugin and see if that works.
Sadly, I have no idea why 'no buffering' causes this problem.
Thanks.