| Summary: | wish: part-of-set (multiple disc) support in tags | ||
|---|---|---|---|
| Product: | [Unmaintained] taglib | Reporter: | philip.falkner |
| Component: | general | Assignee: | Scott Wheeler <wheeler> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
philip.falkner
2004-03-18 17:11:52 UTC
TagLib does support this -- just not in the "generic" API.
You can do i.e.:
TagLib::MPEG::File f("foo.mp3");
if(f.ID3v2Tag() && !f.ID3v2Tag()->frameListMap()["TPOS"].isEmpty())
std::cout << f.ID3v2Tag()->frameListMap()["TPOS"].front() << std::endl;
...or...
TagLib::Vorbis::File f("foo.ogg");
if(!f.tag()->fieldListMap()["DISCNUMBER"].isEmpty())
std::cout << f.tag()->fieldListMap()["DISCNUMBER"].front() << std::endl;
|