C# Class Last.fm_Scrubbler_WPF.WMP

Wraps around the windows media player to get its info.
Inheritance: IDisposable
ファイルを表示 Open project: coczero/Last.fm-Scrubbler-WPF

Public Methods

Method Description
Dispose ( ) : void

Closes the media player.

GetMusicLibrary ( ) : List

Parses the windows media player database.

WMP ( ) : Last.fm_Scrubbler_WPF.Models

Constructor.

Private Methods

Method 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 method

Closes the media player.
public Dispose ( ) : void
return void

GetMusicLibrary() public method

Parses the windows media player database.
public GetMusicLibrary ( ) : List
return List

WMP() public method

Constructor.
public WMP ( ) : Last.fm_Scrubbler_WPF.Models
return Last.fm_Scrubbler_WPF.Models