eslavnov / android-tv-remote

A simple wrapper around ADB to send commands to Android TVs
37 stars 12 forks source link

Add support for app launching #3

Open FezVrasta opened 5 years ago

FezVrasta commented 5 years ago

Right now I use this adb command to boot up Plex automatically:

adb shell am start com.plexapp.mediaserver.smb/com.plexapp.mediaserver.ui.main.MainActivity

It'd be nice to add this functionality in android-tv-remote, maybe with:

android-tv-remote --host x.x.x.x --launch "com.plexapp.mediaserver.smb/com.plexapp.mediaserver.ui.main.MainActivity"

(this would allow, together with #2, to have automations that turn on the TV and automatically launch a given app)

eslavnov commented 5 years ago

This is a great idea, thanks! I'll have to think how to implement it properly for a nice user-experience (like checking if TV is off and turning it on automatically if required before launching an app) but I'll definitely code it in the coming week or so.

tlc76 commented 4 years ago

hi @eslavnov, any news on this enhancement? :)

thanks, Cristian