diff options
author | Sigrid <ftrvxmtrx@gmail.com> | 2021-01-12 10:13:00 +0100 |
---|---|---|
committer | Sigrid <ftrvxmtrx@gmail.com> | 2021-01-12 10:13:00 +0100 |
commit | 5d328689de7b4b8ba6941660caec4a6047ef3206 (patch) | |
tree | 5f3a76d768333464f46065088deed3e4506ba145 | |
parent | 54e1b8431e7888fc194fa1b45daf57e70ca78dd1 (diff) | |
download | plan9front-5d328689de7b4b8ba6941660caec4a6047ef3206.tar.xz |
plumb/basic: handle tga, wav, au, mid and mus
-rw-r--r-- | sys/lib/plumb/basic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/plumb/basic b/sys/lib/plumb/basic index 72e0dc822..3be143899 100644 --- a/sys/lib/plumb/basic +++ b/sys/lib/plumb/basic @@ -36,7 +36,7 @@ plumb start window rc -c '''echo % mail '''$0'; mail '$0 # audio type is text data matches '[a-zA-Z¡-0-9_\-.,/]+' -data matches '([a-zA-Z¡-0-9_\-.,/]+)\.(mp3|ogg|flac|m3u|pls)' +data matches '([a-zA-Z¡-0-9_\-.,/]+)\.(mp3|MP3|ogg|OGG|flac|FLAC|wav|WAV|au|AU|mid|MID|mus|MUS|m3u|M3U|pls|PLS)' arg isfile $0 plumb to audio plumb start window -scroll play $file @@ -44,7 +44,7 @@ plumb start window -scroll play $file # image files go to page type is text data matches '[a-zA-Z¡-0-9_\-.,/]+' -data matches '([a-zA-Z¡-0-9_\-.,/]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|PPM|bit|BIT|png|PNG|pgm|PGM|bmp|BMP|yuv|YUV)' +data matches '([a-zA-Z¡-0-9_\-.,/]+)\.(jpe?g|JPE?G|gif|GIF|tiff?|TIFF?|ppm|PPM|bit|BIT|png|PNG|pgm|PGM|bmp|BMP|yuv|YUV|tga|TGA)' arg isfile $0 plumb to image plumb client page -wi |