From 0dffeb15b650a113643aa0d632ffae59379fe12e Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sat, 6 Jul 2019 23:35:40 +0000 Subject: Add youtube-dl config handling (#2836) * Add youtube-dl config to disable-programs.inc * Add config handling to youtube-dl * Add youtube-dl config handling to celluloid.profile * Add youtube-dl config handling to mpv.profile * Add youtube-dl config handling to smplayer.profile * Add youtube-dl config handling to mpsyt.profile --- etc/celluloid.profile | 3 ++- etc/disable-programs.inc | 1 + etc/mpsyt.profile | 3 +++ etc/mpv.profile | 1 + etc/smplayer.profile | 1 + etc/youtube-dl.profile | 1 + 6 files changed, 9 insertions(+), 1 deletion(-) diff --git a/etc/celluloid.profile b/etc/celluloid.profile index 89543d6cc..6b7db6b44 100644 --- a/etc/celluloid.profile +++ b/etc/celluloid.profile @@ -6,8 +6,9 @@ include celluloid.local # Persistent global definitions include globals.local -noblacklist ${HOME}/.config/gnome-mpv noblacklist ${HOME}/.config/celluloid +noblacklist ${HOME}/.config/gnome-mpv +noblacklist ${HOME}/.config/youtube-dl noblacklist ${MUSIC} noblacklist ${VIDEOS} diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 3e6706101..c061e94a2 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc @@ -319,6 +319,7 @@ blacklist ${HOME}/.config/xviewer blacklist ${HOME}/.config/yandex-browser blacklist ${HOME}/.config/yandex-browser-beta blacklist ${HOME}/.config/yelp +blacklist ${HOME}/.config/youtube-dl blacklist ${HOME}/.config/zathura blacklist ${HOME}/.config/zoomus.conf blacklist ${HOME}/.conkeror.mozdev.org diff --git a/etc/mpsyt.profile b/etc/mpsyt.profile index f0309da9a..878a5f654 100644 --- a/etc/mpsyt.profile +++ b/etc/mpsyt.profile @@ -8,6 +8,7 @@ include globals.local noblacklist ${HOME}/.config/mps-youtube noblacklist ${HOME}/.config/mpv +noblacklist ${HOME}/.config/youtube-dl noblacklist ${HOME}/.mplayer noblacklist ${HOME}/.netrc noblacklist ${HOME}/mps @@ -29,10 +30,12 @@ include disable-xdg.inc mkdir ${HOME}/.config/mps-youtube mkdir ${HOME}/.config/mpv +mkdir ${HOME}/.config/youtube-dl mkdir ${HOME}/.mplayer mkdir ${HOME}/mps whitelist ${HOME}/.config/mps-youtube whitelist ${HOME}/.config/mpv +whitelist ${HOME}/.config/youtube-dl whitelist ${HOME}/.mplayer whitelist ${HOME}/.netrc whitelist ${HOME}/mps diff --git a/etc/mpv.profile b/etc/mpv.profile index 07a6ba42b..25769085c 100644 --- a/etc/mpv.profile +++ b/etc/mpv.profile @@ -8,6 +8,7 @@ include mpv.local include globals.local noblacklist ${HOME}/.config/mpv +noblacklist ${HOME}/.config/youtube-dl noblacklist ${HOME}/.netrc # Allow python (blacklisted by disable-interpreters.inc) diff --git a/etc/smplayer.profile b/etc/smplayer.profile index f83caee8a..c7324e6ca 100644 --- a/etc/smplayer.profile +++ b/etc/smplayer.profile @@ -7,6 +7,7 @@ include smplayer.local include globals.local noblacklist ${HOME}/.config/smplayer +noblacklist ${HOME}/.config/youtube-dl noblacklist ${HOME}/.mplayer # Allow python (blacklisted by disable-interpreters.inc) diff --git a/etc/youtube-dl.profile b/etc/youtube-dl.profile index 28b5f2376..a9acd4583 100644 --- a/etc/youtube-dl.profile +++ b/etc/youtube-dl.profile @@ -10,6 +10,7 @@ include globals.local # breaks when installed via pip ignore noexec ${HOME} +noblacklist ${HOME}/.config/youtube-dl noblacklist ${HOME}/.netrc noblacklist ${MUSIC} noblacklist ${VIDEOS} -- cgit v1.2.3-54-g00ecf