Skip to content

Commit

Permalink
jklö
Browse files Browse the repository at this point in the history
  • Loading branch information
port19x authored Feb 4, 2024
1 parent 955b8cf commit b11a200
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 @@ -240,7 +240,7 @@ play_episode() {
[ -z "$ANI_CLI_NON_INTERACTIVE" ] && printf "All links:\n%s\nSelected link:\n" "$links"
printf "%s\n" "$episode"
;;
mpv*) $([ "$no_detach" = 0 ] && echo "nohup") "$player_function" $skip_flag --force-media-title="${allanime_title}Episode ${ep_no}" "$episode" >/dev/null 2>&1 "$([ "$no_detach" = 0 ] && echo "&" || true)" ;;
mpv*) $([ "$no_detach" = 0 ] && echo "nohup") "$player_function" $skip_flag --force-media-title="${allanime_title}Episode ${ep_no}" "$episode" >/dev/null 2>&1 "$([ "$no_detach" = 0 ] && echo "&")" ;;
android_mpv) nohup am start --user 0 -a android.intent.action.VIEW -d "$episode" -n is.xyz.mpv/.MPVActivity >/dev/null 2>&1 & ;;
android_vlc) nohup am start --user 0 -a android.intent.action.VIEW -d "$episode" -n org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity -e "title" "${allanime_title}Episode ${ep_no}" >/dev/null 2>&1 & ;;
iina) nohup "$player_function" --no-stdin --keep-running --mpv-force-media-title="${allanime_title}Episode ${ep_no}" "$episode" >/dev/null 2>&1 & ;;
Expand Down

0 comments on commit b11a200

Please sign in to comment.