Bug 149992 - Expose tag stripping in the taglib C interface
Summary: Expose tag stripping in the taglib C interface
Status: RESOLVED INTENTIONAL
Alias: None
Product: taglib
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-18 23:23 UTC by Linus Walleij
Modified: 2008-01-30 23:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Exposes ID3v2 tag stripping in the C API (1.31 KB, patch)
2007-09-18 23:27 UTC, Linus Walleij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linus Walleij 2007-09-18 23:23:42 UTC
Version:           SVN (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12) 
OS:                Linux

I made a patch to expose tag stripping to the C API. This
is rather nice and the only feature I'm REALLY missing in the
simple'n'nice C API.
Comment 1 Linus Walleij 2007-09-18 23:27:09 UTC
Created attachment 21653 [details]
Exposes ID3v2 tag stripping in the C API

Patch from mail
http://mail.kde.org/pipermail/taglib-devel/2007-September/000728.html
Comment 2 Scott Wheeler 2008-01-29 23:43:48 UTC
To be honest, I don't really consider this a core functionality enough to include it in the C interface, which is more or less a mirror of TagLib::Tag.  
Comment 3 Linus Walleij 2008-01-30 16:02:15 UTC
OK, it's sad because any C app that wants to do this simple
operation will have to include a secondary ID3 parser for this
single purpose, but I already wrote that code so I can live 
with it.
Comment 4 Scott Wheeler 2008-01-30 19:56:20 UTC
Well ... or they'll have to write a few lines of C++.

But that's always the problem when designing interfaces, whether graphical or API.  The just-one-more-thing approach tends to lead to a mess, even if any particular one thing doesn't.
Comment 5 Linus Walleij 2008-01-30 23:08:41 UTC
Yeah I get the point :-)

I'll give up and write a custom interface wrapper in C++, it's
no big deal.