diff --git a/multimedia.controller.sh b/multimedia.controller.sh index af9dcfe..a87ac46 100755 --- a/multimedia.controller.sh +++ b/multimedia.controller.sh @@ -19,6 +19,10 @@ readonly NBARGS="${#}" ## Export DEBUG for sub-script export DEBUG +## Ensure current directory is in the path +# to be able to call sub-scripts +PATH="${PATH}:${PROGDIR}" + ## Default values for some vars readonly MPV_PROC_REGEXP="mpv.*--input-ipc-server" readonly KODI_PROC_REGEXP="kodi.bin"