diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-05 23:26:34 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-05 23:26:34 +0000 |
commit | dfde4e4ef702a2a928031bd5a8a7e30fc1cbdfd8 (patch) | |
tree | 709a432d77705dd332f8d15a5484e72ce9a16af1 /lib/class/song.class.php | |
parent | 2823f5a0523c766bee46f5fb4e81f7cc4a40d027 (diff) | |
download | ampache-dfde4e4ef702a2a928031bd5a8a7e30fc1cbdfd8.tar.gz ampache-dfde4e4ef702a2a928031bd5a8a7e30fc1cbdfd8.tar.bz2 ampache-dfde4e4ef702a2a928031bd5a8a7e30fc1cbdfd8.zip |
testing new mime types for OGG and FLAC makes them both work with MPD but might break other clients... testing required
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r-- | lib/class/song.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index a629bec1..242186ad 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -167,7 +167,7 @@ class Song { switch ($this->type) { case 'spx': case 'ogg': - $this->mime = "application/x-ogg"; + $this->mime = "application/ogg"; break; case 'wma': case 'asf': @@ -182,7 +182,7 @@ class Song { $this->mime = "audio/x-realaudio"; break; case 'flac'; - $this->mime = "audio/x-flac"; + $this->mime = "application/x-flac"; break; case 'wv': $this->mime = 'audio/x-wavpack'; |