Class TMP3Info (unit MP3Info)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);

Published declarations


Functions

destructor Destroy;


procedure Save;

Saves ID3 Tag to currently oppened file

procedure Open;

Opens file with Filename property, reads ID3 Tag and sets properties

procedure SetAlbum(Album: String);


procedure SetArtist(Artist: String);


procedure SetComment(Comment: String);


procedure SetFilename(Filename: TFilename);

Procedure to run when Filename property is changed

procedure SetGenreID(ID: Byte);


procedure SetTitle(Title: String);


procedure SetYear(Year: String);


Properties

property Album : String


property Artist : String


property Comment : String


property Error : String


property Filename : TFilename


property Genre : String


property GenreID : Byte


property Title : String


property Valid : Boolean


property Year : String


Events

event onChange : TNotifyEvent


event onChangeFile : TNotifyEvent


event onError : TNotifyEvent


Variables

vAlbum : String;


vArtist : String;


vChangeEvent : TNotifyEvent;


vChangeFileEvent : TNotifyEvent;


vComment : String;


vError : String;


vErrorEvent : TNotifyEvent;


vFilename : TFilename;

Private declarations

vGenre : String;


vGenreID : Byte;


vMP3Tag : String;


vTitle : String;


vValid : Boolean;


vYear : String;



Constructors


constructor Create(AOwner: TComponent);

Published declarations


Functions


destructor Destroy;


procedure Save;

Saves ID3 Tag to currently oppened file


procedure Open;

Opens file with Filename property, reads ID3 Tag and sets properties


procedure SetAlbum(Album: String);


procedure SetArtist(Artist: String);


procedure SetComment(Comment: String);


procedure SetFilename(Filename: TFilename);

Procedure to run when Filename property is changed


procedure SetGenreID(ID: Byte);


procedure SetTitle(Title: String);


procedure SetYear(Year: String);


Properties


property Album : String


property Artist : String


property Comment : String


property Error : String


property Filename : TFilename


property Genre : String


property GenreID : Byte


property Title : String


property Valid : Boolean


property Year : String


Events


event onChange : TNotifyEvent


event onChangeFile : TNotifyEvent


event onError : TNotifyEvent


Variables


vAlbum : String;


vArtist : String;


vChangeEvent : TNotifyEvent;


vChangeFileEvent : TNotifyEvent;


vComment : String;


vError : String;


vErrorEvent : TNotifyEvent;


vFilename : TFilename;

Private declarations


vGenre : String;


vGenreID : Byte;


vMP3Tag : String;


vTitle : String;


vValid : Boolean;


vYear : String;