ID3 tags : a New LC Lib ?

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Eric_Taquet
Posts: 25
Joined: Wed Feb 14, 2007 3:26 pm
Location: FRANCE, Villeneuve d'Ascq

Re: ID3 tags : a New LC Lib ?

Post by Eric_Taquet » Sat Mar 20, 2021 12:25 pm

Hello Zax

I've been waiting for more than a year for PaulDaMacMan to finish his library or his mp3Tools.livecode stack! I have no more hope that it will be done one day ;-) In the meantime, I manage the ID3s with some handlers that I wrote and which control the “Sound Studio” Mac application using Applescript. It's slow and Sound Studio doesn't handle all ID3 frames, but it's a wait-and-see solution.

Tell me if one day you find another solution!
Éric
The Erikoded Frenchy
La logique est le dernier refuge des gens sans imagination
Oscar Wilde :: Logic is the last refuge of the unimaginative

Zax
Posts: 171
Joined: Mon May 28, 2007 10:12 am
Location: France

Re: ID3 tags : a New LC Lib ?

Post by Zax » Sun Mar 21, 2021 9:54 am

:(
Anyhow, thank you for your reply Eric.

With Windows, I use Mp3tag but the Mac version requires MacOS 10.14, not supported with my old Mac.

Eric_Taquet
Posts: 25
Joined: Wed Feb 14, 2007 3:26 pm
Location: FRANCE, Villeneuve d'Ascq

Re: ID3 tags : a New LC Lib ?

Post by Eric_Taquet » Sun Mar 21, 2021 12:56 pm

On Mac, to read/write ID3, there is a fantastic software : Tag Editor ! You can edit near every ID3 frames with a simple user interface ! But it is not Applescriptable :-( What I need is to read/write ID3 from my application developed with LC. I use the TTS Speech library and the mergMicrophone library to produce lot of audio files and I need to tag them at recording time. To be able to record these TTS audio files I also use 2 utilities : Audio Hijack and LoopBack.
The Erikoded Frenchy
La logique est le dernier refuge des gens sans imagination
Oscar Wilde :: Logic is the last refuge of the unimaginative

PaulDaMacMan
Posts: 446
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: ID3 tags : a New LC Lib ?

Post by PaulDaMacMan » Mon Apr 05, 2021 5:00 pm

Eric_Taquet wrote:
Sat Mar 20, 2021 12:25 pm
Hello Zax

I've been waiting for more than a year for PaulDaMacMan to finish his library or his mp3Tools.livecode stack! I have no more hope that it will be done one day ;-) In the meantime, I manage the ID3s with some handlers that I wrote and which control the “Sound Studio” Mac application using Applescript. It's slow and Sound Studio doesn't handle all ID3 frames, but it's a wait-and-see solution.

Tell me if one day you find another solution!
Éric
You could've messaged me or better yet feel free take the code from my GitHub and try to finish it yourself.
https://github.com/PaulMcClernan/id3lib
For the record, this is NOT my library, this library was originally created by a guy named Mark Smith who unfortunately passed away about a decade ago. All I did was update it a little bit and try to work out the issues with certain embedded cover artwork and embedding them into the ID3 tags. As far s I know the lib should work fine if you only need to read/write the regular, non-Artwork tags. mp3Tools.livecode was originally a project I started before finding Mark's library (which was much more complete), although it did have at least one function that Mark's didn't, parsing MPEG frames for information about things like bit-rate. I don't know when or if I will get back to working on that. At this point I'm more inclined to try to LCB wrap one of the two cross-platform open-source libraries I was looking at (ID3v2Lib or TagLib) than finishing a LiveCode Script Native Library.

BUT I have a regular job, coding is mostly a hobby for me, and I've been working on a LOT of other things with LiveCode Builder.

There's a lot of options for ID3 tags around though.
https://kid3.kde.org/#download
http://nekohako.xware.cx/id3tool/
https://formulae.brew.sh/formula/id3tool#default
http://www.pa-software.com/downloads.php#BC3B2E3A
https://formulae.brew.sh/formula/id3lib#default
https://github.com/defuzeme/desktop/tre ... aglib/libs
https://sbooth.org/Play/
https://www.underbit.com/products/mad/
https://taglib.org
https://github.com/larsbs/id3v2lib
Last edited by PaulDaMacMan on Tue Apr 06, 2021 3:30 pm, edited 1 time in total.
My LCB Repos: https://github.com/PaulMcClernan/
My LiveCode YouTube Videos: PlayList

Zax
Posts: 171
Joined: Mon May 28, 2007 10:12 am
Location: France

Re: ID3 tags : a New LC Lib ?

Post by Zax » Tue Apr 06, 2021 8:30 am

Thank you PaulDaMacMan for all these informations.

PaulDaMacMan
Posts: 446
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: ID3 tags : a New LC Lib ?

Post by PaulDaMacMan » Tue Apr 06, 2021 3:36 pm

Zax wrote:
Tue Apr 06, 2021 8:30 am
Thank you PaulDaMacMan for all these informations.
You're welcome.

I did some looking at that tagLib library last night. It's quite nice and can deal with all sorts of meta-data for different media formats (AIF,WAV,FLAC,MP4, etc.), not just MP3 / ID3 tags. So that would be great to have that in LC, but it looks like a lot of stuff to wrap and it probably has a bunch of dependencies on other libraries... So maybe a LC Script native library isn't such a bad idea after all? At any rate, it is something I'm still interested in, there's just not enough hours in a day.
My LCB Repos: https://github.com/PaulMcClernan/
My LiveCode YouTube Videos: PlayList

Post Reply

Return to “Feature Proposals”