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.18k stars 125 forks source link

[Feature Request]: spawn custom video player process #415

Closed ThaUnknown closed 4 months ago

ThaUnknown commented 5 months ago

Preflight checklist

Problem Description

people like their mpv setups

Proposed Solution

allow some form of execution like mpv %0 where %0 would be replaced by the HTTP URL of the media, then listen to when the process closes, and how long it's been open for to track watch progress

EnergoStalin commented 5 months ago

Must remind that using mpv ipc would be required for w2g. So i'd like to think that extended and abstracted version of my proposed player api implementation from draft pr would be particularly useful for wiring it both to user controls, mpv controls, and session controls. Of course if such support is planned in observable future.

ThaUnknown commented 5 months ago

not worth, I wouldn't target any specific player, or sync data, I'd simply spawn the process, and give it the playback URL, nothing more nothing less, simply times wouldn't be synced, only what files are played