core icon indicating copy to clipboard operation
core copied to clipboard

Sometimes the length of a song in the favorites get changed to 2:00 minutes

Open maesern opened this issue 3 months ago • 2 comments

Hello,

I've realized that sometimes the length of a song in the favorites get changed to 2:00 minutes. That also means that the song get stops playing after 2 minutes. That happened after I've changed of the favorites within the Loxone player app. But unfortunately I was not able to reproduce this problem so that I could exactly describe how and when this problem occurs.

Wrong favorite song length:

Image

Original song length:

Image

maesern avatar Aug 18 '26 09:08 maesern

Thanks for the report.

The length wasn't being corrupted. When the server couldn't look up how long a track was, it filled in a placeholder of two minutes. Playback stops when the track reaches its length, so those tracks were both mislabelled and cut short.

That also explains why you couldn't reproduce it: it depended on whether the lookup happened to succeed, which varies per track and per moment. Favourites were hit most often because a saved favourite doesn't store a length at all — but ordinary tracks could hit it too.

This is now fixed. The server no longer guesses: it reads the real length from the track while it plays, so nothing gets cut off. Occasionally the total may take a moment to appear instead of showing a wrong number — playback is unaffected. Live radio still shows no duration, as before.

It'll be in the next beta build. If a track still stops early after updating, please let me know.

rudyberends avatar Aug 29 '26 08:08 rudyberends

Thank you for this bug fix. I can confirm that now the length will be shown correctly and that the whole track will be played.

maesern avatar Sep 01 '26 16:09 maesern