Continuity
Interact with Seanime's watch history system that powers playback resuming.
Core Methods
getWatchHistoryItem
Gets the last recorded progress for an anime
const item = ctx.continuity.getWatchHistoryItem(21)updateWatchHistoryItem
Update the last recorded progress for an anime
Parameters:
opts: Object containing:currentTime: Number - Last recorded progress in secondsduration: Number - Total duration in secondsmediaId: NumberepisodeNumber: Numberfilepath?: Stringkind: "onlinestream" | "mediastream" | "external_player"
getWatchHistory
Gets all last recorded progress items
const items = ctx.continuity.getWatchHistory()deleteWatchHistoryItem
Parameters:
mediaId: Number
ctx.continuity.deleteWatchHistoryItem(21)Last updated