diff --git a/README.md b/README.md index fc73608da..2597aa852 100644 --- a/README.md +++ b/README.md @@ -526,7 +526,7 @@ Ani-skip uses the external lua script function of mpv and as such – for now **Warning:** For now, ani-skip does **not** seem to work under Windows. -**Note:** It may be, that ani-skip won't know the anime you're trying to watch. Try using the `--skip-title ` command line argument. (It uses the [aniskip API](https://github.com/lexesjan/typescript-aniskip-extension/tree/main/src/api/aniskip-http-client) and you can contribute missing anime or ask for including it in the database on their [discord server](https://discord.com/invite/UqT55CbrbE)). +**Note:** ani-skip now resolves MAL IDs through AllAnime directly, so title mismatches (e.g. "1P" for One Piece) are no longer an issue. Requires [ani-skip](https://github.com/synacktraa/ani-skip) >= v1.1.0. If an anime's skip times are missing from the database, you can contribute or request its inclusion on the [aniskip discord server](https://discord.com/invite/UqT55CbrbE). ## FAQ <details> diff --git a/ani-cli b/ani-cli index 33c504c39..abda96762 100755 --- a/ani-cli +++ b/ani-cli @@ -325,7 +325,7 @@ download() { play_episode() { [ "$log_episode" = 1 ] && [ "$player_function" != "debug" ] && [ "$player_function" != "download" ] && command -v logger >/dev/null && logger -t ani-cli "${allanime_title}${ep_no}" - [ "$skip_intro" = 1 ] && skip_flag="$(ani-skip -q "$mal_id" -e "$ep_no")" + [ "$skip_intro" = 1 ] && skip_flag="$(ani-skip -i "$mal_id" -e "$ep_no")" [ -z "$episode" ] && get_episode_url # shellcheck disable=SC2086 case "$player_function" in @@ -564,7 +564,7 @@ case "$search" in [ -z "$ep_no" ] && exit 1 ;; esac -[ "$skip_intro" = 1 ] && mal_id="$(ani-skip -q "${skip_title:-${title}}")" +[ "$skip_intro" = 1 ] && mal_id="$(ani-skip -i "$id" -s allanime)" # moves the cursor up one line and clears that line tput cuu1 && tput el