mihon icon indicating copy to clipboard operation
mihon copied to clipboard

Download chapters deleted when copying entry from one source to another

Open Vaturobi opened this issue 1 year ago • 1 comments

Steps to reproduce

  1. download chapters from ex. source A
  2. Copy same manga entire to ex. source B

Expected behavior

Download chapters should not be deleted if your only copying the manga entry. It should only deleted when actually migrating the entry from one sou to another

Actual behavior

I download chapters from one source (A ) then copied the same manga entry using migration feature to source (B) which results in all download chapters from source (A) being deleted

Crash logs

No response

Mihon version

0.16.4

Android version

Android 11

Device

Realme pad

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 gone through the FAQ and troubleshooting guide.
  • [X] I have updated the app to version 0.16.4.
  • [X] I have updated all installed extensions.
  • [X] I will fill out all of the requested information in this form.

Vaturobi avatar Apr 06 '24 06:04 Vaturobi

There's no way to know if the images are the same or even if the page count is the same until you actually load each new chapter (start reading or downloading). So the chapters are deliberately deleted to avoid orphaned files taking up space.

If you want to migrate but keep downloaded chapters you have two choices:

  1. Move them to Local Source before migrating
  2. [NOT RECOMMENDED] Move them anywhere else, migrate, then painstakingly rename each folder and file to match the new source. Hard to get right due to the aforementioned reasons, could be a lot of work too if the chapters are named

BrutuZ avatar Apr 06 '24 07:04 BrutuZ