mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Recompute all songalbumids at startup
Due to the two Murmur64 implementations for 64 and 32bit machines, the hash is not compatible when moving the SQLite DB between 32/64 bit hosts. So we'll recompute all the songalbumids at startup, just in case.
This commit is contained in:
@@ -697,6 +697,11 @@ filescanner(void *arg)
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
/* Recompute all songalbumids, in case the SQLite DB got transferred
|
||||
* to a different host; the hash is not portable.
|
||||
*/
|
||||
db_files_update_songalbumid();
|
||||
|
||||
bulk_scan();
|
||||
|
||||
if (!scan_exit)
|
||||
|
||||
Reference in New Issue
Block a user