ape tag isEmpty override?

Lukáš Lalinský lalinsky at gmail.com
Fri Jul 9 15:22:18 CEST 2010


On Fri, Apr 30, 2010 at 8:24 PM, Jim <jmartin92 at comcast.net> wrote:
> Hi.
>
> I need to check to see if an APE tag is empty (i.e. has no fields at all) but
> APE::Tag::isEmpty() seems to only check for the presence of the standard tag
> fields (like artist, album, title, etc.).  Is this by design or an oversight?
> Should APE::Tag have its own isEmpty function or should I be using something
> like itemListMap's isEmpty?

I'd say it's an oversight. It should have its own implementation of
isEmpty(), just like ID3v2 tags have. The one inherited from
TagLib::Tag only checks for the standard fields. Could you please file
a bug report about it on bugs.kde.org?

Lukas


More information about the taglib-devel mailing list