diff --git a/extra/com.github.taiko2k.tauonmb.sh b/extra/com.github.taiko2k.tauonmb.sh index 2fa88b8ef..5bdebc93c 100755 --- a/extra/com.github.taiko2k.tauonmb.sh +++ b/extra/com.github.taiko2k.tauonmb.sh @@ -1,14 +1,14 @@ #!/bin/sh if [ "$1" == "--no-start" ]; then - if [ "$2" == "--play" ]; then curl http://localhost:7813/play/ + if [ "$2" == "--play" ]; then curl http://localhost:7813/play/ elif [ "$2" == "--play-pause" ]; then curl http://localhost:7813/playpause/ - elif [ "$2" == "--pause" ]; then curl http://localhost:7813/pause/ - elif [ "$2" == "--stop" ]; then curl http://localhost:7813/stop/ - elif [ "$2" == "--next" ]; then curl http://localhost:7813/next/ - elif [ "$2" == "--previous" ]; then curl http://localhost:7813/previous/ - else python3 /app/bin/tauon.py "$@"; + elif [ "$2" == "--pause" ]; then curl http://localhost:7813/pause/ + elif [ "$2" == "--stop" ]; then curl http://localhost:7813/stop/ + elif [ "$2" == "--next" ]; then curl http://localhost:7813/next/ + elif [ "$2" == "--previous" ]; then curl http://localhost:7813/previous/ + else python3 /app/bin/src/tauon/__main__.py "$@"; fi else - python3 /app/bin/tauon.py "$@" + python3 /app/bin/src/tauon/__main__.py "$@" fi