summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2020-11-06 15:04:20 +0100
committerBastien Nocera <hadess@hadess.net>2020-11-10 18:09:49 +0000
commit7a8adbb381d1e68bd19d92f0d6ccd7e11ee86bbf (patch)
treebc0ce49d7de1b1256a1e11e2fa0f8d7db3cc0a04
parent8afd18d0b832489714bf02526e88da7800a7f7b1 (diff)
downloadtotem-7a8adbb381d1e68bd19d92f0d6ccd7e11ee86bbf.tar.gz
data: Remove application/ogg from the supported mime-types
Both the audio/ogg and video/ogg mime-types are subclasses of application/ogg. Seeing as we only support the video subclass (see e4a1aaf7d9d3b2c50e2540d5d7f0059ffa30c26b), remove application/ogg from the supported mime-types. This will also stop the “Default Applications” panel in GNOME's Settings from listing Videos as a potential audio player.
-rw-r--r--data/mime-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/mime-functions.sh b/data/mime-functions.sh
index 5c3b37493..b271b2a61 100644
--- a/data/mime-functions.sh
+++ b/data/mime-functions.sh
@@ -8,7 +8,7 @@ get_audio_mimetypes ()
get_video_mimetypes ()
{
- MIMETYPES=`grep -v '^#' $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac" | grep -v "text/google-video-pointer" | grep -v "application/x-quicktime-media-link" | grep -v "application/smil" | grep -v "application/smil+xml" | grep -v "application/x-smil" | grep -v "application/xspf+xml"`
+ MIMETYPES=`grep -v '^#' $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac" | grep -v "text/google-video-pointer" | grep -v "application/x-quicktime-media-link" | grep -v "application/smil" | grep -v "application/smil+xml" | grep -v "application/x-smil" | grep -v "application/xspf+xml" | grep -v -E 'application/[a-z-]*ogg'`
MIMETYPES="$MIMETYPES audio/x-pn-realaudio"
}