#!/bin/bash
/path/to/adb connect 192.168.2.91
/bin/sleep 2
/path/to/adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
/path/to/adb disconnect
bash ./playpause.sh
Dec 3, 2018 at 7:42:52 PM
Action Group Test Python call to FireTV
Action Collection Error Couldn't run script - make sure the script is marked executable and contains a valid shebang on the first line
chmod +x /Users/MacUser/Downloads/playpause.sh
Dec 5, 2018 at 3:43:24 PM
Action Group Test Message from Indigo
#!/bin/bash
adb connect 192.168.2.91
/bin/sleep 2
adb shell input keyevent KEYCODE_MEDIA_PLAY_PAUSE
adb disconnect
Users browsing this forum: No registered users and 8 guests