Player module - SPPlayerInterface

Interface functions for communication with the Player and Player window.

Constants

Player state

To  determine the player state, use these constants.
PLAYER_STATE_NO_FILE=0
PLAYER_STATE_PAUSED=1
PLAYER_STATE_PLAYING=2
PLAYER_STATE_STOPPED=3

Player Mode

PLAYER_MODE_NORMAL=0
PLAYER_MODE_DVD=1
PLAYER_MODE_CAPTURE=1

Module methods

get_current_time()
get_current_frame()
get_current_fps()
get_current_time_mode()
get_current_state()
get_current_player_mode()
play()
pause()
stop()
seek_to_frame(frame)
seek_to_time(time)