Flatpak: allow access to user "Videos" directory

This is needed to fix loading playlist from file. With that playlists will be limited to videos inside "Videos" directory in Flatpak version (with default permissions) which is still better than no playlists functionality. This is a common thing to do for a Flatpak video player.
This commit is contained in:
Rafostar
2020-12-24 12:41:00 +01:00
parent 094de19018
commit a096c43b97

View File

@@ -12,6 +12,7 @@
"--socket=pulseaudio", "--socket=pulseaudio",
"--share=network", "--share=network",
"--device=all", "--device=all",
"--filesystem=xdg-videos",
"--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0", "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0",
"--env=GST_VAAPI_ALL_DRIVERS=1" "--env=GST_VAAPI_ALL_DRIVERS=1"
], ],