Minor Bug [Error: SQLITE_CANTOPEN: unable to open database file
Closed this issue · 5 comments
[mpvremote] [Error: SQLITE_CANTOPEN: unable to open database file] {
[mpvremote] errno: 14,
[mpvremote] code: 'SQLITE_CANTOPEN'
[mpvremote] }
I get this whenever i open anything, but the app works fine except for the file browser.
OS : Windows 10 Pro 19044.1586
Node v16.14.2
npm v8.5.5
is remote.db exists for you?
Check this path %appdata%\mpv\scripts\mpvremote\
. The remote plugin should create it if local database is enabled (if not exists).
%appdata%\mpv\scripts\mpvremote\
Oh actually I am using the portable-config
folder to store my all my configs instead of the appdata
folder since it is easier for me to access it that way, so I changed the symlinks to link it there instead. I think this might the reason it is not working.
Oh I see. I didn't know about MPV has portable_config folder. I get MPV path by the server itself, so that's the reason why portable_config currently not supported. I'll investigate and fix this behaviour.
Until then you could try set an environment variable called MPV_HOME=C:\your_mpv_path\portable_config
Yes! adding the environment variable fixes the issue! TYSM!