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

Can you move to the next/previous bookmark when the list is closed in SimpleBookmark? #160

Open
gpetridis opened this issue Aug 28, 2024 · 2 comments

Comments

@gpetridis
Copy link

At the moment I use mark_bookmark_as_chapter=yes. I can then move around the bookmarks using hotkeys set to add chapter -1 and add chapter 1. This works well it even loops back to the first chapter once you reach the end.
The problem is for the chapters to be updated the file needs to be reloaded so every time you add/remove bookmarks they aren't imported as chapters until you open the file again. Can this be done without chapters?

@Eisa01
Copy link
Owner

Eisa01 commented Aug 28, 2024

I think the best approach would be to fix chapters, basically it needs to reflect immediately without needing to reload. This should be doable, however, I paused development of these scripts for a while. I'll see what I can do when I am back to it, but no specific time from my side to do that as of now.

@gpetridis
Copy link
Author

Added this to the bottom of the script which adds the functionality. No chapters needed. Not sure how eloquent this is but it does the job.

https://gist.github.com/gpetridis/82043aaacf25b64ab1ec2c6c8251f6bb

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

No branches or pull requests

2 participants