Re: Retrieving Artist / Album etc info
- From: "Alessandro Angeli" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Feb 2008 15:15:57 -0500
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
.
- Follow-Ups:
- Re: Retrieving Artist / Album etc info
- From: David Denning
- Re: Retrieving Artist / Album etc info
- References:
- Retrieving Artist / Album etc info
- From: David Denning
- Retrieving Artist / Album etc info
- Prev by Date: Retrieving Artist / Album etc info
- Next by Date: Can't get multipass encoding with WM ASF Writer Filter to work & Filter graph locks up on first Run
- Previous by thread: Retrieving Artist / Album etc info
- Next by thread: Re: Retrieving Artist / Album etc info
- Index(es):
Relevant Pages
|