www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Audio file metadata parser?

reply Andy Valencia <dont spam.me> writes:
Is anyone aware of a library like "tinytag" (a Python module)?

https://github.com/devsnd/tinytag

I guess I'll wrestle with porting it to dlang if there's nothing 
available.

tinytag is nice, because it handles wav/ogg/flac/opus/mp3 
uniformly.

Thanks,
Andy
Jul 18
parent reply Jonathan M Davis <newsgroup.d jmdavisprog.com> writes:
On Friday, July 18, 2025 4:47:04 PM Mountain Daylight Time Andy Valencia via
Digitalmars-d-learn wrote:
 Is anyone aware of a library like "tinytag" (a Python module)?

 https://github.com/devsnd/tinytag

 I guess I'll wrestle with porting it to dlang if there's nothing
 available.

 tinytag is nice, because it handles wav/ogg/flac/opus/mp3
 uniformly.
If you're looking to operate on tags in audio files, then there's https://code.dlang.org/packages/taglib-d, which might do what you need, but I don't know much about it, so I can't say for sure. - Jonathan M Davis
Jul 18
parent Andy Valencia <dont spam.me> writes:
On Saturday, 19 July 2025 at 00:23:28 UTC, Jonathan M Davis wrote:

 If you're looking to operate on tags in audio files, then 
 there's https://code.dlang.org/packages/taglib-d, which might 
 do what you need, but I don't know much about it, so I can't 
 say for sure.
Thank you! That handles my needs nicely. Andy
Jul 18