     if progress = feedbin.loadProgress(entryId)
       durationElement = $("[data-behavior~=audio_duration_#{entryId}]")
       left = progress.duration - progress.progress
-      minutes = Math.ceil(left / 60);
-      if minutes == 1
+      minutes = Math.floor(left / 60);
+      if minutes <= 1
         message = "1 minute left"
       else
         message = "#{minutes} minutes left"

        field = form.find('#recently_played_entry_duration').val(window.player.duration)
        form.submit()

  togglePlay: ->
    play = $("[data-behavior~=audio_play_#{feedbin.nowPlayingData.entryId}]")
    if window.player.paused
      play.addClass('playing')
      play.removeClass('paused')
      window.player.play()
    else
      play.addClass('paused')
      play.removeClass('playing')
      window.player.pause()

  setDuration: (entryId, duration) ->

      if feedbin.hasDuration()
        feedbin.setDuration(feedbin.nowPlayingData.entryId, window.player.duration)

      if !feedbin.forcePlay
        play = $("[data-behavior~=audio_play_#{feedbin.nowPlayingData.entryId}]")
        if window.player.paused
          play.addClass('paused')
          play.removeClass('playing')
        else
          play.addClass('playing')
          play.removeClass('paused')

      feedbin.forcePlay = false

  audioJump: (time) ->
    window.player.setCurrentTime(window.player.currentTime + time)
