puchi napisał(a)
do odczytywania tagów z plików muzycznych sa moduły gotowe które mozna wykozystać np.
Audio Tools Library
http://mac.sourceforge.net/atl/
{ The pack includes several components described below: }
{ }
{ AAC - for manipulating with AAC file information }
{ AC3 - for manipulating with AC3 file information }
{ APE Tag - for manipulating with APE Tags }
{ CDDA Track - for getting information for CDDA track }
{ DTS - for manipulating with DTS file information }
{ FLAC - for manipulating with FLAC file information }
{ fpl - reads foobar2000 playlist files (*.fpl) }
{ ID3v1 - for manipulating with ID3v1 tags }
{ ID3v2 - for manipulating with ID3v2 tags }
{ Monkey - for manipulating with Monkey's Audio file information }
{ MPEG Audio - for manipulating with MPEG audio file information }
{ Musepack - for manipulating with Musepack file information }
{ Ogg Vorbis - for manipulating with Ogg Vorbis file information }
{ OptimFROG - for manipulating with OptimFROG file information }
{ Speex - for manipulating with Speex file information }
{ TTA - for manipulating with TTA file information }
{ TwinVQ - for extracting information from TwinVQ file header }
{ Vorbis Comment - for manipulating with Vorbis Comments }
{ WAV - for manipulating with WAV files }
{ WavPack - for manipulating with WAVPack Files }
{ WMA - for extracting information from WMA file header }
podajesz lokalizacje pliku i dostajesz dane
pozdrawiam
Bardzo fajne te moduły (szkoda, że nie wiedziałem o nich gdy pisałem program do edycji tagów ID3), ale problem jest inny.
Odtwarzam sobie muzykę w Windows Media Player i chce aby programie napisanym w Delphi był jej tytuł i wykonawca. Gdy nie odtwarzam, żadnej muzyki to ma być np. pusty string.