Плагин для NPlayer

Events: none

--------------------------------------------------------------
Actions:

NPlayer( <Command> )

Commands:

"GET_HANDLE" - returns the HWND of the NPlayer remote window

"EXIT"
"VIEWFILEINFO"
"PLAYLISTEDITOR"
"PLAY"
"STOP"
"PAUSE"
"NEXT"
"PREV"
"FULLSCREEN"
"PREFERENCES"
"SCANFORWARD"
"SCANBACK"

"PLAYALL"
"PLAYONE"
"REPEATALL"
"REPEATONE"

"Play1x"
"Play2x"
"Play3x"
"Play05x"
"Subtitles_Plus"
"Subtitles_Minus"
"Subtitles_Turn"
"SUBNEXT"
"SUBPRV"
"WINSETTINGS0"
"WINSETTINGS1"
"WINSETTINGS2"
"WINSETTINGS3"
"WINSETTINGS4"
"WINSETTINGS5"
"WINSETTINGS6"
"WINSETTINGS7"
"WINSETTINGS8"
"WINSETTINGS9"
"SWITCHAUDIO"
"VOLUMEUP"
"VOLUMEDOWN"

Example:

PlayRemote = Hook( "REMOTE", "PLAY", Enabled, Break ){
Break( PlayRemote <> 0 )
nplayer( "PLAY" )
OSD.ActionPreset( Play )
}