Add stop command
This commit is contained in:
parent
c71d322eee
commit
a9b8c5ca94
|
@ -40,13 +40,17 @@ EXAMPLES :
|
||||||
- Start Kodi if not already running
|
- Start Kodi if not already running
|
||||||
${PROGNAME}
|
${PROGNAME}
|
||||||
|
|
||||||
- Send default action (${USER_MULTIMEDIA_COMMAND_DEFAULT}) to Kodi instance
|
- Stop current current media
|
||||||
|
${PROGNAME} --command stop
|
||||||
|
|
||||||
|
- Send default action (${USER_MULTIMEDIA_COMMAND_DEFAULT}) to Kodi instance
|
||||||
${PROGNAME}
|
${PROGNAME}
|
||||||
|
|
||||||
OPTIONS :
|
OPTIONS :
|
||||||
-c,--command
|
-c,--command
|
||||||
Send a command to running Kodi. Available commands :
|
Send a command to running Kodi. Available commands :
|
||||||
* toggle, play, pause
|
* toggle, play, pause
|
||||||
|
* stop
|
||||||
* next
|
* next
|
||||||
* previous
|
* previous
|
||||||
* random, party, partymode
|
* random, party, partymode
|
||||||
|
@ -96,6 +100,9 @@ define_vars() { # {{{
|
||||||
toggle|play|pause ) ## Toggle current play
|
toggle|play|pause ) ## Toggle current play
|
||||||
KODI_ACTION="PlayerControl(play)"
|
KODI_ACTION="PlayerControl(play)"
|
||||||
;;
|
;;
|
||||||
|
stop ) ## Stop current play
|
||||||
|
KODI_ACTION="PlayerControl(stop)"
|
||||||
|
;;
|
||||||
next ) ## Next element in the playlist
|
next ) ## Next element in the playlist
|
||||||
KODI_ACTION="PlayerControl(next)"
|
KODI_ACTION="PlayerControl(next)"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue