commit aaa07bc80e7a49c7b4b8fac569bc956bcb4c9d47
parent 97fd760e3e96973761141826e81d9fd1ba94d21d
Author: hhvn <dev@hhvn.uk>
Date: Fri, 16 Jul 2021 23:49:35 +0100
.s/b/plumb: don't plumb youtube feeds to mpv
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.scripts/bin/plumb b/.scripts/bin/plumb
@@ -124,6 +124,7 @@ do
matches "^(gopher|http)s?://.*\.(mkv|mp4|avi|webm|ogv|gifv|mp4|ape|m3u|m3u8)$" ||
matches "^https?://(www\.|m\.)?(youtube.com|youtu.be)" &&
+ ! matches "(youtu.be|youtube.com).*/feeds/" &&
plumb gui '$proxy mpv --pause $arg'
matches "^https?://" &&