C# Class Last.fm_Scrubbler_WPF.WMP

Wraps around the windows media player to get its info.
Inheritance: IDisposable
Afficher le fichier Open project: coczero/Last.fm-Scrubbler-WPF

Méthodes publiques

Méthode Description
Dispose ( ) : void

Closes the media player.

GetMusicLibrary ( ) : List

Parses the windows media player database.

WMP ( ) : Last.fm_Scrubbler_WPF.Models

Constructor.

Private Methods

Méthode Description
GetAlbum ( IWMPMedia mediaItem ) : string

Gets the album string.

GetArtist ( IWMPMedia mediaItem ) : string

Gets the artist name.

GetPlayCount ( IWMPMedia mediaItem ) : int

Gets the play count.

GetTitle ( IWMPMedia mediaItem ) : string

Gets the track name.

GetUserLastPlayedTime ( IWMPMedia mediaItem ) : System.DateTime

Method Details

Dispose() public méthode

Closes the media player.
public Dispose ( ) : void
Résultat void

GetMusicLibrary() public méthode

Parses the windows media player database.
public GetMusicLibrary ( ) : List
Résultat List

WMP() public méthode

Constructor.
public WMP ( ) : Last.fm_Scrubbler_WPF.Models
Résultat Last.fm_Scrubbler_WPF.Models