Bug 149992

Summary: Expose tag stripping in the taglib C interface
Product: [Frameworks and Libraries] taglib Reporter: Linus Walleij <triad>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Exposes ID3v2 tag stripping in the C API

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.