2016-09-01, 06:43
Hi,
I first posted this in the Kodi Raspberry Pi forum but was advised to repost here as my issue seems platform-independent.
I cannot seem to get gapless playback with Kodi's built-in UPnP renderer, I am running Kodi 16.1 on a RPi3 (OSMC 4.4.16-1) and on Windows10.
My music is stored on a NAS in single FLAC+CUE format. I've tried with several UPnP servers (MediaTomb, Logitech Media Server (LMS) with LMS-to-UPnP plugin) but none of them give gapless playback on Kodi. On foobar2000 (as a renderer, using UPnP plugin) gapless playback of any FLAC+CUE album works flawlessly.
After sending an album to Kodi from a UPnP control point Kodi plays the first track fine but my kodi.log shows a warning:
16:08:36 25959.970703 T:1459614704 WARNING: CCurlFile::Open - Disabling multi session due to broken libupnp server
Then, at the end of the track I get the following errors:
16:08:39 25962.761719 T:1459614704 ERROR: CCurlFile::Open failed with code 404 for http://10.0.0.1:49154/LMS2UPNP/bb-bb-1e-...-idx-1.pcm
16:08:39 25962.761719 T:1459614704 ERROR: Open - failed to open source <http://10.0.0.1:49154/LMS2UPNP/bb-bb-1e-dd-17-6c-idx-1.pcm>
A quick look at Kodi's source code tells me that the libupnp warning is raised in CurlFile.cpp. Multi-session gets disabled when find("Portable SDK for UPnP devices") fails.
I am guessing that the disabled multi-session is the culprit here.
Would someone be able to point me to a solution?
I first posted this in the Kodi Raspberry Pi forum but was advised to repost here as my issue seems platform-independent.
I cannot seem to get gapless playback with Kodi's built-in UPnP renderer, I am running Kodi 16.1 on a RPi3 (OSMC 4.4.16-1) and on Windows10.
My music is stored on a NAS in single FLAC+CUE format. I've tried with several UPnP servers (MediaTomb, Logitech Media Server (LMS) with LMS-to-UPnP plugin) but none of them give gapless playback on Kodi. On foobar2000 (as a renderer, using UPnP plugin) gapless playback of any FLAC+CUE album works flawlessly.
After sending an album to Kodi from a UPnP control point Kodi plays the first track fine but my kodi.log shows a warning:
16:08:36 25959.970703 T:1459614704 WARNING: CCurlFile::Open - Disabling multi session due to broken libupnp server
Then, at the end of the track I get the following errors:
16:08:39 25962.761719 T:1459614704 ERROR: CCurlFile::Open failed with code 404 for http://10.0.0.1:49154/LMS2UPNP/bb-bb-1e-...-idx-1.pcm
16:08:39 25962.761719 T:1459614704 ERROR: Open - failed to open source <http://10.0.0.1:49154/LMS2UPNP/bb-bb-1e-dd-17-6c-idx-1.pcm>
A quick look at Kodi's source code tells me that the libupnp warning is raised in CurlFile.cpp. Multi-session gets disabled when find("Portable SDK for UPnP devices") fails.
I am guessing that the disabled multi-session is the culprit here.
Would someone be able to point me to a solution?