Roshan-R / termv

A terminal iptv player written in bash
GNU General Public License v3.0
222 stars 19 forks source link

Windows Support? #20

Open ThomasEricB opened 2 years ago

ThomasEricB commented 2 years ago

Please consider adding Windows Support.

ThomasEricB commented 2 years ago

Okay, I got it working with Cygwin, however it won't load the .json from the IPTV.ORG. It only appears "1/1" Select Channel (Press Escape to Exit)

Roshan-R commented 2 years ago

I'm not familiar with Cygwin but it seems to run fine on wsl2 with gui support

gabbymouth commented 2 years ago

I'm not familiar with Cygwin but it seems to run fine on wsl2 with gui support

It also works with a slight mod to the termv script and no gui support is needed. If you have mpv for windows installed change the mpv executable to something like /mnt/d/mpv/mpv.exe. The env TERMV_DEFAULT_MPV_FLAGS works the same as a regular linux system.

It does throw a dependency error if you don't have mpv installed in your wsl2 distro and that can be edited out or just install mpv and don't use it...

Roshan-R commented 1 year ago

I'm rewriting termv using rust as a way to study how the language works. It supports for windows, consider checking it out here

ThomasEricB commented 1 year ago

Thank you so much @Roshan-R !

gabbymouth commented 1 year ago

Cool! It just so happens that I already have fzf for windows installed too. :)