From a096c43b972995018886f2b8788569f6384ce101 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Thu, 24 Dec 2020 12:41:00 +0100 Subject: [PATCH] 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. --- pkgs/flatpak/com.github.rafostar.Clapper.json | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/flatpak/com.github.rafostar.Clapper.json b/pkgs/flatpak/com.github.rafostar.Clapper.json index 668dc18e..cc130b9c 100644 --- a/pkgs/flatpak/com.github.rafostar.Clapper.json +++ b/pkgs/flatpak/com.github.rafostar.Clapper.json @@ -12,6 +12,7 @@ "--socket=pulseaudio", "--share=network", "--device=all", + "--filesystem=xdg-videos", "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0", "--env=GST_VAAPI_ALL_DRIVERS=1" ],