2026-05-10 fix ~/Automations → ~/Automation path in luna-send docs, add htpc.md

This commit is contained in:
Alexey Martemyanov
2026-05-10 21:02:31 +06:00
parent e42e25bbeb
commit cdad164cb5
2 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
# tv-luna-send.sh — враппер для luna-send на LG TV
Скрипт: `~/Automations/tv-luna-send.sh`
Скрипт: `~/Automation/tv-luna-send.sh`
## Проблема
@@ -19,22 +19,22 @@
## Использование
```bash
~/Automations/tv-luna-send.sh [luna-send flags] luna://service/method 'json'
~/Automation/tv-luna-send.sh [luna-send flags] luna://service/method 'json'
```
Примеры:
```bash
# foreground app
~/Automations/tv-luna-send.sh -n 1 -f luna://com.webos.applicationManager/getForegroundAppInfo '{}'
~/Automation/tv-luna-send.sh -n 1 -f luna://com.webos.applicationManager/getForegroundAppInfo '{}'
# закрыть app
~/Automations/tv-luna-send.sh -n 1 -f luna://com.webos.service.applicationmanager/closeByAppId '{"id":"me.wouterdek.magic4pc"}'
~/Automation/tv-luna-send.sh -n 1 -f luna://com.webos.service.applicationmanager/closeByAppId '{"id":"me.wouterdek.magic4pc"}'
# запустить app
~/Automations/tv-luna-send.sh -n 1 -f luna://com.webos.applicationManager/launch '{"id":"me.wouterdek.magic4pc"}'
~/Automation/tv-luna-send.sh -n 1 -f luna://com.webos.applicationManager/launch '{"id":"me.wouterdek.magic4pc"}'
# статус сервиса
~/Automations/tv-luna-send.sh -n 1 -f luna://me.wouterdek.magic4pc.service/query '{}'
~/Automation/tv-luna-send.sh -n 1 -f luna://me.wouterdek.magic4pc.service/query '{}'
```
Переменная `TV_HOST` переопределяет таргет (default: `root@LGwebOSTV`, alias `root@tv`, IP: `root@192.168.1.75`).