Fredolx / open-tv

Ultra-fast, simple and powerful cross-platform IPTV app
GNU General Public License v2.0
1.16k stars 30 forks source link

Play with mpv directory option #36

Closed wadixx closed 3 months ago

wadixx commented 3 months ago

Can you add an option to play channels with own mpv directory? This way it can take advantage of installed scripts. Also it is a lot easier to use parameters with mpv.conf file.

Fredolx commented 3 months ago

Isn't this doable with the global mpv params in settings? I don't use scripts so please give me more details about this and I'll definitely consider it

wadixx commented 3 months ago

Yes you can set parameters in settings but you can't use scripts via parameters. Scripts need to be saved in scripts folder in mpv directory. So when mpv starts it loads them automatically. Open-tv uses its own mpv so it doesn't call scripts.

Below please find an application does what i say. It allows you to choose player in settings. So when you choose mpv it starts with your own config file and scripts.

https://github.com/PhunkyBob/iptv_playlist_browser

Fredolx commented 3 months ago

Are you on Windows? If so, is mpv available on your path (you can type mpv in a powershell window and it launches mpv)

wadixx commented 3 months ago

All is good now :) I added mpv to Path now it starts with my own Mpv config. Thank you for your support.