Re: Retrieving Artist / Album etc info

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



From: "David Denning"

Player.controls.play();

theMedia = Player.currentMedia;
string albumTitle =
theMedia.getItemInfo("Album");

Wait for the media to actually start playing (see
Player.playState) before trying to retrieve the metadata.

Enumerate all metadata (Media.attributeCount,
Media.getAttributeName(), Media.getItemInfoByAtom()) to
check whether it is just that item that is missing (after
all, most metadata is optional).


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


.



Relevant Pages

  • Re: Un-Verbose Messages
    ... > playing with. ... Part of that is spinning through the metadata of a ... > resultset and getting WAY more information than I want! ...
    (comp.lang.java.databases)
  • Un-Verbose Messages
    ... I am getting back on my feet with Java and have a SQL project I am ... playing with. ... Part of that is spinning through the metadata of a ...
    (comp.lang.java.databases)
  • ID3 Tags Missing from WMP11 Library
    ... I have an MP3 file with ID3v2 tag metadata, such as artist, composer, etc. ... The track is playable and displays ID3v2 metadata in WMP10, ... click "Now Playing" to view the metadata) displays ID3v2 metadata ...
    (microsoft.public.windowsmedia.player)
  • Re: implements interface
    ... and retrieving the metadata from the object using reflection. ... Its easy to retrieve all the interfaces implemented by an object since ... objects that implement a particular interface, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: TeX parser (http://code.google.com/p/texpp/)
    ... also be able to do a some macro expansion (and perhaps contraction). ... document but only in certain contexts and when it will not break ... word "enumerate" in the text by "\href";. ... want to automatically create metadata, and use that metadata, and allow ...
    (comp.text.tex)