Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor Bug [Error: SQLITE_CANTOPEN: unable to open database file #5

Closed
NaiveInvestigator opened this issue Apr 3, 2022 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@NaiveInvestigator
Copy link

NaiveInvestigator commented Apr 3, 2022

[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

@husudosu
Copy link
Owner

husudosu commented Apr 7, 2022

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).

@husudosu husudosu self-assigned this Apr 7, 2022
@NaiveInvestigator
Copy link
Author

%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.

So it looks like this to for me:
image

@husudosu
Copy link
Owner

husudosu commented Apr 8, 2022

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

@husudosu husudosu added the bug Something isn't working label Apr 8, 2022
@NaiveInvestigator
Copy link
Author

Yes! adding the environment variable fixes the issue! TYSM!

@husudosu husudosu mentioned this issue Apr 12, 2023
@husudosu
Copy link
Owner

Updated setup instructions via cbc1c4d on dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants