The behavior of the take_string() and other string accessor methods has changed in lofty v0.20.0. They now return values from all TagItems, regardless of their description. This is unexpected for ID3v2 tags where the description is meaningful. Regular TagItems usually have an empty description.
The new methods are needed to extract only regular TagItems with an empty description from an ID3v2 tag. The example demonstrates how to achieve this for ItemKey::Comment.
The behavior of the
take_string()
and other string accessor methods has changed in lofty v0.20.0. They now return values from allTagItem
s, regardless of their description. This is unexpected for ID3v2 tags where the description is meaningful. RegularTagItem
s usually have an empty description.The new methods are needed to extract only regular
TagItem
s with an empty description from an ID3v2 tag. The example demonstrates how to achieve this forItemKey::Comment
.