-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
where we want to mark the finished item as done, and start the next.
Lines 37 to 38 in 0002d7f
// 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
Labels
No labels