|
-
Jul 25th, 2001, 03:11 PM
#1
Thread Starter
Lively Member
Accessing MP3 ID3 Tags
Does anyone know how to access the ID3 tags? I have been trying to do this for a while off and on but I can't seem to pull the right info from the .mp3 file.
Thanks
-
Jul 25th, 2001, 03:12 PM
#2
Member
See http://www.activex.com. There are tons of them.
-
Jul 25th, 2001, 04:14 PM
#3
Hyperactive Member
here....
Code:
Option Explicit
Private Type TagInfo
Tag As String * 3
Songname As String * 30
artist As String * 30
album As String * 30
year As String * 4
comment As String * 30
genre As String * 1
End Type
Private CurrentTag As TagInfo
Public Function GetTagInfo(Filename As String) As String
Open Filename For Binary As #1
With CurrentTag
Get #1, FileLen(Filename) - 127, .Tag
If Not .Tag = "TAG" Then
GetTagInfo = Filename
Close #1
Exit Function
End If
Get #1, , .Songname
Get #1, , .artist
Get #1, , .album
Get #1, , .year
Get #1, , .comment
Get #1, , .genre
Close #1
GetTagInfo = RTrim(.artist) & " - " & RTrim(.Songname) & _
" - " & RTrim(.year)
End With
End Function
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
-
Jul 31st, 2001, 04:19 PM
#4
Thread Starter
Lively Member
Thanks i'll try this out.
-
Aug 10th, 2001, 10:30 AM
#5
Thread Starter
Lively Member
Ok that works for getting the tags. Does anyone know how I can save tag information to a mp3 file??
All help is appreciated.
-
Aug 10th, 2001, 10:40 AM
#6
Addicted Member
-
Aug 10th, 2001, 12:12 PM
#7
Thread Starter
Lively Member
THANKS!!!!!!!!!!
That page has everything I wanted to know.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|