Skip to content

Commit

Permalink
feat: discord rich presence title (#505)
Browse files Browse the repository at this point in the history
* enhancement: discord rich presence title

* bump the version

Co-authored-by: ura <[email protected]>
  • Loading branch information
justchokingaround and port19x authored Feb 7, 2022
1 parent 60698cc commit a38c857
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ani-cli
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# version number
VERSION="1.6.6"
VERSION="1.6.7"


# history file path
Expand Down Expand Up @@ -456,10 +456,10 @@ open_episode () {
;;
*)
if [ "$auto_play" -eq 0 ]; then
nohup "$player_fn" --referrer="$dpage_link" "$video_url" --title="ani-cli: $anime_id ep $episode" > /dev/null 2>&1 &
nohup "$player_fn" --referrer="$dpage_link" "$video_url" --force-media-title="ani-cli: $anime_id ep $episode" > /dev/null 2>&1 &
else
inf "Currently playing $selection_id episode" "$episode/$last_ep_number, Range: $ep_choice_start-$ep_choice_end"
"$player_fn" --referrer="$dpage_link" "$video_url" --title="ani-cli: $anime_id ep $episode" > /dev/null 2>&1
"$player_fn" --referrer="$dpage_link" "$video_url" --force-media-title="ani-cli: $anime_id ep $episode" > /dev/null 2>&1
sleep 2
fi
;;
Expand Down

0 comments on commit a38c857

Please sign in to comment.