1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 08:20:01 +01:00

CddaSongLoader: explicitly reading discid as UTF8

This commit is contained in:
Lukas Prediger 2021-05-17 22:56:33 +03:00 committed by John Maguire
parent 8d69da28f3
commit e756f2d686

View File

@ -156,7 +156,7 @@ void CddaSongLoader::LoadSongsFromCdda() {
char* string_mb = nullptr;
if (gst_tag_list_get_string(tags, GST_TAG_CDDA_MUSICBRAINZ_DISCID,
&string_mb)) {
QString musicbrainz_discid(string_mb);
QString musicbrainz_discid = QString::fromUtf8(string_mb);
g_free(string_mb);
qLog(Info) << "MusicBrainz discid: " << musicbrainz_discid;