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:
parent
8d69da28f3
commit
e756f2d686
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user