Update config for mpv in mac for fzf-player

This commit is contained in:
aleidk 2023-11-01 13:55:55 -03:00
parent 720a4e6ca7
commit 7d19b1af6a
2 changed files with 8 additions and 3 deletions

View file

@ -20,9 +20,9 @@ shift
# defaults to celluloid, fallback to mpv
if command -v celluloid &>/dev/null; then
player="celluloid"
player="celluloid --mpv-profile=low-latency,music-stream"
else
player="mpv --no-video"
player="mpv --player-operation-mode=pseudo-gui --profile=low-latency,music-stream"
fi
if [[ -z "$url" ]]; then
@ -30,4 +30,4 @@ if [[ -z "$url" ]]; then
url="${streams[$url]}"
fi
$player "$url"
$player "$url" &>/dev/null &