From 4b735c65070ad349f1acb8fa315225db382b3c63 Mon Sep 17 00:00:00 2001 From: Lockl00p <97256723+Lockl00p@users.noreply.github.com> Date: Sat, 24 Aug 2024 11:57:38 -0500 Subject: [PATCH] fix: fix issue where a non-working Alt link gets used when on iSH (#1403) --- ani-cli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ani-cli b/ani-cli index d3ad548fa..0cb86070f 100755 --- a/ani-cli +++ b/ani-cli @@ -1,6 +1,6 @@ #!/bin/sh -version_number="4.8.11" +version_number="4.8.12" # UI @@ -178,7 +178,7 @@ get_episode_url() { done wait # select the link with matching quality - links=$(cat "$cache_dir"/* | sed 's|^Mp4-||g;/http/!d' | sort -g -r -s) + links=$(cat "$cache_dir"/* | sed 's|^Mp4-||g;/http/!d;/Alt/d' | sort -g -r -s) rm -r "$cache_dir" episode=$(select_quality "$quality") [ -z "$episode" ] && die "Episode not released!"