MPV
Interact with the user's MPV instance.
Permissions
playback
permission is required
Core Methods
openAndPlay
Opens and plays a file with MPV (without tracking).
Parameters:
filePath
: String - Path to a video file
Example:
onEvent
Issue
Do not use for Seanime versions <= 2.8.4
Registers a listener for MPV player events (fires frequently).
Parameters:
callback
: Function(event, closed) - Callback function for events
Example:
getConnection
Returns the underlying connection object to the MPV instance.
Returns: MpvConnection | undefined - The MPV connection if available
stop
Stops the MPV player.
Example:
Last updated