Skip to content

Conversation

@Vito0912
Copy link
Contributor

Brief summary

This PR adds automatic playing a series if the queue ends. It intentionally does NOT add all the items to the queue, a. to save bandwith and b. to give users the possibility to add items to the queue.

Which issue is fixed?

Fixes #4007

In-depth Description

This adds a new route to get the next book in a series. This could be done in the frontend, but I decided not to because a series can have hundreds of books and fetching the full series at once would not be good. This endpoint can also be used by other apps to display the following books and is a small addition. I hope this makes sense.

The next book in a series only plays if the queue is empty and there is a next book available. If auto play in the queue is disabled, it will not play. I am not sure if that is the best way (since people might want to use the queue and not automatically listen to series books, but I think adding a new control just for this is unnecessary).

How have you tested this?

Own server

Screenshots

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Autoplay books in series

1 participant