Media Player - Tytuł

0

Witam!

Czy orientuje się ktoś może w jaki sposób pobrać do stringa tytuł aktualnie odtwarzanego pliku (muzyki, klipu wideo) przez Windows Media Player?

Napisałem program który wyświetla przez pewien czas przy zmianie piosenki w Winampie tytuł na ekranie ponad wszystkimi oknami i chciałbym sprzężyć go także z Windows Media Player'em.

Tak więc czy jest jakaś możliwość?

Szukałem, ale nic nie znalazłem. Z Winampa można tytuł wziąźć z nazwy okna, jednak Windows Media Player nie daje takiego ułatwienia :/

Pozdrawiam

0

Soory, że bawię się w archeologa, ale mam dokładnie ten sam problem, więc nie zakładałem nowego tematu. Proszę o pomoc.

0

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

0
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.

1 użytkowników online, w tym zalogowanych: 0, gości: 1