FireFly Media Server (formerly mt-daapd) › Firefly Media Server Forums › Firefly Media Server › General Discussion › songs.gdb growing, when my MP3 library isn’t? › Reply To: songs.gdb growing, when my MP3 library isn’t?
However, poking around, I notice that the songs.gdb file grows upon each restart of the Firefly server, grows by the size of the file when it’s first newly generated, so I’m guessing that what is happening is something like a rescan appends the database onto the end of the old one? rather than replacing / updating (my library of MP3s is unchanged since the day it was first added)?
Right. My guess on that would be that when it first starts the drive isn’t mounted, so it empties the database, then next scan it’s there, so it populates the database again.
You can always safely delete the songs.gdb to force a full scan. Maybe even add it to the S60mt-daapd startup script in /opt/etc/init.d.
Or, upgrade to nightlies. That does a vacuum on startup to get rid of unused disk space.