Skip to content

Commit

Permalink
profiles: video: add ~/.dvdcss (#6468)
Browse files Browse the repository at this point in the history
It's used by libdvdcss (which is used to play copy-restricted dvds).

It seems to be just a cache directory, so just allow without mkdir.

Relates to #5391.

Suggested-by: @reinerh
  • Loading branch information
kmk3 authored Sep 13, 2024
1 parent 508394f commit 26f3e9b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ blacklist ${HOME}/.dillo
blacklist ${HOME}/.dooble
blacklist ${HOME}/.dosbox
blacklist ${HOME}/.dropbox*
blacklist ${HOME}/.dvdcss
blacklist ${HOME}/.easystroke
blacklist ${HOME}/.electron-cache
blacklist ${HOME}/.electron-cash
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/ffmpeg.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include globals.local

noblacklist ${MUSIC}
noblacklist ${VIDEOS}
noblacklist ${HOME}/.dvdcss

include disable-common.inc
include disable-devel.inc
Expand Down
1 change: 1 addition & 0 deletions etc/profile-a-l/handbrake.profile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include handbrake.local
include globals.local

noblacklist ${HOME}/.config/ghb
noblacklist ${HOME}/.dvdcss
noblacklist ${MUSIC}
noblacklist ${VIDEOS}

Expand Down
2 changes: 2 additions & 0 deletions etc/profile-m-z/mplayer.profile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include mplayer.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.dvdcss
noblacklist ${HOME}/.mplayer

include disable-common.inc
Expand All @@ -16,6 +17,7 @@ include disable-programs.inc

read-only ${DESKTOP}
mkdir ${HOME}/.mplayer
whitelist ${HOME}/.dvdcss
whitelist ${HOME}/.mplayer
include whitelist-common.inc
include whitelist-player-common.inc
Expand Down
2 changes: 2 additions & 0 deletions etc/profile-m-z/mpv.profile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ noblacklist ${HOME}/.config/mpv
noblacklist ${HOME}/.config/youtube-dl
noblacklist ${HOME}/.config/yt-dlp
noblacklist ${HOME}/.config/yt-dlp.conf
noblacklist ${HOME}/.dvdcss
noblacklist ${HOME}/.local/state/mpv
noblacklist ${HOME}/.netrc
noblacklist ${HOME}/yt-dlp.conf
Expand Down Expand Up @@ -60,6 +61,7 @@ whitelist ${HOME}/.config/mpv
whitelist ${HOME}/.config/youtube-dl
whitelist ${HOME}/.config/yt-dlp
whitelist ${HOME}/.config/yt-dlp.conf
whitelist ${HOME}/.dvdcss
whitelist ${HOME}/.local/state/mpv
whitelist ${HOME}/.netrc
whitelist ${HOME}/yt-dlp.conf
Expand Down
1 change: 1 addition & 0 deletions etc/profile-m-z/smplayer.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include globals.local

noblacklist ${HOME}/.config/smplayer
noblacklist ${HOME}/.config/youtube-dl
noblacklist ${HOME}/.dvdcss
noblacklist ${HOME}/.mplayer

# Allow lua (blacklisted by disable-interpreters.inc)
Expand Down
2 changes: 2 additions & 0 deletions etc/profile-m-z/totem.profile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ include allow-lua.inc
include allow-python3.inc

noblacklist ${HOME}/.config/totem
noblacklist ${HOME}/.dvdcss
noblacklist ${HOME}/.local/share/totem

include disable-common.inc
Expand All @@ -27,6 +28,7 @@ read-only ${DESKTOP}
mkdir ${HOME}/.config/totem
mkdir ${HOME}/.local/share/totem
whitelist ${HOME}/.config/totem
whitelist ${HOME}/.dvdcss
whitelist ${HOME}/.local/share/totem
whitelist /usr/share/totem
include whitelist-common.inc
Expand Down
2 changes: 2 additions & 0 deletions etc/profile-m-z/vlc.profile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include globals.local
noblacklist ${HOME}/.cache/vlc
noblacklist ${HOME}/.config/vlc
noblacklist ${HOME}/.config/aacs
noblacklist ${HOME}/.dvdcss
noblacklist ${HOME}/.local/share/vlc

include disable-common.inc
Expand All @@ -24,6 +25,7 @@ mkdir ${HOME}/.local/share/vlc
whitelist ${HOME}/.cache/vlc
whitelist ${HOME}/.config/vlc
whitelist ${HOME}/.config/aacs
whitelist ${HOME}/.dvdcss
whitelist ${HOME}/.local/share/vlc
include whitelist-common.inc
include whitelist-player-common.inc
Expand Down

0 comments on commit 26f3e9b

Please sign in to comment.