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]: w2g sync with joined peers #363

Closed EnergoStalin closed 1 week ago

EnergoStalin commented 10 months ago

Preflight checklist

Problem Description

I'm using miru quite often to watch anime with friends and this start pissing me off because i sometimes forget about such "limitations".

So there's 2 problems with sync i noticed.

  1. When someone joining w2g lobby and you already watching/having open some torrent it sync only on selecting different torrent and selecting old back.
  2. When opening batch torrent and it's locally automatically select N episode because you a logged in anilist it's not synced to anonymous peers so we have inconsistent episode number among participants. When watching with someone logged in and you on same episode it works okay because of local autoselect.

Proposed Solution

  1. Send current media state on "init".
  2. Send "index" on autoselect.