Try to start Kodi only for localhost command
This commit is contained in:
parent
9f9aae8403
commit
44722d1350
|
@ -251,6 +251,8 @@ main() { # {{{
|
||||||
## Define all vars
|
## Define all vars
|
||||||
define_vars
|
define_vars
|
||||||
|
|
||||||
|
## For localhost
|
||||||
|
if [ "${KODI_HOST}" = "${KODI_HOST_DEFAULT}" ]; then
|
||||||
## If kodi is not running {{{
|
## If kodi is not running {{{
|
||||||
### AND Start it
|
### AND Start it
|
||||||
### AND exit 0
|
### AND exit 0
|
||||||
|
@ -259,6 +261,7 @@ main() { # {{{
|
||||||
&& kodi \
|
&& kodi \
|
||||||
&& exit 0
|
&& exit 0
|
||||||
## }}}
|
## }}}
|
||||||
|
fi
|
||||||
|
|
||||||
## If the media should be paused {{{
|
## If the media should be paused {{{
|
||||||
if [ "${USER_MULTIMEDIA_COMMAND}" = "pause" ]; then
|
if [ "${USER_MULTIMEDIA_COMMAND}" = "pause" ]; then
|
||||||
|
|
Loading…
Reference in New Issue