git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@769307
283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
INCLUDES = \
-I$(top_srcdir)/taglib \
-I$(top_srcdir)/taglib/toolkit \
+ -I$(top_srcdir)/taglib/ape \
-I$(top_srcdir)/taglib/mpeg \
-I$(top_srcdir)/taglib/mpeg/id3v1 \
-I$(top_srcdir)/taglib/mpeg/id3v2 \
#include <id3v1tag.h>
+#include <apetag.h>
+
using namespace std;
using namespace TagLib;
else
cout << "file does not have a valid id3v1 tag" << endl;
+ APE::Tag *ape = f.APETag();
+
+ cout << endl << "APE" << endl;
+
+ if(ape) {
+ for(APE::ItemListMap::ConstIterator it = ape->itemListMap().begin();
+ it != ape->itemListMap().end(); ++it)
+ {
+ cout << (*it).first << " - \"" << (*it).second.toString() << "\"" << endl;
+ }
+ }
+ else
+ cout << "file does not have a valid APE tag" << endl;
+
cout << endl;
}
}