ThaUnknown / miru

Bittorrent streaming software for cats. Stream anime torrents, real-time with no waiting for downloads.
https://miru.watch
GNU General Public License v3.0
2.36k stars 133 forks source link

[Feature Request]: Continue watching already downloaded torrent automatically #361

Closed EnergoStalin closed 9 months ago

EnergoStalin commented 10 months ago

Preflight checklist

Problem Description

When you check "Persist files" in torrent settings and jump between anime it's not picking already downloaded torrent automatically as source.

Proposed Solution

Make it automatic when possible. So when "Continue now" is pressed search for anime in torrent folder first then if found match torrent automatically resuming download or starting it over if resuming not possible. The main purpose to not show torrent listing again if anime already picked. Commonly useful for resuming watching with persist checked.

Or in more reliable way just store torrent file along with anime to not match name against tosho everytime you want to reuse persisted file.

Not neccessarly needed but current flow is not smooth as it can be i think.

EnergoStalin commented 10 months ago

Perhaps better opt it to fully downloaded torrents only. In case of missclicks. To reset you simply can delete local files manually but it's sounds like a crutch. Honestly whole feature sounds like it to think. The better way would be to add downloaded anime management or more buttons. Like pick and continue.

So i think the most convinient way would be to add pick and continue buttons and add before mentioned functionality to autoplay feature removing "Auto-play torrents" from settings in favor of the pick button.

EnergoStalin commented 10 months ago

If you don't like idea of more buttons keep UX as is and add modifier like CTRL to "Continue now" for force picking.

EnergoStalin commented 10 months ago

To summarize

  1. Store torrent near anime
  2. Resume watching from torrent if present without prompting
  3. Add option to force picking torrent by adding modifier to "Continue/Watch now" like CTRL even if "Auto-Play torrents" enabled(in case of missclicks to undesired torrent first time)
EnergoStalin commented 10 months ago

Just realized need way to know last torrent then in case of missclick. I guess file creation time can be used for this without extra storage if several candidates matching.

ThaUnknown commented 9 months ago

https://github.com/ThaUnknown/miru/issues/365#issuecomment-1821359918