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

Sync read page progress with trackers #236

Open
4 tasks done
kanjieater opened this issue Jan 25, 2024 · 12 comments
Open
4 tasks done

Sync read page progress with trackers #236

kanjieater opened this issue Jan 25, 2024 · 12 comments
Labels
Feature request New feature or request

Comments

@kanjieater
Copy link

Describe your suggested feature

Currently the behavior of only syncing when a chapter is read is limiting. If mihon could sync per page, you could read something on your phone, then pick up where you left off on a desktop or other device.

There has been interest voiced for this with Komga, suwayomi, to name a few.

Original issue was here https://github.com/tachiyomiorg/tachiyomi/issues/5978

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • I have updated the app to version 0.16.1.
  • I will fill out all of the requested information in this form.
@kanjieater kanjieater added the Feature request New feature or request label Jan 25, 2024
@barrelltitor
Copy link

This would be a great addition. Happens quite often I might be reading a comic on one device, then I want to finish it on another device

@RandomNamer
Copy link

RandomNamer commented Jul 17, 2024

I don't think trackers are meant for syncing read progress across devices at such granularity. That said, I tried to implement a workable version of page-based Komga tracker for myself. It's a fast and crude solution though: to sync you have to click tracker icon, wait for a few seconds before close the dialog for the request to be done and page progress writen to the DB.

@kanjieater
Copy link
Author

kanjieater commented Jul 18, 2024

Awesome! If you can share an APK for it I'd love to test it out. I've been using syncyomi with komikku
(a fork of tachiyomiSY) and was considering making a reverse proxy for it to high jack on syncs. But it seems like this tracks each page, and would be far superior

@RandomNamer
Copy link

app-dev-arm64-v8a-preview.apk.zip

making a reverse proxy for it to high jack on syncs

For Komga it would be easier to just send read-progress requests in app to achieve sync. In this implementation, you can see the page progress get updated in Komga web app each time you turned page in Mihon, cuz it uses a event stream to get updates from server in real time. However to sync server progress to Mihon you need to manually trigger tracker refreshing.

@kanjieater
Copy link
Author

It's working great so far. Thank you so much for sharing.

@garret
Copy link

garret commented Aug 10, 2024

I just installed your Mihon apk but to me the tracking does not work. Should I do anything in particular? I am reading a manga from Komga. when I try to enable "Tracking" I have the "Update progress after reading" enabled as well as the Komga 'enhanced tracker'. However, it seems no page progress is synced to Komga :/

@garret
Copy link

garret commented Aug 11, 2024

Update: I managed to get the syncing but it seems only one way: only mihon sends page reading progress to komga but if I advance reading on komga the progress is not synced back to mihon. Is this the supposed behavior?

@kanjieater
Copy link
Author

However to sync server progress to Mihon you need to manually trigger tracker refreshing.

To do this, click the tracker button for the comic, it should show the kkmga sync progress which then syncs mihon with the komga seever in the background

@garret
Copy link

garret commented Aug 13, 2024

@kanjieater yes I had managed the syncing but I wrote a later reply where I got the syncing work but it seems only one way: Mihon sends page progress to komga web interface but if I progress a comic from the web interface that is not synced back in Mihon. But I don't know if that is the expected behavior?

@kanjieater
Copy link
Author

@kanjieater yes I had managed the syncing but I wrote a later reply where I got the syncing work but it seems only one way: Mihon sends page progress to komga web interface but if I progress a comic from the web interface that is not synced back in Mihon. But I don't know if that is the expected behavior?

No - im telling you you have to click the tracker manually each time to get komga to sync to mihon.

@garret
Copy link

garret commented Aug 13, 2024

Thank you it worked. I really had to spend some time in understanding this tracker button to tap because it doesn't look like a button at all. In an ideal world, I would have liked that there should be no need to "tap to sync" but I understand that at the moment this is the best that it is. Thank you for the APK and I hope your PR gets pushed through!

@oh-ao
Copy link

oh-ao commented Nov 26, 2024

The tracking function based on chapters is far from precise. I can't remember the page number I've read last time but I hope to sync the progress between some devices linked to Komga. Hope to see this feature soon, at least just tell Komga like "Chapter 3, Page 128".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants