1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-26 16:24:41 +01:00

Fix musicbrainz tag fetcher

This commit is contained in:
Jonas Kvinge 2018-05-01 13:46:10 +02:00
parent ad2b567216
commit 388fce358a
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ void TagReader::SetVorbisComments(TagLib::Ogg::XiphComment *vorbis_comments, con
}
pb::tagreader::SongMetadata_Type TagReader::GuessFileType(TagLib::FileRef *fileref) const {
if (dynamic_cast<TagLib::RIFF::WAV::File*>(fileref->file())) return pb::tagreader::SongMetadata_Type_WAV;
if (dynamic_cast<TagLib::FLAC::File*>(fileref->file())) return pb::tagreader::SongMetadata_Type_FLAC;
if (dynamic_cast<TagLib::WavPack::File*>(fileref->file())) return pb::tagreader::SongMetadata_Type_WAVPACK;

View File

@ -46,7 +46,7 @@
#include "core/network.h"
#include "core/timeconstants.h"
const char *AcoustidClient::kClientId = "76JYVgslck";
const char *AcoustidClient::kClientId = "0qjUoxbowg";
const char *AcoustidClient::kUrl = "http://api.acoustid.org/v2/lookup";
const int AcoustidClient::kDefaultTimeout = 5000; // msec