shithub: patch

ref: 3af13d52b0e2e5f608de7c0d34d7ce515830ec0e
dir: /play-opus/

View raw version
diff -r d6c26034ff13 rc/bin/play
--- a/rc/bin/play	Sun Jan 12 00:19:39 2020 +0100
+++ b/rc/bin/play	Sun Jan 12 17:30:21 2020 +0100
@@ -46,8 +46,10 @@
 					}
 				}
 			}
-		case *ogg* *vorbis*
+		case *ogg*vorbis*
 			audio/oggdec
+		case *ogg*opus*
+			audio/opusdec
 		case *mp3* *mpeg*
 			audio/mp3dec
 		case *wave*
@@ -68,6 +70,8 @@
 				audio/mp3dec
 			case *.ogg *.OGG
 				audio/oggdec
+			case *.opus *.OPUS
+				audio/opusdec
 			case *.wav *.WAV
 				audio/wavdec
 			case *.flac *.FLAC