Skip to content

fix: pass MAL ID to ani-skip via -i instead of deprecated -q#1732

Closed
AmroAlJundi wants to merge 1 commit into
pystardust:masterfrom
AmroAlJundi:fix/aniskip-mal-id-flag
Closed

fix: pass MAL ID to ani-skip via -i instead of deprecated -q#1732
AmroAlJundi wants to merge 1 commit into
pystardust:masterfrom
AmroAlJundi:fix/aniskip-mal-id-flag

Conversation

@AmroAlJundi
Copy link
Copy Markdown

Problem

With current ani-skip, intro skipping (--skip) fails silently and prints:

Warning: passing MAL ID via -q is deprecated, use -i instead

play_episode() calls ani-skip -q "$mal_id" -e "$ep_no", passing the numeric MAL ID to -q, which newer ani-skip interprets as a title search query. The ID gets searched literally, no match is found, and no skip chapters are returned.

Fix

Use -i (direct MAL ID lookup) for $mal_id. The other call site (line 624, ani-skip -q "${skip_title:-${title}}") is a genuine title search and is left unchanged.

Verification

$ ani-skip -q "naruto shippuden"      # -> 1735
$ ani-skip -i 1735 -e 1               # -> --chapters-file=... skip-op/ed timestamps

Before fix: ani-skip -q 1735 searches MAL for the string "1735" -> no result, no skip.

🤖 Generated with Claude Code

play_episode() called `ani-skip -q "$mal_id"`, passing the numeric
MAL ID as a search query. Newer ani-skip treats -q as a title search,
so the ID was searched literally, returned no match, printed
"passing MAL ID via -q is deprecated, use -i instead", and intro
skipping silently failed. Use -i for direct MAL ID lookup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@AmroAlJundi AmroAlJundi requested a review from Derisis13 as a code owner May 19, 2026 20:57
@AmroAlJundi AmroAlJundi closed this by deleting the head repository May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant