]> granicus.if.org Git - taglib/commitdiff
Removed quodlibet special case handling
authorMichael Helmling <helmling@mathematik.uni-kl.de>
Sun, 26 Feb 2012 17:38:03 +0000 (18:38 +0100)
committerMichael Helmling <helmling@mathematik.uni-kl.de>
Sun, 26 Feb 2012 17:38:03 +0000 (18:38 +0100)
taglib/mpeg/id3v2/frames/textidentificationframe.cpp

index d68d0dfea063e63e7c26b9cd661070e623e91f8d..a026bca96a77c0b48ea781b79f475803307cfaa0 100644 (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