shithub: patch

ref: 750f45295075db5ec6a1ffda1263d429a0d32b84
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