dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2e6bf1a7d234073e382ec4e7e729a13088043491
parent 2184d6267837f4111b1685cc5b06e03de3c005e8
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 16 Aug 2020 23:19:32 +0200

Handle m3u and pls urls with mpv

Diffstat:
M.local/bin/plumb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -190,7 +190,7 @@ handle_url() { t="gopher://${host}:${port}/${type}${path}" fi - if regeximatch "$t" '\.(mp4|mkv|webm|avi|ogv|gif)$'; then + if regeximatch "$t" '\.(mp4|mkv|webm|avi|ogv|gif|m3u|pls)$'; then detach $prefix mpv "$t" elif regeximatch "$t" '^radio://'; then $prefix mpv "http${t##radio}"