38 comments
-
HiFiBerry team The database will be scanned on updates on every reboot as the system doesn't know if something has been changed. Most people let the system run. As you seem to have lots of problems after reboots, I would recommend to leave it running.
I can't say anything on "how long" as the size of a library doesn't say anything about this. You can simply have one large song with 120GB size, than scanning will be very slow. It depends on a lot of factors and you need to try by yourself.
Our office system here is rebooted once every day without any problems - but we store the music on a NAS.
-
Luyckx Bart Quote :"The database will be scanned on updates on every reboot as the system doesn't know if something has been changed."
Is this not strange? I would expect it does know. Just keeping track of last scan and last changes, when something change it need to be logged somewhere (transactionllog) . Update should only update the changes and not the whole DB I would expect.
Update looks like hanging when you run it. Can not see any progress-bar....i have about 150 albums and 250 or more artists I guess
-
HiFiBerry team There is no "transaction log" on a NAS or an USB stick. Updates WILL only update the changes. However, to know if there are changes, the whole music storage has to be scanned.
-
Luyckx Bart Thanks for the support and clarifying things
For my understanding moving things to a USB thumbdrive will not solve my problem? Am I correct?
If updating database takes so long why not start it only manually from the menu and not everytime at startup? User should know when he made changes and update is needed. Some progress-bar would help also i feel.
-
HiFiBerry team As I don't know what's causing your problem, I can't tell you what will fix it. I can only tell you, that we're working here with USB sticks and NAS devices without issues.
-
Luyckx Bart For me it's also not clear what is causing the problem. Since the latest release the mounting of the drive /data is correct every time only the DB is not always available as it should be.
If I would install a USB Thumbdrive,how would it be formatted? ex FAT?
-
Luyckx Bart Is there a way to rebuild the database from scratch?
I was playing Wet Wet Wet. Left de Pi on powered on as suggested. When I came back after a few hours, the list in artists and album was empty again, but still showing the last played track.
I updated the DB with /opt/hifiberry/bin/update-mpd-db
The process just stopped as shown in one of the ssh sessions.
But strangely al the albums are visible again (artist list stay empty) .
Im able to play music from there (as shown in the other ssh session) update seems not to continue but window with the update still active and ongoing.
Now playing Depeche Mode, but under in the screen still shows Wet Wet Wet....
-
Luyckx Bart Any idea what is wrong and why the system behaves in this way? How to fix it?