Continuity
Interact with Seanime's watch history system that powers playback resuming.
Core Methods
getWatchHistoryItem
Gets the last recorded progress for an anime
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
deleteWatchHistoryItem
Parameters:
mediaId
: Number
Last updated