From 9df5dedc49b726c91568a7af4ed448825abe6aa1 Mon Sep 17 00:00:00 2001 From: "synacktra.work@gmail.com" Date: Sun, 12 Apr 2026 15:09:31 +0530 Subject: [PATCH 1/2] fix: use ani-skip's allanime source for skip time lookups Pass AllAnime _id directly to ani-skip instead of fuzzy-matching titles through MAL's prefix search, which fails on AllAnime-specific display names (e.g. "1P" for One Piece). Requires ani-skip >= v1.1.0 --- ani-cli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 758b71d280ec1739d7414a8fcb3ef28d6b69a54b Mon Sep 17 00:00:00 2001 From: "synacktra.work@gmail.com" Date: Sun, 12 Apr 2026 16:36:53 +0530 Subject: [PATCH 2/2] docs: update ani-skip note --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>