/ani-skip

A script that offers an automated solution to bypass anime opening and ending sequences, enhancing your viewing experience by eliminating the need for manual intro and outro skipping.

Primary LanguageShellGNU General Public License v3.0GPL-3.0



ani-skip

A script to automatically skip anime opening and ending sequences, making it easier to watch your favorite shows without having to manually skip the intros and outros each time.

Important: There's a chance ani-skip may not recognize the anime you're watching. It leverages the aniskip API. If an anime's episode(s) are missing, you can contribute or request its inclusion on their discord server.

Troubleshooting Errors

Should you run into problems, first ensure you're using the most recent version:

  • For Linux, Mac, and Android:

    sudo ani-skip -U
  • For Windows: Open Git Bash as an administrator and enter:

    ani-skip -U

If the issue remains unresolved, please create a new issue.


Usage

$ ani-skip
ani-skip ["title"] [ep]
# title -> Precise anime title that can be retrieved during anime selection (e.g. ani-cli anime selection)
# ep -> episode number

script-opts with the script flag is produced by ani-skip when metadata for a specific anime's skip times exists in the database. It's important to append these flags at the end due to certain mpv nuances.

$ ani-skip "Black Clover (170 episode)" 10
--script-opts=skip-op_start=140.153,skip-op_end=230.153,skip-ed_start=1301.824,skip-ed_end=1431 '--script=/home/kali/.config/mpv/scripts/skip.lua'
$ mpv "black_clover_ep10.mp4" $(ani-skip "Black Clover (170 episode)" 10)

Install

git clone https://github.com/synacktraa/ani-skip.git
sudo cp ani-skip/ani-skip /usr/local/bin
mkdir -p ~/.config/mpv/scripts && cp ani-skip/skip.lua ~/.config/mpv/scripts/
rm -rf ani-skip

Dependencies

  • grep
  • sed
  • curl
  • fzf
  • lua
  • mpv - Video Player

Checklist

  • mpv
  • vlc
  • MyAnimeList Id scraper