Skip to content

Conversation

@AndreiVernon
Copy link

The main purpose of this feature is to make memo compatible with the mpv manga reader script.

In its current state, memo will add an entry to the history log for every single page in a manga file, and when you try to open one from memo's menu, it will open only that page instead of the entire manga file.

When enabled, memo will only show the most recent entry for any archive. If you open one of these entries from memo's history menu, it will tell mpv to load the path to the archive, not the path to any specific file within the archive. This also allows mpv to auto-resume the manga file from where the reader left off.

This feature only changes the show_history code, so every page is still added to the history log.

@po5
Copy link
Owner

po5 commented Sep 5, 2025

Thanks for the contribution,

I disagree that it's memo's job to solve the playlist issue. This is useful to more than just memo users.
I wrote a script autoload-archive-hook.lua that fixes this issue, let me know if it works well for you.

I will welcome a feature that keeps only the latest entry for any given archive, but it has to:

  • Display and point to the inner file (no redirecting to the archive)
  • Integrate with the path_info system, the order of its parsing logic is deliberate and very important, and we must not do extra parsing outside of it
  • Not override the loadfile like in the current state of this PR

Name it something like hide_same_archive to be in line with hide_same_dir.

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.

2 participants