oltodosel / interSubs

Interactive subtitles for mpv. Instantly translate selected word/sentence.
MIT License
225 stars 20 forks source link

windows #40

Closed adriannedbailo closed 3 years ago

adriannedbailo commented 3 years ago

How port it on windows. This is real?

oltodosel commented 3 years ago

https://github.com/mpv-player/mpv/blob/master/DOCS/man/ipc.rst#command-prompt-example

To port it you'd have to make some way for interSubs to be able to talk to mpv. I'd go through creating a *.lua monitoring tool that would allow mpv to receive commands through simple text files(that preferably would be on a ramdisk, or at least on ssd).

Or, alternatively, strip some of the inbuilt functionality from interSubs that requires it. Though in this case you'd have to pause playback manually each time you look up a word, because mpv would not have a way to know you want it to pause while a cursor hovers over a word.

Easiest way for a Window user is to consider installing VirtualBox and Ubuntu or some other user-friendly distro.