mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Revert "Fix encoding issues while indexing tabs."
This reverts commit 746c36cfd2
.
This commit is contained in:
parent
ca026f4c66
commit
f93741d70c
@ -391,16 +391,16 @@ template<typename T>
|
||||
void TaglibMetadataReader::ReadBasicData(const T* tag, const char* uri, ITagStore *target) {
|
||||
if (tag) {
|
||||
if (!tag->title().isEmpty()) {
|
||||
this->SetTagValue("title", tag->title().to8Bit(true), target);
|
||||
this->SetTagValue("title", tag->title(), target);
|
||||
}
|
||||
else {
|
||||
this->SetTagValue("title", uri, target);
|
||||
}
|
||||
|
||||
this->SetTagValue("album", tag->album().to8Bit(true), target);
|
||||
this->SetTagValue("artist", tag->artist().to8Bit(true), target);
|
||||
this->SetTagValue("genre", tag->genre().to8Bit(true), target);
|
||||
this->SetTagValue("comment", tag->comment().to8Bit(true), target);
|
||||
this->SetTagValue("album", tag->album(), target);
|
||||
this->SetTagValue("artist", tag->artist(), target);
|
||||
this->SetTagValue("genre", tag->genre(), target);
|
||||
this->SetTagValue("comment", tag->comment(), target);
|
||||
|
||||
if (tag->track()) {
|
||||
this->SetTagValue("track", tag->track(), target);
|
||||
@ -489,10 +489,10 @@ bool TaglibMetadataReader::ReadID3V2(TagLib::ID3v2::Tag *id3v2, ITagStore *track
|
||||
TagLib::ID3v2::FrameListMap allTags = id3v2->frameListMap();
|
||||
|
||||
if (!id3v2->title().isEmpty()) {
|
||||
this->SetTagValue("title", id3v2->title().to8Bit(true), track);
|
||||
this->SetTagValue("title", id3v2->title(), track);
|
||||
}
|
||||
|
||||
this->SetTagValue("album", id3v2->album().to8Bit(true), track);
|
||||
this->SetTagValue("album", id3v2->album(), track);
|
||||
|
||||
/* year */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user