Skip to content

mpv script that automatically finds chapters for your anime files

License

Notifications You must be signed in to change notification settings

po5/mpv-auto-chapters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

autochapters

Automatically finds chapters for your anime files.

Installation

Place the "autochapters" folder in your mpv scripts folder. Do not take the Lua file out of the folder.
This script requires curl and guessit to be installed and accessible within Path.
For Windows grab the curl and guessit-windows.exe binaries. Rename the guessit file to guessit.exe.
Use your package manager on Mac/Linux.

Usage

Open any anime episode. The offline database will automatically be cached on first launch.
If your file did not already have chapters, this script will extract the anime title and episode number from the filename, and look for matching chapters online.
Filenames are processed on your local device and never sent over the internet.

Synergy with other scripts

Any script that uses chapters such as chapterskip can be used to automatically skip openings/endings.
Chapter data is also available under the user-data/autochapters property, and filename parsing results at user-data/guessit.

Acknowledgements

Aniskip for the API serving chapters.
ani-skip for being annoying enough to use that I went and made this.
manami's anime-offline-database which is used to link titles to MyAnimeList IDs.
Taiga's anime-relations used to resolve continuous numbering schemes to their respective seasons.

About

mpv script that automatically finds chapters for your anime files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages