jobobby04 / TachiyomiSY

Free and open source manga reader for Android
Apache License 2.0
2.88k stars 156 forks source link

Autoscroll Limit #1269

Open nopeha opened 2 months ago

nopeha commented 2 months ago

Describe your suggested feature

Setting a limit for Autoscroller to stop after a designated amount of chapters would help in cases of a user unknowingly walking away from a device, falling asleep, or otherwise not actively reading for very long series. This would decrease the load for a source and keep the device from staying on when the user isn't actually reading.

Other details

I envision this being implemented in two ways, both of which would be next to the timing of the Autoscroll.

  1. An input like the Autoscroll timing that you can manually enter a number. "Stop After ___ Chapters" or,
  2. A dropdown that correlates to the total number of chapters in the entry (Ex: Manga has 26 chapters, so the Autoscroll limit dropdown goes from 1-26). "Stop After Chapter ___"

If a user designates that the Autoscroll should stop after 3 chapters have been "read," SY will stop after the 3 chapters. Similarly, if it is a dropdown and the user selects for the scrolling to stop after chapter 12, then the Autoscroll would stop after chapter 12. It could have a message similar to how "Finished: Chapter 3/Next: Chapter 4" and instead of "There's no next chapter" or "Skipping X chapter, either the source..." it has a message displaying something akin to "Autoscroll limit reached. Finished Chapter 3" -- I'm unsure if this means there should be a hard stop like when there are no more available chapters. If there is a hard stop, having a button somewhere to continue reading would be good, but I think that would be a bit much.

Acknowledgements