示例#1
0
 public void OnUpdateFriendsArtistsCompleted(FriendsArtistsRequest request, List<Song> FriendsArtists)
 {
   if (request.Equals(_lastRequest))
   {
     OnScrobbleLookupsCompleted(FriendsArtists);
   }
   else
   {
     Log.Warn("GUIMusicPlaylist: OnUpdateFriendsArtistsCompleted: unexpected response for request: {0}", request.Type);
   }
 }
示例#2
0
 private void UpdateFriendsArtists(bool randomizeList)
 {
   FriendsArtistsRequest request = new FriendsArtistsRequest(
     randomizeList,
     new FriendsArtistsRequest.FriendsArtistsRequestHandler(OnUpdateFriendsArtistsCompleted));
   _lastRequest = request;
   ascrobbler.AddRequest(request);
 }