Jump to content

UDF: Music Tag Reader ID3v1, ID3v2 Support


joeyb1275
 Share

Recommended Posts

This topic is a combination of two other threads that I've been invloved in, ID3 UDF Version 1 and Version 2 Tags and FTP.au3.

The ID3FTP.au3 is the latest version of my ID3.au3 with extra functions to supprt reading files on an ftp. Only the ID3v2 can be read from a file on the ftp and the ftp Filename must be in the format of a link... ftp://user:pass@server/filename.mp3

ID3FTP.au3 still has the ability to read local files as well.

Here is example code,

#include-once
#include <ID3FTP.au3>
#include <Array.au3>

$Filename = FileOpenDialog ( "Select Mp3 File", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "Muisc (*.mp3)")

;~ $sFilter = "TIT2|TALB|TPE1|TYER|APIC"
;~ $ID3v2Tag = _ID3TagToArray($Filename,2,$sFilter)
$ID3v2Tag = _ID3TagToArray($Filename,2)
_ArrayDisplay($ID3v2Tag,"$ID3v2Tag")

$ID3v1Tag = _ID3TagToArray($Filename,1)
_ArrayDisplay($ID3v1Tag,"$ID3v1Tag")

$FTPLinkname = "ftp://user:pass@server/folder/file.mp3"

$ID3v2Tag = _ID3TagToArray($FTPLinkname,3)
_ArrayDisplay($ID3v2Tag,"$ID3v2Tag")




_ID3DeleteFiles()

Just change $FTPLinkname to the ftp link that you want

Updated ID3FTP.au3 20070424

FTP.au3

ID3FTP.au3

Edited by joeyb1275
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...