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

    @scrobbles.push params
    @onStateChanged()

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


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