Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy way to play current audiobook #574

Merged
merged 2 commits into from
Feb 12, 2023

Conversation

lkiesow
Copy link
Contributor

@lkiesow lkiesow commented Feb 11, 2023

This patch implements a generic way of re-opening the player for the book you last listened to. This is especially handy when first opening the app and you can restart playback with a single click.

The player is opened only if no other book is already open in the player. It will not overwrite or replace playbacks or player already in progress.

The player is opened paused. No automatic playback since that could be really annoying.

This closes #494

audiobookshelf-reopen-book.mp4

lkiesow and others added 2 commits February 11, 2023 23:14
This patch implements a generic way of re-opening the player for the
book you last listened to. This is especially handy when first opening
the app and you can restart playback with a single click.

The player is opened only if no other book is already open in the
player. It will not overwrite or replace playbacks or player already in
progress.

The player is opened paused. No automatic playback since that could be
really annoying.

This closes advplyr#494
@advplyr
Copy link
Owner

advplyr commented Feb 12, 2023

I updated this to work for podcast episodes. Also, check if there is a local copy of the episode/book and use that. Lastly, I updated this to only work on the first load. Before if you changed libraries after closing the player then it would auto-open again.

Thanks!

@advplyr advplyr merged commit 290c356 into advplyr:master Feb 12, 2023
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.

[Usability] Easy way to play current audiobook
2 participants