public void PlayingTrackChanged(QueuedTrack track) { try { using (var client = new SpotifyCallbackServiceClient()) { client.PlayingTrackChanged(track); } } catch (Exception ex) { logger.Error("PlayingTrackChanged failed with exception {0}", ex.Message); } }
public void QueueChanged(IEnumerable<QueuedTrack> notifyQueue) { try { using (var client = new SpotifyCallbackServiceClient()) { client.QueueChanged(notifyQueue.ToList()); } } catch (Exception ex) { logger.Error("QueueChanged failed with exception {0}", ex.Message); } }
public void TrackHistoryChanged(PagedResult<QueuedTrack> trackHistory) { try { using (var client = new SpotifyCallbackServiceClient()) { client.TrackHistoryChanged(trackHistory); } } catch (Exception ex) { logger.Error("TrackHistoryChanged failed with exception {0}", ex.Message); } }
public void QueueChanged(IEnumerable <QueuedTrack> notifyQueue) { try { using (var client = new SpotifyCallbackServiceClient()) { client.QueueChanged(notifyQueue.ToList()); } } catch (Exception ex) { logger.Error("QueueChanged failed with exception {0}", ex.Message); } }
public void TrackHistoryChanged(PagedResult <QueuedTrack> trackHistory) { try { using (var client = new SpotifyCallbackServiceClient()) { client.TrackHistoryChanged(trackHistory); } } catch (Exception ex) { logger.Error("TrackHistoryChanged failed with exception {0}", ex.Message); } }