Skip to content

We should probably wire this into some sort of playlist functionality #169

@github-actions

Description

@github-actions

where we want to mark the finished item as done, and start the next.

// TODO: We should probably wire this into some sort of playlist functionality
// where we want to mark the finished item as done, and start the next.



      val player = audioPlayerHolder.currentPlayer.value
        ?: throw IllegalStateException("There isn't a media player available, unable to prepare session")
      player.prepare(session, playImmediately, chapterId) { libraryItemId ->
        // TODO: We should probably wire this into some sort of playlist functionality
        //  where we want to mark the finished item as done, and start the next.
        mediaProgressRepository.markFinished(libraryItemId)
      }
    }
  }


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions