File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- version_number=" 4.10.3 "
3+ version_number=" 4.10.4 "
44
55# UI
66
@@ -325,9 +325,8 @@ play_episode() {
325325 * iina* )
326326 [ -n " $subs_flag " ] && subs_flag=" --mpv-${subs_flag# --} "
327327 [ -n " $refr_flag " ] && refr_flag=" --mpv-${refr_flag# --} "
328- # check for existing instance
329328 if pgrep -f " IINA" > /dev/null 2>&1 ; then
330- # using IINA instance without --keep-running to prevent hanging
329+ # omit --keep-running when an IINA instance exists to prevent hanging
331330 nohup $player_function --no-stdin --mpv-force-media-title=" ${allanime_title} Episode ${ep_no} " $subs_flag $refr_flag " $episode " > /dev/null 2>&1 &
332331 else
333332 nohup $player_function --no-stdin --keep-running --mpv-force-media-title=" ${allanime_title} Episode ${ep_no} " $subs_flag $refr_flag " $episode " > /dev/null 2>&1 &
You can’t perform that action at this time.
0 commit comments