hifiberry / hifiberry-os

Linux distribution optimized for audio playback
MIT License
997 stars 125 forks source link

HiFiBerryOS64 Alpha 7 - Arrange sources not working #532

Open mbolo01 opened 5 months ago

mbolo01 commented 5 months ago

DO NOT remove the blocks below, but fill these with the requested data. Incomplete bug reports will be ignored! You should remove this comment before posting the bug report.

Describe the bug When moving a source item from one position to another, it goes back to the initial place.

HiFiBerryOS version 20240410

HiFiBerry sound card DAC+DSP

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Being able to rearrange sources

Screenshots If applicable, add screenshots to help explain your problem.

Browser (if applicable)

Additional context Add any other context about the problem here.

mbolo01 commented 5 months ago

For a reason I ignore, arranging sources works now

mbolo01 commented 5 months ago

Here is a video illustrating the issue rearranging sources. I rebooted the RPI and then tried to rearrange the sources.

https://github.com/hifiberry/hifiberry-os/assets/57586871/65cd6ac6-97c6-465b-8cb5-5a14879b05d1

Also, some disabled sources like ROON, Airplay, Spotify Daemon, etc... (I guess Extensions generally speaking) do not appear under the Disabled Sources section

mbolo01 commented 5 months ago

Today after a reboot it works again ... I can arrange sources and disabled sources are correctly listed in the Disabled sources section. Hard to understand the context that breaks it

mbolo01 commented 5 months ago

Failed to work again. I don't have a precise context other than maybe a hard restart of the PI (power off/on) Subsequently, restarting HBOS via the UI makes no difference, any browser I have tried would show the issue ( I was thinking about a cache issue). I could see that the sources.json had several "null" in the string. I finally used the CLI to reboot and now it is back to normal.

mbolo01 commented 3 months ago

Found the root cause: It happens that I have to power off/on the RPI by unplugging the mains. When HBOS starts back, sources cannot be arranged anymore and disabled sources are no longer shown as disabled. I don't know how to recover from that by a CLI command, and sometimes if corrects by itself post reboot.