Page 1 of 1

Need ID3 tag editor

Posted: Mon Aug 03, 2015 8:41 am
by rdonnay
I have a customer who needs to be able to embed ID3 tag metadata into MP3 files.

He supports a music website, http://amr.fm. MP3 songs submitted by bands are often missing the metadata.
They fill out the information when submitting the song which is stored in a MySQL database.

I need to be able to pull this info out of the database and put it into the MP3 file so listeners on Androids can view the song info.

I'm looking for an ActiveX control but everywhere I go on the internet causes McAfee to tell me not to go there.

Any ideas?

Re: Need ID3 tag editor

Posted: Mon Aug 03, 2015 8:46 am
by Wolfgang Ciriack
I think, Jimmy has a solution :?: :!:

Re: Need ID3 tag editor

Posted: Mon Aug 03, 2015 10:05 am
by Auge_Ohr
Wolfgang Ciriack wrote:I think, Jimmy has a solution :?: :!:
Yes ... :D
i use AudioGenie2.dll, which was from http://www.audiogenie.net, but i canĀ“t find it any more ?!
when using Google i found AudioGenie3.dll at http://sourceforge.net/projects/audiogenie/ ... have to test if it is the same.

Re: Need ID3 tag editor

Posted: Mon Aug 03, 2015 10:50 am
by hz_scotty
i can help - here is the AudioGenie2.dll :dance:

Re: Need ID3 tag editor

Posted: Mon Aug 03, 2015 10:54 am
by hz_scotty
Changes v2-v3 :clap:

Re: Need ID3 tag editor

Posted: Mon Aug 03, 2015 11:33 am
by rdonnay
Do you have any documentation for AudioGenie2.Dll?

Re: Need ID3 tag editor

Posted: Mon Aug 03, 2015 12:29 pm
by hz_scotty
no - but sourcecodewrapper

Re: Need ID3 tag editor

Posted: Thu Aug 27, 2015 9:51 am
by rdonnay
Hans -

I finally got around to using this and, without documentation, it's hard to figure out what's wrong here.
I try to open a file named ComeTogether.mp3. It has meta-data in the file.
AUDIOAnalyzeFileW() always returns 0 even if I give it a bad file name.
The other functions always return random numeric values when they should be character strings.

Have you used this library with Xbase++?

Code: Select all

#INCLUDE "dll.CH"
#INCLUDE "dcdialog.CH"

FUNCTION Main()

LOCAL cFileName

cFileName := "C:\audiogenie\ComeTogether.mp3"

wtf AUDIOAnalyzeFileW(@cFileName)

wtf ID3V1GetArtistW(), ID3V1GetGenreW(), ID3V1GetTrackW(), ID3V1GetAlbumW(), ID3V1GetTitleW()

wait

RETURN nil


DLLFUNCTION AUDIOAnalyzeFileW(@c) USING STDCALL FROM AudioGenie3.dll
DLLFUNCTION ID3V1SetAlbumW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetArtistW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetCommentW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetGenreIDW(@n) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetGenreW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetTitleW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetTrackW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SetYearW(@c) USING STDCALL FROM AudioGenie3.DLL

DLLFUNCTION ID3V1ExistsW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetAlbumW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetArtistW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetCommentW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetGenreIDW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetGenreItemW(@n) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetGenreW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetGenresW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetTitleW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetTrackW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetVersionW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1GetYearW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1RemoveTagFromFileW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1RemoveTagW() USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SaveChangesToFileW(@c) USING STDCALL FROM AudioGenie3.DLL
DLLFUNCTION ID3V1SaveChangesW() USING STDCALL FROM AudioGenie3.DLL

Re: Need ID3 tag editor

Posted: Thu Aug 27, 2015 10:01 am
by Auge_Ohr
rdonnay wrote:Have you used this library with Xbase++?
Yes. you need to use Unicode.

Re: Need ID3 tag editor

Posted: Thu Aug 27, 2015 10:43 am
by rdonnay
Thank you. That makes sense now.