메소드 | 설명 | |
---|---|---|
ConnectToITunes ( ) : void |
Connects/reconnects to iTunes.
|
|
DisconnectFromITunes ( ) : void |
Disposes the current connection to the iTunes com.
|
|
Dispose ( ) : void |
Cleans up.
|
|
ITunesScrobbleViewModel ( ) : IF.Lastfm.Core.Objects |
Constructor.
|
|
Preview ( ) : void |
Does nothing here.
|
|
Scrobble ( ) : System.Threading.Tasks.Task |
Scrobbles the current song.
|
메소드 | 설명 | |
---|---|---|
FetchAlbumArtwork ( ) : System.Threading.Tasks.Task |
Gets the album artwork of the current track.
|
|
GetCurrentTrackInfo ( ) : void |
Gets the info of the currently playing track.
|
|
_app_AboutToQuitEvent ( ) : void |
Disconnect when iTunes is about to close.
|
|
_app_OnPlayerPlayEvent ( object iTrack ) : void |
Starts the _countTimer
|
|
_app_OnPlayerStopEvent ( object iTrack ) : void |
Stops the _countTimer
|
|
_countTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
Counts up and scrobbles if the track has been played longer than 50%.
|
|
_refreshTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
Checks if the current playing song is still the same. If not, prepare for new track.
|
public ITunesScrobbleViewModel ( ) : IF.Lastfm.Core.Objects | ||
리턴 | IF.Lastfm.Core.Objects |