update watch history when downloading anime

This commit is contained in:
ksyasuda 2022-02-20 15:36:34 -08:00
parent 74ac27bb79
commit 924b0eed76

View File

@ -617,7 +617,7 @@ open_episode() {
fi fi
# Don't update watch history if downloading episode # Don't update watch history if downloading episode
(("$is_download" == 0)) && insert_history "watch" "$anime_id" "$episode" insert_history "watch" "$anime_id" "$episode"
lg "Getting data for episode $episode" lg "Getting data for episode $episode"
dpage_link=$(get_dpage_link "$anime_id" "$episode") dpage_link=$(get_dpage_link "$anime_id" "$episode")