Xojo Conferences
MBSOct2019CologneDE
XDCMarch2020NashvilleUS

« TagLib to write ID3v2… | Home | FileMaker Marketplace… »

TagLib to read and write ID3v2 Tags in FileMaker


We now use Taglib for our FileMaker plugin to provide tag reading for audio files. Currently it supports both ID3v1 and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in FLAC, MPC, Speex, WavPack, TrueAudio, WAV, AIFF, MP4 and ASF files. 

Call Files.AudioTags to read tags and audio properties. You get back a JSON like this:

 

{

"AudioProperties": {

"length": 282,

"bitrate": 128,

"sampleRate": 44100,

"channels": 2

},

"Tags": {

"ARTIST": "John Doe",

"COMMENT": "test comment",

"TITLE": "Hello World"

}

 

}

 

Length is duration of the audio in seconds, bitrate the bits per second, sampleRate the rate in Hz and channels defines how many audio channels you have. The Tags provide the ID3v2 (or other) tags with values.

Use Files.SetAudioTags to write new tags into a file. You pass a JSON with new tags and we either update/add the tag with new text or remove it (NULL value).

 

Please try with next plugin prerelease and let us know whether this works for you. Please do not hesitate to contact us with questions.

12 09 19 - 17:22