From 179ff2c63635bbdfe1a8df20c55280e764dbc845 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 5 Dec 2022 12:12:11 +0100 Subject: [PATCH] Use VLC for iptv --- scripts/.local/share/scripts/iptv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/.local/share/scripts/iptv b/scripts/.local/share/scripts/iptv index dc4f245..02acdef 100755 --- a/scripts/.local/share/scripts/iptv +++ b/scripts/.local/share/scripts/iptv @@ -27,7 +27,7 @@ streaming_server() { } stream_channel() { - "$HOME"/.local/share/scripts/playstream.py --ace-stream-pid "$1" --player "$(which mpv) --profile acestream" + nix-shell -p vlc --run "$HOME/.local/share/scripts/playstream.py --ace-stream-pid $1 --player '$(whereis vlc | cut -d ':' -f 2)'" } channel_selection() {