Hooks
List of hooks
Usage
function init() {
// This hook is triggered before Seanime formats the library data of an anime
// The event contains the variables that Seanime will use, and you can modify them
$app.onAnimeEntryLibraryDataRequested((e) => {
// Setting this to an empty array will cause Seanime to think that the anime
// has not been downloaded.
e.entryLocalFiles = []
e.next() // Continue hook chain
})
}Best Practices
Editing events
Listening to events

Last updated