From what I've been able to test, the problem is not related to foo_discogger.
It happens even with a clean foobar2000.
I've written down my tests below to make it more clear.
1. Run a completely clean foobar2000 (%APPDATA%foobar2000-v2 folder doesn't exist)
2. Close foobar2000 (%APPDATA%foobar2000-v2 folder created)
3. Unpack and copy the attached library-v2.0.7z file to %APPDATA%foobar2000-v2 folder
https://www.mediafire.com/file/s8aewprg8xjn4h4/library-v2.0.7z/file
4. Once again, run foobar2000
5. Library - Album List, Right-click on "All Music" and click "Create Autoplaylist"
Up to this point, everything is fine.
6. Playback - Order - Shuffle (albums) or Shuffle (folders)
View - Console, The "database is locked" message is repeating.
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
bump
The bug is still there.
I reduced about 100,000 songs from the media library.
I also cleaned up a lot of tags in the files (deleted lyrics, cue data, etc.)
I deleted the existing files. Below are the newly created metadb and playlist files.
https://www.mediafire.com/file/bzqd2osxm3p4xcb/foobar2000-v2.7z/file
There seems to be something that the foobar2000 v2 DB can't handle and is causing errors.
file name too long?
some unicode it can't handle?
I have my suspicions, but there's nothing more I can do in the real world.
Components loaded in: 0:00.006330
Configuration read in: 0:00.000473
foobar2000 v2.1 preview 2023-07-27 x64 [standard]
Playlist #0 loaded in 0:00.108934
User Interface initialized in: 0:00.225828
Loading foo_discogger
foo_discogger: a previous foo_discogger.cfg.db file version was found
foo_discogger: http_client service ready
FFmpeg version: 6.0
Startup time : 0:00.270997
Watching: D:\Music
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
Library initialized after 0:00.718363
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked
could not compile SQL:
SELECT info, infoBrowse, size, lastModified, infoBrowseTime, created, attribs, attribsValid FROM metadb WHERE name = ?
database is locked