From d765b69e1d4c6d6db011b35417658c3c0c453687 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Thu, 3 Aug 2023 10:15:02 -0300 Subject: profiles: add cache/state paths for mpv On the profiles that allow ~/.config/mpv. Relates to #5936. --- etc/profile-a-l/chatterino.profile | 2 ++ etc/profile-a-l/firefox-common-addons.profile | 4 ++++ etc/profile-m-z/QMediathekView.profile | 4 ++++ etc/profile-m-z/mediathekview.profile | 2 ++ etc/profile-m-z/mpsyt.profile | 4 ++++ etc/profile-m-z/rtv-addons.profile | 4 ++++ etc/profile-m-z/smtube.profile | 6 ++++-- etc/profile-m-z/youtube-viewers-common.profile | 2 ++ 8 files changed, 26 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/profile-a-l/chatterino.profile b/etc/profile-a-l/chatterino.profile index 2df03b10b..2a77b6fd6 100644 --- a/etc/profile-a-l/chatterino.profile +++ b/etc/profile-a-l/chatterino.profile @@ -12,11 +12,13 @@ include globals.local #whitelist ${MUSIC} # Also allow access to mpv/vlc, they're usable via streamlink. +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.config/mpv noblacklist ${HOME}/.config/pulse noblacklist ${HOME}/.config/vlc noblacklist ${HOME}/.local/share/chatterino noblacklist ${HOME}/.local/share/vlc +noblacklist ${HOME}/.local/state/mpv # Allow Lua for mpv (blacklisted by disable-interpreters.inc) include allow-lua.inc diff --git a/etc/profile-a-l/firefox-common-addons.profile b/etc/profile-a-l/firefox-common-addons.profile index f12750fda..566e88bf8 100644 --- a/etc/profile-a-l/firefox-common-addons.profile +++ b/etc/profile-a-l/firefox-common-addons.profile @@ -11,6 +11,7 @@ ignore include whitelist-runuser-common.inc ignore private-cache +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.cache/youtube-dl noblacklist ${HOME}/.config/kgetrc noblacklist ${HOME}/.config/mpv @@ -32,9 +33,11 @@ noblacklist ${HOME}/.local/share/kget noblacklist ${HOME}/.local/share/kxmlgui5/okular noblacklist ${HOME}/.local/share/okular noblacklist ${HOME}/.local/share/qpdfview +noblacklist ${HOME}/.local/state/mpv noblacklist ${HOME}/.netrc whitelist ${HOME}/.cache/gnome-mplayer/plugin +whitelist ${HOME}/.cache/mpv whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs whitelist ${HOME}/.config/gnome-mplayer whitelist ${HOME}/.config/kgetrc @@ -62,6 +65,7 @@ whitelist ${HOME}/.local/share/kxmlgui5/okular whitelist ${HOME}/.local/share/okular whitelist ${HOME}/.local/share/qpdfview whitelist ${HOME}/.local/share/tridactyl +whitelist ${HOME}/.local/state/mpv whitelist ${HOME}/.netrc whitelist ${HOME}/.pentadactyl whitelist ${HOME}/.pentadactylrc diff --git a/etc/profile-m-z/QMediathekView.profile b/etc/profile-m-z/QMediathekView.profile index f8b5cec13..0e18b3cdf 100644 --- a/etc/profile-m-z/QMediathekView.profile +++ b/etc/profile-m-z/QMediathekView.profile @@ -9,6 +9,7 @@ include globals.local noblacklist ${HOME}/.config/QMediathekView noblacklist ${HOME}/.local/share/QMediathekView +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.config/mpv noblacklist ${HOME}/.config/smplayer noblacklist ${HOME}/.config/totem @@ -16,6 +17,7 @@ noblacklist ${HOME}/.config/vlc noblacklist ${HOME}/.config/xplayer noblacklist ${HOME}/.local/share/totem noblacklist ${HOME}/.local/share/xplayer +noblacklist ${HOME}/.local/state/mpv noblacklist ${HOME}/.mplayer noblacklist ${VIDEOS} @@ -35,6 +37,7 @@ whitelist ${HOME}/.local/share/QMediathekView whitelist ${DOWNLOADS} whitelist ${VIDEOS} +whitelist ${HOME}/.cache/mpv whitelist ${HOME}/.config/mpv whitelist ${HOME}/.config/smplayer whitelist ${HOME}/.config/totem @@ -42,6 +45,7 @@ whitelist ${HOME}/.config/vlc whitelist ${HOME}/.config/xplayer whitelist ${HOME}/.local/share/totem whitelist ${HOME}/.local/share/xplayer +whitelist ${HOME}/.local/state/mpv whitelist ${HOME}/.mplayer whitelist /usr/share/qtchooser include whitelist-common.inc diff --git a/etc/profile-m-z/mediathekview.profile b/etc/profile-m-z/mediathekview.profile index 19ce6fcd1..ef0c8bcc9 100644 --- a/etc/profile-m-z/mediathekview.profile +++ b/etc/profile-m-z/mediathekview.profile @@ -6,6 +6,7 @@ include mediathekview.local # Persistent global definitions include globals.local +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.config/mpv noblacklist ${HOME}/.config/smplayer noblacklist ${HOME}/.config/totem @@ -13,6 +14,7 @@ noblacklist ${HOME}/.config/vlc noblacklist ${HOME}/.config/xplayer noblacklist ${HOME}/.local/share/totem noblacklist ${HOME}/.local/share/xplayer +noblacklist ${HOME}/.local/state/mpv noblacklist ${HOME}/.mediathek3 noblacklist ${HOME}/.mplayer noblacklist ${VIDEOS} diff --git a/etc/profile-m-z/mpsyt.profile b/etc/profile-m-z/mpsyt.profile index dc6d64e83..e4f76855e 100644 --- a/etc/profile-m-z/mpsyt.profile +++ b/etc/profile-m-z/mpsyt.profile @@ -6,9 +6,11 @@ include mpsyt.local # Persistent global definitions include globals.local +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.config/mps-youtube noblacklist ${HOME}/.config/mpv noblacklist ${HOME}/.config/youtube-dl +noblacklist ${HOME}/.local/state/mpv noblacklist ${HOME}/.mplayer noblacklist ${HOME}/.netrc noblacklist ${HOME}/mps @@ -34,9 +36,11 @@ include disable-xdg.inc mkdir ${HOME}/.config/mps-youtube mkdir ${HOME}/.mplayer mkdir ${HOME}/mps +whitelist ${HOME}/.cache/mpv whitelist ${HOME}/.config/mps-youtube whitelist ${HOME}/.config/mpv whitelist ${HOME}/.config/youtube-dl +whitelist ${HOME}/.local/state/mpv whitelist ${HOME}/.mplayer whitelist ${HOME}/.netrc whitelist ${HOME}/mps diff --git a/etc/profile-m-z/rtv-addons.profile b/etc/profile-m-z/rtv-addons.profile index cc6db5043..3098cf0a0 100644 --- a/etc/profile-m-z/rtv-addons.profile +++ b/etc/profile-m-z/rtv-addons.profile @@ -11,13 +11,17 @@ ignore nosound ignore private-bin ignore dbus-user none +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.config/mpv +noblacklist ${HOME}/.local/state/mpv noblacklist ${HOME}/.mailcap noblacklist ${HOME}/.netrc noblacklist ${HOME}/.w3m +whitelist ${HOME}/.cache/mpv whitelist ${HOME}/.cache/youtube-dl/youtube-sigfuncs whitelist ${HOME}/.config/mpv +whitelist ${HOME}/.local/state/mpv whitelist ${HOME}/.mailcap whitelist ${HOME}/.netrc whitelist ${HOME}/.w3m diff --git a/etc/profile-m-z/smtube.profile b/etc/profile-m-z/smtube.profile index b617444af..7debd4057 100644 --- a/etc/profile-m-z/smtube.profile +++ b/etc/profile-m-z/smtube.profile @@ -6,12 +6,14 @@ include smtube.local # Persistent global definitions include globals.local +noblacklist ${HOME}/.cache/mpv +noblacklist ${HOME}/.config/mpv noblacklist ${HOME}/.config/smplayer noblacklist ${HOME}/.config/smtube -noblacklist ${HOME}/.config/mpv -noblacklist ${HOME}/.mplayer noblacklist ${HOME}/.config/vlc noblacklist ${HOME}/.local/share/vlc +noblacklist ${HOME}/.local/state/mpv +noblacklist ${HOME}/.mplayer noblacklist ${MUSIC} noblacklist ${VIDEOS} diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile index c9d2ea53b..5950c3639 100644 --- a/etc/profile-m-z/youtube-viewers-common.profile +++ b/etc/profile-m-z/youtube-viewers-common.profile @@ -7,8 +7,10 @@ include youtube-viewers-common.local # added by caller profile #include globals.local +noblacklist ${HOME}/.cache/mpv noblacklist ${HOME}/.cache/youtube-dl noblacklist ${HOME}/.config/mpv +noblacklist ${HOME}/.local/state/mpv # Allow lua (blacklisted by disable-interpreters.inc) include allow-lua.inc -- cgit v1.2.3-54-g00ecf