Skip to content

Instantly share code, notes, and snippets.

@sullrich
Last active June 16, 2023 20:17
Show Gist options
  • Save sullrich/26d35567b8aeb7d1c66565bc01d2e597 to your computer and use it in GitHub Desktop.
Save sullrich/26d35567b8aeb7d1c66565bc01d2e597 to your computer and use it in GitHub Desktop.
Stop playing media
#!/bin/bash
rm /tmp/bmitune110.*
adb connect 10.0.250.154
adb -s 10.0.250.154 shell am force-stop com.hulu.plus
sleep 1
# Stop Video
adb -s 10.0.250.154 shell input keyevent KEYCODE_HOME; sleep 1
adb -s 10.0.250.154 disconnect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment