Skip to content

Commit

Permalink
fix: where_mpv checks for mpv than ANI_CLI_PLAYER
Browse files Browse the repository at this point in the history
  • Loading branch information
71zenith committed Sep 18, 2024
1 parent 62e872e commit 781ddea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ani-cli
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ where_iina() {
}

where_mpv() {
command -v "$ANI_CLI_PLAYER" >/dev/null && printf "%s" "$ANI_CLI_PLAYER" && return 0
command -v "mpv" >/dev/null && printf "%s" "mpv" && return 0
command -v "flatpak" >/dev/null && flatpak info io.mpv.Mpv >/dev/null 2>&1 && printf "%s" "flatpak_mpv" && return 0
dep_ch mpv # exit with formating
}
Expand Down

0 comments on commit 781ddea

Please sign in to comment.