Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Add an Audiobook navigator based on MediaSession #126

Closed
wants to merge 9 commits into from

Conversation

mickael-menu
Copy link
Member

No description provided.

@@ -132,7 +133,7 @@ class PublicationResourceHandler : RouterNanoHTTPD.DefaultHandler() {
}

private fun createResponse(status: Status, mimeType: String, data: InputStream): Response {
val response = newChunkedResponse(status, mimeType, data)
val response = newChunkedResponse(status, mimeType, data.buffered())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant