mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-23 16:01:43 +01:00
Fixes for APE filetype.
This commit is contained in:
parent
f6ba37dbc5
commit
bd89a1d2de
@ -109,6 +109,7 @@ message SongMetadata {
|
||||
WAVPACK = 14;
|
||||
SPC = 15;
|
||||
VGM = 16;
|
||||
APE = 17;
|
||||
STREAM = 99;
|
||||
}
|
||||
|
||||
|
@ -238,6 +238,7 @@ QStringList Mpris2::SupportedMimeTypes() const {
|
||||
<< "audio/ogg"
|
||||
<< "audio/vnd.rn-realaudio"
|
||||
<< "audio/vorbis"
|
||||
<< "audio/x-ape"
|
||||
<< "audio/x-flac"
|
||||
<< "audio/x-mp3"
|
||||
<< "audio/x-mpeg"
|
||||
|
@ -456,6 +456,8 @@ QString Song::TextForFiletype(FileType type) {
|
||||
return QObject::tr("SNES SPC700");
|
||||
case Song::Type_VGM:
|
||||
return QObject::tr("VGM");
|
||||
case Song::Type_APE:
|
||||
return QObject::tr("Monkey's Audio");
|
||||
|
||||
case Song::Type_Stream:
|
||||
return QObject::tr("Stream");
|
||||
@ -469,6 +471,7 @@ QString Song::TextForFiletype(FileType type) {
|
||||
bool Song::IsFileLossless() const {
|
||||
switch (filetype()) {
|
||||
case Song::Type_Aiff:
|
||||
case Song::Type_APE:
|
||||
case Song::Type_Flac:
|
||||
case Song::Type_OggFlac:
|
||||
case Song::Type_Wav:
|
||||
|
@ -46,6 +46,7 @@ const QMap<QString, Song::FileType> kFiletypeId = QMap<QString, Song::FileType>(
|
||||
{"cdda", Song::Type_Cdda},
|
||||
{"spc700", Song::Type_Spc},
|
||||
{"vgm", Song::Type_VGM},
|
||||
{"ape", Song::Type_APE},
|
||||
{"stream", Song::Type_Stream},
|
||||
{"unknown", Song::Type_Unknown}});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user