SongSave: omit FixTagString() for strings from the database file
Strings in the database should have been sanitized already, so let's not waste CPU on this.
This commit is contained in:
parent
a573d57de8
commit
2c01e79b47
|
@ -92,7 +92,7 @@ song_load(LineReader &file, const char *uri,
|
|||
|
||||
TagType type;
|
||||
if ((type = tag_name_parse(line)) != TAG_NUM_OF_ITEM_TYPES) {
|
||||
tag.AddItem(type, value);
|
||||
tag.AddItemUnchecked(type, value);
|
||||
} else if (StringIsEqual(line, "Time")) {
|
||||
tag.SetDuration(SignedSongTime::FromS(ParseDouble(value)));
|
||||
} else if (StringIsEqual(line, "Target")) {
|
||||
|
|
Loading…
Reference in New Issue