libsaria: Get utf8 encoded strings from taglib

This should cut down on the number of pango errors that I see when
filing in lists.
This commit is contained in:
Bryan Schumaker 2011-12-11 11:25:09 -05:00
parent 0b4d9c25eb
commit 57bf72c4e5
1 changed files with 5 additions and 5 deletions

View File

@ -49,11 +49,11 @@ TrackTag::TrackTag(string file, ino_t ino)
/* Extract tags */
tag = ref.tag();
title = tag->title().to8Bit();
artist = tag->artist().to8Bit();
album = tag->album().to8Bit();
comment = tag->comment().to8Bit();
genre = tag->genre().to8Bit();
title = tag->title().to8Bit(true);
artist = tag->artist().to8Bit(true);
album = tag->album().to8Bit(true);
comment = tag->comment().to8Bit(true);
genre = tag->genre().to8Bit(true);
year = tag->year();
track = tag->track();