]> granicus.if.org Git - taglib/commit
Fixed handling of UnknownFrames in ID3v2.
authorMichael Helmling <helmling@mathematik.uni-kl.de>
Sun, 26 Feb 2012 18:21:57 +0000 (19:21 +0100)
committerMichael Helmling <helmling@mathematik.uni-kl.de>
Sun, 26 Feb 2012 18:21:57 +0000 (19:21 +0100)
commitf5a25182734ba0f15b698f8dc4cc29509df89293
tree008dfddf056f62d642a9c02e9b6d2f99323968a6
parent6e6d823992fe53ede880889eb6e78709c84570e3
Fixed handling of UnknownFrames in ID3v2.

- If an unknown frame with id "XXXX" occurs, an entry
"UNKNOWN/XXXX" is added to unsupportedData().
The removeUnsupportedProperties() method in turn
removes all unknown frames with id "XXXX" if it
encounters a string "UNKNOWN/XXXX" in the given list.

- Implemented findByDescription() to UnsynchronizedLyricsFrame
in order to support removal of lyrics frames with unsupported
keys.

- Adapted id3v2 test case to new QuodLibet policy.
taglib/mpeg/id3v2/frames/unsynchronizedlyricsframe.cpp
taglib/mpeg/id3v2/frames/unsynchronizedlyricsframe.h
taglib/mpeg/id3v2/id3v2frame.cpp
taglib/mpeg/id3v2/id3v2tag.cpp
taglib/mpeg/id3v2/id3v2tag.h
tests/test_id3v2.cpp