M4B on cloud storage

This commit is contained in:
Krzysztof Sobiecki 2014-12-25 01:33:56 +01:00
parent c4d150d3e0
commit f2b4a5a520
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ bool CloudFileService::IsSupportedMimeType(const QString& mime_type) const {
QString CloudFileService::GuessMimeTypeForFile(const QString& filename) const {
if (filename.endsWith(".mp3")) {
return "audio/mpeg";
} else if (filename.endsWith(".m4a")) {
} else if (filename.endsWith(".m4a") || filename.endsWith(".m4b")) {
return "audio/mpeg";
} else if (filename.endsWith(".ogg") || filename.endsWith(".opus")) {
return "application/ogg";