mihon icon indicating copy to clipboard operation
mihon copied to clipboard

Local Tracking System

Open GMak9 opened this issue 2 months ago • 7 comments

Describe your suggested feature

A local tracking system. will serve to save the data (manga/comic, cap/ep) in the same format as used in the other services (like anilist, myanilist, kitsu...). By storing this data locally and easily accessible, it will be possible to export and import it into online services.

Other details

No response

Acknowledgements

  • [x] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • [x] I have written a short but informative title.
  • [x] I have updated the app to version 0.19.1.
  • [x] I will fill out all of the requested information in this form.

GMak9 avatar Oct 31 '25 22:10 GMak9

In general, the format used is usually .xml EXAMPLE:

<myanimelist>
<myinfo>
<user_export_type>2</user_export_type>
</myinfo>
<manga>
<manga_mangadb_id>179469</manga_mangadb_id>
<my_read_chapters>39</my_read_chapters>
<my_read_volumes>0</my_read_volumes>
<my_start_date>2025-07-20</my_start_date>
<my_score>8</my_score>
<my_status>Reading</my_status>
<my_times_read>0</my_times_read>
<update_on_import>1</update_on_import>
</manga>
<manga>
<manga_mangadb_id>146966</manga_mangadb_id>
<my_read_chapters>223</my_read_chapters>
<my_read_volumes>0</my_read_volumes>
<my_start_date>2020-11-08</my_start_date>
<my_score>9</my_score>
<my_status>Reading</my_status>
<my_times_read>0</my_times_read>
<update_on_import>1</update_on_import>
</manga>

GMak9 avatar Oct 31 '25 23:10 GMak9

Why not just use the services directly? There is no standard import format for the mentioned services. MAL doesn't even have an import system, only an export system.

What you brought up is the MAL export XML structure, which is only supported as imports by Kitsu and AL (only to facilitate migration for users who wish to move away from MAL).

Even if Mihon were to build a MAL-XML-like export, why would you need that? Only Kitsu and AL support MAL import, and you can already use those directly within Mihon. And if you want the data export in that format, why not make a MAL account, add your titles, and then export the list data?

MajorTanya avatar Oct 31 '25 23:10 MajorTanya

in the same format as used in the other services (like anilist, myanilist, kitsu...)

Here's the kicker, each service uses its own format. Importing won't ever work since the services need to map each other. Notice how in the few services that do have import functionalities they require a service's specific format.

Mihon doesn't have its own centralized database, it uses whatever URLs the sources use, so the _id field is a bust. It doesn't have the concept of volumes either, so there goes _volumes. Score is also not a thing on the app, _score is out too. Status is whatever the source says, so _status is redundant. It only tracks the last time a chapter was read, so _times_read will be either 1 or 0

BrutuZ avatar Oct 31 '25 23:10 BrutuZ

The reason I think it is necessary is the 400's errors. These services are constantly blocking mihon(forks) access.

GMak9 avatar Nov 01 '25 17:11 GMak9

Not my experience at all. At worse their credentials expire and requiring to logout and login again

BrutuZ avatar Nov 01 '25 17:11 BrutuZ

The reason I think it is necessary is the 400's errors. These services are constantly blocking mihon(forks) access.

No tracker has blocked Mihon in a very long time. The only occurrence was very early on when we messed up with how we interacted with MAL and got rightfully blocked by them for a time. We fixed the issue and any reasonably up to date version of Mihon can work with MAL without being blocked.

If you are experiencing 400-class errors, it means your login with that tracker has expired and you need to go to Mihon's settings, log out of the tracker in question, and then log back in to that tracker. This is something that can happen for any number of reasons and all of them are things we cannot account for in the app.

This is something we would have told you immediately if you had asked about getting 400-class errors from your trackers.

MajorTanya avatar Nov 01 '25 19:11 MajorTanya

Also, the app already stores the tracks that have errored and retries them via a background job until they succeed so none of your tracking is lost.

NGB-Was-Taken avatar Nov 02 '25 05:11 NGB-Was-Taken

I do like the idea of having a local tracking system for some manga that are not available on tracking databases. I solely use anilist for my tracking for manga on mihon and some of the mangas that i read are not available on the site. This is not a big problem however some extensions sometimes "replace" the chapters and it's marked as unread.

E.g. I've read chapter 1-9, the extension replaces chapter 8 and 9 (not sure why), chapter 8 and 9 are set to unread. I have quite a few manga like this and I feel like if I could have a local tracker (maybe just for the chapter count), I can see which chapter I've read up to and set it to read. Would be a good quality of life update for my use case, i think.

Gilz142 avatar Dec 10 '25 04:12 Gilz142