Is there an SQL client to query the song database? I want to check the content of the songs.db to see if that is where the problem is.
I seem to be having problems with scanning, specifically it isn’t finding new songs that I am adding to the mp3_dir. All the old songs in an existing sub directory are there, but the new files aren’t being added. This includes after a restart of the software as well as a rescan through the admin GUI page.
Is there a way to force a complete rescan without deleting the songs.db? Will deleting the songs.db cause any issues?
2. Check your permissions. The files must have read permission by the “runas” user. Also, you can run mt-daapd with a “-d5” argument and a “logfile” specified in your config, and that might shed some light on what’s happening as well.
3. Yes, you can start mt-daapd with a “-r” and that will force a rescan. Alternately, you can force rescan on individual files by setting “force_rescan” to 1 in the songs table of the db:
[email protected]$ sqlite /path/to/songs.db
sqlite> update songs set force_update=1 where type='m4a'
4. Nope, won’t hurt anything to delete songs.db — it will recreate it.