diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-01-14 03:07:50 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-01-14 03:07:50 +0000 |
commit | 45716f877b940ffa38efc82d1692cbcc216caba2 (patch) | |
tree | 992bbd9d70d286ae852bab6c81880cffe0615b5d /src/inputPlugins/oggflac_plugin.c | |
parent | 3c2d123ab95227f7382fbaef56f25318b57d4ea8 (diff) | |
download | mpd-45716f877b940ffa38efc82d1692cbcc216caba2.tar.gz mpd-45716f877b940ffa38efc82d1692cbcc216caba2.tar.xz mpd-45716f877b940ffa38efc82d1692cbcc216caba2.zip |
flac/ogg/oggflac: keep old mime-types in addition to the new ones
We'll be dealing with legacy server configurations for a long
time to come.
git-svn-id: https://svn.musicpd.org/mpd/trunk@5253 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/oggflac_plugin.c')
-rw-r--r-- | src/inputPlugins/oggflac_plugin.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/inputPlugins/oggflac_plugin.c b/src/inputPlugins/oggflac_plugin.c index 2384df140..4b03d5c7b 100644 --- a/src/inputPlugins/oggflac_plugin.c +++ b/src/inputPlugins/oggflac_plugin.c @@ -398,7 +398,10 @@ fail: } static char *oggflac_Suffixes[] = { "ogg", NULL }; -static char *oggflac_mime_types[] = { "audio/x-flac+ogg", NULL }; +static char *oggflac_mime_types[] = { "audio/x-flac+ogg", + "application/ogg", + "application/x-ogg", + NULL }; InputPlugin oggflacPlugin = { "oggflac", |