mpv: fix loading of album art within sandbox

This commit is contained in:
2024-02-12 08:59:46 +00:00
parent e81df0ac86
commit 1e05119adc

View File

@@ -68,6 +68,11 @@ in
sandbox.whitelistDri = true; #< mpv has excellent fallbacks to non-DRI, but DRI offers a good 30%-50% reduced CPU
sandbox.extraHomePaths = [
".config/mpv" #< else mpris plugin crashes on launch
# it's common for album (or audiobook, podcast) images/lyrics/metadata to live adjacent to the primary file.
# CLI detection is too poor to pick those up, so expose the common media dirs to the sandbox to make that *mostly* work.
"Music"
"Videos"
"Books"
];
persist.byStore.plaintext = [ ".local/state/mpv/watch_later" ];