Windows Media Player 11 SDK MediaCollection.getByAuthorÂ
Previous | Next |
MediaCollection.getByAuthor
The getByAuthor method retrieves a playlist of the media items by the specified author.
Syntax
Parameters
author
String containing the name of the author.
Return Values
This method returns a Playlist object.
Remarks
To use this method, read access to the library is required. For more information, see Library Access.
Example Code
The following JScript example uses MediaCollection.getByAuthor to retrieve a playlist of media items. The playlist contains items matching the author specified by the user in an HTML TEXT input element named GetAuthor. The Player object was created with ID = "Player".
Requirements
Version: Windows Media Player version 7.0 or later.
Library: Use wmp.dll.
See Also
Previous | Next |