Skip to content

Commit

Permalink
fix: fix issue where a non-working Alt link gets used when on iSH (#1403
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Lockl00p authored Aug 24, 2024
1 parent 267880f commit 4b735c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ani-cli
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

version_number="4.8.11"
version_number="4.8.12"

# UI

Expand Down Expand Up @@ -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!"
Expand Down

0 comments on commit 4b735c6

Please sign in to comment.