Need ID3 tag editor

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Need ID3 tag editor

#1 Post 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?
The eXpress train is coming - and it has more cars.

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Need ID3 tag editor

#2 Post by Wolfgang Ciriack »

I think, Jimmy has a solution :?: :!:
_______________________
Best Regards
Wolfgang

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: Need ID3 tag editor

#3 Post 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.
greetings by OHR
Jimmy

User avatar
hz_scotty
Posts: 107
Joined: Thu Jan 28, 2010 8:20 am
Location: Wr.Neustadt / Österreich

Re: Need ID3 tag editor

#4 Post by hz_scotty »

i can help - here is the AudioGenie2.dll :dance:
Attachments
AudioGenie2.rar
(122.11 KiB) Downloaded 850 times
best regards
Hans

User avatar
hz_scotty
Posts: 107
Joined: Thu Jan 28, 2010 8:20 am
Location: Wr.Neustadt / Österreich

Re: Need ID3 tag editor

#5 Post by hz_scotty »

Changes v2-v3 :clap:
Attachments
changes_v2_v3.rar
(48.97 KiB) Downloaded 855 times
best regards
Hans

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Need ID3 tag editor

#6 Post by rdonnay »

Do you have any documentation for AudioGenie2.Dll?
The eXpress train is coming - and it has more cars.

User avatar
hz_scotty
Posts: 107
Joined: Thu Jan 28, 2010 8:20 am
Location: Wr.Neustadt / Österreich

Re: Need ID3 tag editor

#7 Post by hz_scotty »

no - but sourcecodewrapper
Attachments
AudioGenie DLL 2.0.3.1.rar
(755.52 KiB) Downloaded 813 times
best regards
Hans

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Need ID3 tag editor

#8 Post 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
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: Need ID3 tag editor

#9 Post by Auge_Ohr »

rdonnay wrote:Have you used this library with Xbase++?
Yes. you need to use Unicode.
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Need ID3 tag editor

#10 Post by rdonnay »

Thank you. That makes sense now.
The eXpress train is coming - and it has more cars.

Post Reply