v16 Is True Gapless Sound Possible with Flac Files
#16
(2016-07-19, 15:28)popcornmix Wrote: If you post a debug log (wiki) we can confirm the buffermode setting is being accepted.

Can you try to determine if it's a UPnP issue?
E.g. try playing some audio from either a standard network hare (e.g. SMB, NFS). Or copy the files to Pi (either sdcard or USB stick). Do they play gaplessly from there?

Hi, I have uploaded the log but not received any email about it yet.
Meanwhile I have played the tracks exhibiting the problem using same kodi setup but using NFS from NAS. I was asked however if I wanted to add the tracks to my library. If this loads them onto the local device then I am not playing over NFS. In any event the tracks played without fault or gap.
Reply
#17
(2016-07-19, 15:28)popcornmix Wrote: If you post a debug log (wiki) we can confirm the buffermode setting is being accepted.

Can you try to determine if it's a UPnP issue?
E.g. try playing some audio from either a standard network hare (e.g. SMB, NFS). Or copy the files to Pi (either sdcard or USB stick). Do they play gaplessly from there?

Hi, it seems the automatic uploading of log files is not working. I have put my log file on my Dropbox account. If you pm me your address I can share it with you.
Regards,
Budgie
Reply
#18
Just post the link here, or use a paste site like pastbin.com.
Reply
#19
I am experiencing a similar problem with Kodi 16.1 running on a RPi3 (OSMC 4.4.16-1).

My music is stored in single FLAC+CUE format.

I've tried several UPnP servers (e.g. MediaTomb, Logitech Media Server (LMS) with LMS-to-UPnP plugin) but none of them seem to give gapless playback on Kodi.

On foobar2000 (with UPnP plugin) gapless playback of any FLAC+CUE album works flawlessly.

When retrieving the Kodi UPnP renderer capabilities in foobar2000 I get "Capabilities: playback, volume, gapless (maybe)".

After sending an album to Kodi with LMS (LMS-to-UPnP plugin running on port 49154), Kodi attempts to play the next track and 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. I tried compiling libupnp-1.6.20 from source but that made no difference.

Would someone be able to point me to a solution?
Reply
#20
(2016-08-27, 16:46)Antipode Wrote: I am experiencing a similar problem with Kodi 16.1 running on a RPi3 (OSMC 4.4.16-1).

Can you try the same test with kodi running on a different platform (e.g. windows).
I don't use UPnP and I'm not sure if this is supported with kodi.
Reply
#21
I am getting the same warning and errors on Win10:

21:22:10 T:8108 NOTICE: Starting Kodi (16.1 Git:20160424-c327c53). Platform: Windows NT x86 32-bit

21:25:20 T:8108 WARNING: CCurlFile::Open - Disabling multi session due to broken libupnp server

21:25:23 T:8108 ERROR: CCurlFile::Open failed with code 404 for http://10.0.0.1:49154/LMS2UPNP/bb-bb-b6-...-idx-1.pcm
21:25:23 T:8108 ERROR: XFILE::CFileCache::Open - failed to open source <http://10.0.0.1:49154/LMS2UPNP/bb-bb-b6-ae-7c-87-idx-1.pcm>
Reply
#22
(2016-08-28, 13:39)Antipode Wrote: I am getting the same warning and errors on Win10:

Best to report it in the "OS independent" forum - better chance of getting a dev who knows about this seeing it.
Reply
#23
Thanks popcornmix, will do. I will also check with the developer of the LMS/UPnP plugin.
Reply
#24
I have tried gapless playing of some music file I use for checking gapless capabilities of my players.
It is based on one 1 Khz pure sound with the same beginning and ending phase. Combining with various codec the sound should be (annoyingly) gapless. Same repeating it.

I have done a trial with a win Kodi both with local and network files (UPnP or SMB): interesting that in all the cases, on flac files I can hear a little click. Mp3 files play a little better. (A very little click can be heard).
In comparison to players I have, where flac files are perfect and where on mp3 ones a little click can be heard, it appears there is something wrong in Kodi when sequencing flac files.
Reply
#25
(2016-10-03, 16:05)ebr9999 Wrote: I have done a trial with a win Kodi both with local and network files (UPnP or SMB): interesting that in all the cases, on flac files I can hear a little click.

I don't believe this is a Pi specific issue, so best to report it in the "OS independent" forum - better chance of getting a dev who knows about this seeing it.
Reply

Logout Mark Read Team Forum Stats Members Help
Is True Gapless Sound Possible with Flac Files0