File mc-ext-audio.patch of Package mc

--- misc/mc.ext.in.orig	2020-07-05 14:38:53.000000000 -0300
+++ misc/mc.ext.in	2020-07-24 08:11:38.576087946 -0300
@@ -481,16 +481,19 @@
 ### Sound files ###
 
 regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
-	Open=@EXTHELPERSDIR@/sound.sh open common
+	Include=audio
 
 regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
 	Open=@EXTHELPERSDIR@/sound.sh open mod
+	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mod
 
 shell/i/.waw22
 	Open=@EXTHELPERSDIR@/sound.sh open wav22
+	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wav22
 
 shell/i/.mp3
 	Open=@EXTHELPERSDIR@/sound.sh open mp3
+	Include=audio
 	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
 
 regex/i/\.og[gax]$
@@ -502,15 +505,22 @@
 	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view opus
 
 regex/i/\.(spx|flac)$
-	Open=@EXTHELPERSDIR@/sound.sh open common
+	Include=audio
 
 regex/i/\.(midi?|rmid?)$
 	Open=@EXTHELPERSDIR@/sound.sh open midi
+	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view midi
 
 shell/i/.wma
 	Open=@EXTHELPERSDIR@/sound.sh open wma
 	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
 
+shell/i/.mka
+	Include=audio
+
+include/audio
+	Open=@EXTHELPERSDIR@/sound.sh open common
+	View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common
 
 ### Play lists ###
openSUSE Build Service is sponsored by