shithub: patch

ref: bc97f719f79c6570db9129b337bb8eb5c5020239
dir: /libplumb-basic/

View raw version
diff -r d6c26034ff13 sys/lib/plumb/basic
--- a/sys/lib/plumb/basic	Sun Jan 12 00:19:39 2020 +0100
+++ b/sys/lib/plumb/basic	Sun Jan 12 23:50:25 2020 +0100
@@ -36,7 +36,7 @@
 # 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|ogg|opus|flac|m3u|pls)'
 arg isfile	$0
 plumb to audio
 plumb start window -scroll play $file