               artist: track.artist_name or ""
               albumArtist: track.album_artist_name or ""
               duration: track.time or ""
-              trackNumber: track.track or ""
+              trackNumber: @checkTrackNumber track.track
           @flushScrobbleQueue()
         else
           @log.warn "Not scrobbling #{track.name} - missing artist."

    @scrobbles.push params
    @onStateChanged()

  checkScrobble: =>
    this_item = @mpd.status.current_item


        artist: track.artist_name or ""
        album: track.album?.name or ""
        albumArtist: track.album_artist_name or ""
        trackNumber: @checkTrackNumber track.track
        duration: track.time or ""
        handlers:
          error: (error) =>
