C# Class WpfMpdClient.Scrobbler

ファイルを表示 Open project: sakya/wpfmpdclient

Public Methods

Method Description
GetAlbumArt ( string baseUrl, ImageSize size, string apiKey, string artist, string album ) : string
GetAlbumInfo ( string baseUrl, string apiKey, string lang, string artist, string album ) : string
GetArtistArt ( string baseUrl, ImageSize size, string apiKey, string artist ) : string
GetArtistCorrection ( string baseUrl, string apiKey, string artist ) : string
GetArtistInfo ( string baseUrl, string apiKey, string lang, string artist ) : string
GetAuthorizationUrl ( string token ) : string
GetSession ( ) : string
GetToken ( ) : string
GetTrackCorrection ( string baseUrl, string apiKey, string artist, string title ) : ScrobblerTrack
SaveCache ( ) : bool
Scrobble ( string artist, string title, string album, System.DateTime started ) : bool
Scrobbler ( string apiKey, string apiSecret, string baseUrl, string sessionKey ) : System
UpdateNowPlaying ( string artist, string title, string album ) : bool

Private Methods

Method Description
GetPostResponse ( string url, string>.Dictionary parameters ) : XmlDocument
GetResponse ( Uri url ) : XmlDocument
GetSignature ( string>.Dictionary parameters ) : string
GetUrl ( string address, string>.Dictionary parameters ) : Uri

Method Details

GetAlbumArt() public static method

public static GetAlbumArt ( string baseUrl, ImageSize size, string apiKey, string artist, string album ) : string
baseUrl string
size ImageSize
apiKey string
artist string
album string
return string

GetAlbumInfo() public static method

public static GetAlbumInfo ( string baseUrl, string apiKey, string lang, string artist, string album ) : string
baseUrl string
apiKey string
lang string
artist string
album string
return string

GetArtistArt() public static method

public static GetArtistArt ( string baseUrl, ImageSize size, string apiKey, string artist ) : string
baseUrl string
size ImageSize
apiKey string
artist string
return string

GetArtistCorrection() public static method

public static GetArtistCorrection ( string baseUrl, string apiKey, string artist ) : string
baseUrl string
apiKey string
artist string
return string

GetArtistInfo() public static method

public static GetArtistInfo ( string baseUrl, string apiKey, string lang, string artist ) : string
baseUrl string
apiKey string
lang string
artist string
return string

GetAuthorizationUrl() public method

public GetAuthorizationUrl ( string token ) : string
token string
return string

GetSession() public method

public GetSession ( ) : string
return string

GetToken() public method

public GetToken ( ) : string
return string

GetTrackCorrection() public static method

public static GetTrackCorrection ( string baseUrl, string apiKey, string artist, string title ) : ScrobblerTrack
baseUrl string
apiKey string
artist string
title string
return ScrobblerTrack

SaveCache() public method

public SaveCache ( ) : bool
return bool

Scrobble() public method

public Scrobble ( string artist, string title, string album, System.DateTime started ) : bool
artist string
title string
album string
started System.DateTime
return bool

Scrobbler() public method

public Scrobbler ( string apiKey, string apiSecret, string baseUrl, string sessionKey ) : System
apiKey string
apiSecret string
baseUrl string
sessionKey string
return System

UpdateNowPlaying() public method

public UpdateNowPlaying ( string artist, string title, string album ) : bool
artist string
title string
album string
return bool