plumber

Plumber – a modern approach to plumbing
git clone git://r-36.net/plumber
Log | Files | Refs | LICENSE

commit 6e95b7479fbf933e6e1c9d6c3505e725696575f3
parent 7e31e05418f45f95816da1bdc809d101301ee2c8
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 12 Jan 2022 15:32:19 +0100

Add some more gophers and media formats support.

Diffstat:
bin/plumber | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/plumber b/bin/plumber @@ -25,9 +25,9 @@ plumbrules = [ ["^.*://.*\.(jpeg|jpg|png|gif|xpm|JPG|JPEG|PNG|XPM|GIF|svg|SVG|svgz|SVGZ)$", \ "imageopener '%s'"], ["^.*://.*\.(pdf|PDF)$", "pdfopener '%s'"], - ["^gopher://.*\.(txt|TXT|patch|PATCH|diff|DIFF)$", "textgopheropener '%s'"], + ["^gopher(|s)://.*\.(txt|TXT|patch|PATCH|diff|DIFF)$", "textgopheropener '%s'"], ["^.*://.*\.(txt|TXT|patch|PATCH|diff|DIFF)$", "textwebopener '%s'"], - ["^.*://.*\.(mpg|MPG|mp3|MP3|mp4|MP4|FLAC|flac|ogg|OGG|m3u|M3U|m3u8|M3U8|flv|FLV|webm|WEBM|opus|OPUS|mov|MOV|mkv|MKV|ogv|OGV)$",\ + ["^.*://.*\.(mpg|MPG|mp3|MP3|mp4|MP4|FLAC|flac|ogg|OGG|m3u|M3U|m3u8|M3U8|flv|FLV|webm|WEBM|opus|OPUS|mov|MOV|mkv|MKV|ogv|OGV|wav|WAV)$",\ "mediaopener '%s'"], ["^dvb://.*", "tvopener '%s'"], ["^geo:.*", "geoopener '%s'"],