
  constructor(
    private httpClient: HttpClient,
    private authService: AuthService
  ) {
    super();
  }

  scrobble(input: SimpleTrack, timestamp: number = moment().unix()): Promise<ScrobbleResponse> {
    return this.httpClient.post<ScrobbleResponse>(this.buildURL('track.scrobble', {
      album: input.album,
      artist: input.artist,
      sk: this.authService.key,
      timestamp: timestamp.toString(),