Create UTF8-Lyrics per default.

This commit is contained in:
rsjtdrjgfuzkfg 2013-01-18 17:21:35 +01:00
parent 1e660dda71
commit 077208d17a

View File

@ -129,7 +129,7 @@ Frame *Frame::createTextualFrame(const String &key, const StringList &values) //
// now we check if it's one of the "special" cases:
// -LYRICS: depending on the number of values, use USLT or TXXX (with description=LYRICS)
if((key == "LYRICS" || key.startsWith(lyricsPrefix)) && values.size() == 1){
UnsynchronizedLyricsFrame *frame = new UnsynchronizedLyricsFrame();
UnsynchronizedLyricsFrame *frame = new UnsynchronizedLyricsFrame(String::UTF8);
frame->setDescription(key == "LYRICS" ? key : key.substr(lyricsPrefix.size()));
frame->setText(values.front());
return frame;