Hey,
for everybody who want to restart PMS on Shield TV remotely. Here is a solution.
- Activate developer mode on Shield TV; Settings -> About -> Click Build 10 times;Enabl you will get a notification
- Enable debugging; Settings -> Developer Options -> Debugging -> Enable Debugging
- Enable debugging over USB; Settings -> Developer Options -> Debugging -> Toggle USB debugging on
- Enable debugging over network; Settings -> Developer Options -> Debugging -> Toggle network debugging on
Now you have to install Googles debugging tools on the PC/MAC to restart the PMS from there.
You will get it here: developer.android.com/studio/releases/platform-tools.html
After extracted, navigate to the folder.
pc:~ name$ cd /Users/name/Downloads/platform-tools
Now you have to connect to your SHIELD TV.
pc:platform-tools user$ ./adb connect IP.OF.SHIELD.TV
* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to 172.16.173.95:5555
You can shutdown your server with following command.
pc:platform-tools user$ ./adb shell am force-stop com.plexapp.mediaserver.smb
Your server should be offline now.
pc:platform-tools user$ ./adb shell am start com.plexapp.mediaserver.smb/com.plexapp.mediaserver.ui.main.MainActivity
And your server comes online again.
Hope this guide helps someone!
best regards,
frezy
edit: with update 12.1 there is a new activity path. updated
