Skip to content

Commit

Permalink
Merge pull request #3 from pystardust/master
Browse files Browse the repository at this point in the history
Fix to work with new gogoanime structure
  • Loading branch information
drabart authored Dec 30, 2021
2 parents 1b73914 + d671181 commit 717f8d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ani-cli
Original file line number Diff line number Diff line change
Expand Up @@ -307,18 +307,18 @@ open_episode () {

"mpv")
if echo "$status_code" | grep -vE "^2.*"; then
echo "${c_red}\nCannot reach servers!"
printf "${c_red}\nCannot reach servers!"
else
setsid -f $player_fn get_video_quality "$play_link" > /dev/null 2>&1
echo "${c_green}\nVideo playing"
printf "${c_green}\nVideo playing"
fi;;
"vlc")

if echo "$status_code" | grep -vE "^2.*"; then
echo "${c_red}\nCannot reach servers!"
printf "${c_red}\nCannot reach servers!"
else
setsid -f $player_fn get_video_quality "$play_link" > /dev/null 2>&1
echo "${c_green}\nVideo playing"
printf "${c_green}\nVideo playing"
fi;;
esac
else
Expand Down

0 comments on commit 717f8d5

Please sign in to comment.