shithub: patch

ref: f0a44de6920f4fd1102fb67be08993504b691718
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