M4B on cloud storage
This commit is contained in:
parent
c4d150d3e0
commit
f2b4a5a520
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue