Removed quodlibet special case handling

This commit is contained in:
Michael Helmling 2012-02-26 18:38:03 +01:00
parent f859fcf82a
commit 6e6d823992

View File

@ -380,9 +380,7 @@ void UserTextIdentificationFrame::setDescription(const String &s)
PropertyMap UserTextIdentificationFrame::asProperties() const
{
String tagName = description();
// Quodlibet/Exfalso use QuodLibet::<tagname> if you set an arbitrary ID3 tag.
int pos = tagName.find("::");
tagName = (pos != -1) ? tagName.substr(pos+2).upper() : tagName.upper();
PropertyMap map;
String key = map.prepareKey(tagName);
if(key.isNull()) // this frame's description is not a valid PropertyMap key -> add to unsupported list