-
-
Save thiagoalmeidasa/0ed1e508832d4b212bd2859de52d659b to your computer and use it in GitHub Desktop.
Revisions
-
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown** ___ ## Start apps on your android device (in the examples below, my Nvidia Shield TV) from Home Assistant  **Starts Youtube App** ``` -
mcfrojd revised this gist
Mar 6, 2021 . No changes.There are no files selected for viewing
-
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ ## Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below. **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown** ___ ## Start apps on your android device (in the examples below, my Nvidia Shield TV) from Home Assistant  **Starts Youtube App** -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ ## Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below. **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown** ___ ## Start apps on your android device (in my examples my Nvidia Shield TV) from Home Assistant  **Starts Youtube App** -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ ## Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below. **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown** ___ ## Start apps on your Shield from Home Assistant  -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 78 additions and 31 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,93 +14,126 @@ command: >- **Starts Kodi** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n org.xbmc.kodi/.Splash ``` **Starts Twitch** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n tv.twitch.android.app/tv.twitch.android.apps.TwitchActivity ``` **Starts Netflix (Shows profiles if its the first start.)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n android.intent.action.VIEW -d -n com.netflix.ninja/.MainActivity ``` **Starts TV4 Play (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n se.tv4.tv4playtab/se.tv4.tv4play.startup.SplashActivity ``` **Starts SVT Play (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n se.svt.android.svtplay/se.svt.svtplay.tv.ui.StartupActivity ``` **Starts C More (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n se.cmore.bonnier/.androidtv.splash.TvConfigurationActivity ``` **Starts ViaPlay (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.viaplay.android/.features.home.HomeActivity ``` ___ ## Starts specific Twitch stream (If stream is live) ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -d twitch://stream/frenck ``` ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -d twitch://stream/drzzs ``` ___ ## KILL apps on your Shield from Home Assistant **Kills YOUTUBE App** ``` entity_id: media_player.shield command: >- am force-stop com.google.android.youtube.tv ``` **Kills KODI App** ``` entity_id: media_player.shield command: >- am force-stop org.xbmc.kodi ``` **Kills TWITCH App** ``` entity_id: media_player.shield command: >- am force-stop tv.twitch.android.app ``` **Kills NETFLIX App** ``` entity_id: media_player.shield command: >- am force-stop com.netflix.ninja ``` **Kills SVT PLAY App** ``` entity_id: media_player.shield command: >- am force-stop se.svt.android.svtplay ``` **Kills TV4 PLAY App** ``` entity_id: media_player.shield command: >- am force-stop se.tv4.tv4playtab ``` **Kills C MORE App** ``` entity_id: media_player.shield command: >- am force-stop se.cmore.bonnier ``` ___ ## Install apps on your Android Device from Home Assistant Not tested my self, but tips from *https://gist.github.com/JeffLIrion* ``` entity_id: media_player.fire_tv_living_room command: >- pm install -r /sdcard/Download/something.apk ``` ___ ## Shield navigation and controlling @@ -126,73 +159,85 @@ ___ ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.hulu.livingroomplus/.MainActivity ``` **Starts Live Channels App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.google.android.tv/com.android.tv.MainActivity ``` **Starts Amazon App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.amazon.amazonvideo.livingroom/com.amazon.ignition.IgnitionActivity ``` **Starts SPMC App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.semperpax.spmc17/.Splash ``` **Starts Haystack App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.haystack.android/.tv.ui.LoadingActivity ``` **Starts PBS App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.pbs.video/.ui.main.activities.StartupActivity ``` **Starts Pluto TV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n tv.pluto.android/.leanback.controller.LeanbackSplashOnboardActivity ``` **Starts Spotify App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.spotify.tv.android/.SpotifyTVActivity ``` **Starts HBO Go App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n eu.hbogo.androidtv.production/eu.hbogo.androidtv.MainActivity ``` **Starts Plex App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.plexapp.android/com.plexapp.plex.activities.SplashActivity ``` **Starts Perfect Player App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.niklabs.pp/com.niklabs.perfectplayer.MainActivity ``` **Starts S0undTV (twtich) App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.s0und.s0undtv/com.s0und.s0undtv.activities.MainActivity ``` **Starts SmartYoutubeTV App** ``` @@ -212,13 +257,15 @@ command: >- ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.ziggo.tv/com.lgi.horizongo.core.activity.splash.SplashActivity ``` **Starts Tivimate/ImPlayer App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n ar.tvplayer.tv/.ui.MainActivity ``` ___ ## Show local video with KODI -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -137,7 +137,8 @@ command: >- **Starts Amazon App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.amazon.amazonvideo.livingroom/com.amazon.ignition.IgnitionActivity ``` **Starts SPMC App** ``` -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -137,8 +137,7 @@ command: >- **Starts Amazon App** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n com.amazon.amazonvideo.livingroom/com.amazon.ignition.IgnitionActivity ``` **Starts SPMC App** ``` -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 6 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,14 +14,12 @@ command: >- **Starts Kodi** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n org.xbmc.kodi/.Splash ``` **Starts Twitch** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n tv.twitch.android.app/tv.twitch.android.apps.TwitchActivity ``` **Starts Netflix (Shows profiles if its the first start.)** ``` @@ -32,27 +30,22 @@ command: am start -a android.intent.action.VIEW -n android.intent.action.VIEW -d **Starts TV4 Play (swedish streaming)** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n se.tv4.tv4playtab/se.tv4.tv4play.startup.SplashActivity ``` **Starts SVT Play (swedish streaming)** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n se.svt.android.svtplay/se.svt.svtplay.tv.ui.StartupActivity ``` **Starts C More (swedish streaming)** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n se.cmore.bonnier/.androidtv.splash.TvConfigurationActivity ``` **Starts ViaPlay (swedish streaming)** ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n com.viaplay.android/.features.home.HomeActivity ``` ___ ## Starts specific Twitch stream (If stream is live) -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,8 +27,7 @@ command: >- ``` entity_id: media_player.shield command: am start -a android.intent.action.VIEW -n android.intent.action.VIEW -d -n com.netflix.ninja/.MainActivity ``` **Starts TV4 Play (swedish streaming)** ``` -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -108,7 +108,7 @@ ___ Not tested my self, but tips from *https://gist.github.com/JeffLIrion* ``` entity_id: media_player.fire_tv_living_room command: pm install -r /sdcard/Download/something.apk ``` ___ ## Shield navigation and controlling -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 4 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -141,105 +141,92 @@ command: >- entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.google.android.tv/com.android.tv.MainActivity ``` **Starts Amazon App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.amazon.amazonvideo.livingroom/com.amazon.ignition.IgnitionActivity ``` **Starts SPMC App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.semperpax.spmc17/.Splash ``` **Starts Haystack App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.haystack.android/.tv.ui.LoadingActivity ``` **Starts PBS App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.pbs.video/.ui.main.activities.StartupActivity ``` **Starts Pluto TV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n tv.pluto.android/.leanback.controller.LeanbackSplashOnboardActivity ``` **Starts Spotify App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.spotify.tv.android/.SpotifyTVActivity ``` **Starts HBO Go App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n eu.hbogo.androidtv.production/eu.hbogo.androidtv.MainActivity ``` **Starts Plex App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.plexapp.android/com.plexapp.plex.activities.SplashActivity ``` **Starts Perfect Player App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.niklabs.pp/com.niklabs.perfectplayer.MainActivity ``` **Starts S0undTV (twtich) App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.s0und.s0undtv/com.s0und.s0undtv.activities.MainActivity ``` **Starts SmartYoutubeTV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.liskovsoft.videomanager/com.liskovsoft.smartyoutubetv.bootstrap.BootstrapActivity ``` **Starts Steam Link App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.valvesoftware.steamlink/com.valvesoftware.steamlink.SteamShellActivity ``` **Starts Ziggo TV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.ziggo.tv/com.lgi.horizongo.core.activity.splash.SplashActivity ``` **Starts Tivimate/ImPlayer App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n ar.tvplayer.tv/.ui.MainActivity ``` ___ ## Show local video with KODI -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 119 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -130,33 +130,133 @@ ___ ## Intents i'm not using, but someone could have interest in. (Not tested by me, but tested by people in the Home Assistant Forum.) **Starts Hulu App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.hulu.livingroomplus/.MainActivity ``` **Starts Live Channels App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.google.android.tv/com.android.tv.MainActivity ``` **Starts Amazon App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.amazon.amazonvideo.livingroom/com.amazon.ignition.IgnitionActivity ``` **Starts SPMC App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.semperpax.spmc17/.Splash ``` **Starts Haystack App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.haystack.android/.tv.ui.LoadingActivity ``` **Starts PBS App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.pbs.video/.ui.main.activities.StartupActivity ``` **Starts Pluto TV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n tv.pluto.android/.leanback.controller.LeanbackSplashOnboardActivity ``` **Starts Spotify App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.spotify.tv.android/.SpotifyTVActivity ``` **Starts HBO Go App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n eu.hbogo.androidtv.production/eu.hbogo.androidtv.MainActivity ``` **Starts Plex App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.plexapp.android/com.plexapp.plex.activities.SplashActivity ``` **Starts Perfect Player App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.niklabs.pp/com.niklabs.perfectplayer.MainActivity ``` **Starts S0undTV (twtich) App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.s0und.s0undtv/com.s0und.s0undtv.activities.MainActivity ``` **Starts SmartYoutubeTV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.liskovsoft.videomanager/com.liskovsoft.smartyoutubetv.bootstrap.BootstrapActivity ``` **Starts Steam Link App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.valvesoftware.steamlink/com.valvesoftware.steamlink.SteamShellActivity ``` **Starts Ziggo TV App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.ziggo.tv/com.lgi.horizongo.core.activity.splash.SplashActivity ``` **Starts Tivimate/ImPlayer App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n ar.tvplayer.tv/.ui.MainActivity ``` ___ ## Show local video with KODI ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -d file:///storage/emulated/0/Android/data/files/sunrise.mp4 -n org.xbmc.kodi/.Splash ``` ## RTSP stream with VLC ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -d rtsp://user:[email protected]:XXX/Streaming/Channels/301 -n org.videolan.vlc/.gui.video.VideoPlayerActivity ``` ___ ## Intents to change the HDMI input on **TVs with Android TV built in** (@Thebuz) -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 18 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -58,41 +58,50 @@ command: >- ___ ## Starts specific Twitch stream (If stream is live) ``` entity_id: media_player.shield command: 'am start -a android.intent.action.VIEW -d twitch://stream/frenck' ``` ``` entity_id: media_player.shield command: 'am start -a android.intent.action.VIEW -d twitch://stream/drzzs' ``` ___ ## KILL apps on your Shield from Home Assistant **Kills YOUTUBE App** ``` entity_id: media_player.shield command: am force-stop com.google.android.youtube.tv ``` **Kills KODI App** ``` entity_id: media_player.shield command: am force-stop org.xbmc.kodi ``` **Kills TWITCH App** ``` entity_id: media_player.shield command: am force-stop tv.twitch.android.app ``` **Kills NETFLIX App** ``` entity_id: media_player.shield command: am force-stop com.netflix.ninja ``` **Kills SVT PLAY App** ``` entity_id: media_player.shield command: am force-stop se.svt.android.svtplay ``` **Kills TV4 PLAY App** ``` entity_id: media_player.shield command: am force-stop se.tv4.tv4playtab ``` **Kills C MORE App** ``` entity_id: media_player.shield command: am force-stop se.cmore.bonnier ``` ___ ## Install apps on your Android Device from Home Assistant -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 23 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,31 +13,47 @@ command: >- ``` **Starts Kodi** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n org.xbmc.kodi/.Splash ``` **Starts Twitch** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n tv.twitch.android.app/tv.twitch.android.apps.TwitchActivity ``` **Starts Netflix (Shows profiles if its the first start.)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n android.intent.action.VIEW -d -n com.netflix.ninja/.MainActivity ``` **Starts TV4 Play (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n se.tv4.tv4playtab/se.tv4.tv4play.startup.SplashActivity ``` **Starts SVT Play (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n se.svt.android.svtplay/se.svt.svtplay.tv.ui.StartupActivity ``` **Starts C More (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n se.cmore.bonnier/.androidtv.splash.TvConfigurationActivity ``` **Starts ViaPlay (swedish streaming)** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.viaplay.android/.features.home.HomeActivity ``` ___ ## Starts specific Twitch stream (If stream is live) -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr** ___ ## Start apps on your Shield from Home Assistant  **Starts Youtube App** ``` -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ___ ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -n com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.ShellActivity ``` **Starts Kodi** -
mcfrojd revised this gist
Mar 6, 2021 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,10 @@ ___ **Starts Youtube App** ``` entity_id: media_player.shield command: >- am start -a android.intent.action.VIEW -d -n com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.ShellActivity ``` **Starts Kodi** ``` -
mcfrojd revised this gist
Feb 15, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,8 +37,7 @@ ___ {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n com.viaplay.android/.features.home.HomeActivity"} ``` ___ ## Starts specific Twitch stream (If stream is live) ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d twitch://stream/frenck"} ``` -
mcfrojd revised this gist
Feb 15, 2021 . 1 changed file with 14 additions and 26 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,7 @@ ## Latest Update 2021-02-15 : Markdown cleanup and added some tips from the comments below. **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr** ___ ## Start apps on your Shield from Home Assistant  **Starts Youtube App** @@ -47,8 +46,7 @@ ___ {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d twitch://stream/drzzs"} ``` ___ ## KILL apps on your Shield from Home Assistant **Kills YOUTUBE App** ``` @@ -79,16 +77,14 @@ ___ {"entity_id" :"media_player.shield", "command": "am force-stop se.cmore.bonnier"} ``` ___ ## Install apps on your Android Device from Home Assistant Not tested my self, but tips from *https://gist.github.com/JeffLIrion* ``` entity_id: media_player.fire_tv_living_room command: "pm install -r /sdcard/Download/something.apk" ``` ___ ## Shield navigation and controlling ``` RIGHT {"entity_id" :"media_player.shield", "command": "RIGHT"} LEFT {"entity_id" :"media_player.shield", "command": "LEFT"} @@ -104,8 +100,7 @@ PAUSE {"entity_id" :"media_player.shield", "command": "input keyevent 127"} STOP {"entity_id" :"media_player.shield", "command": "input keyevent 86"} ``` ___ ## Intents i'm not using, but someone could have interest in. (Not tested by me, but tested by people in the Home Assistant Forum.) ``` @@ -128,18 +123,16 @@ Ziggo TV: {"entity_id" :"media_player.shield", "command": "am start -a Tivimate/ImPlayer: {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n ar.tvplayer.tv/.ui.MainActivity" } ``` ___ ## Show local video with KODI ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d file:///storage/emulated/0/Android/data/files/sunrise.mp4 -n org.xbmc.kodi/.Splash"} ``` ## RTSP stream with VLC ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d rtsp://user:[email protected]:XXX/Streaming/Channels/301 -n org.videolan.vlc/.gui.video.VideoPlayerActivity"} ``` ___ ## Intents to change the HDMI input on **TVs with Android TV built in** (@Thebuz) HW1-9 Represent various inputs, 1-4 maybe for composite etc. depending on the model of TV @@ -160,8 +153,7 @@ adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/p adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW8 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000 ``` ___ ## ADB commands to find out the intent from diffrent apps: (what is the command to use to start the app?) I got a lot of help from people in this thread: https://community.home-assistant.io/t/android-tv-hdmi/234411/28 @@ -200,8 +192,7 @@ adb shell pm dump com.viaplay.android | grep -A 1 "MAIN" | grep com.viaplay.andr ``` ___ ## Tested @tboyce1 command on my Shield and this is what i came up with: (command to list some of the intents thats running on your device) Source: https://community.home-assistant.io/t/community-hass-io-add-on-adb-android-debug-bridge/96375/23 @@ -243,15 +234,14 @@ And got this: - com.joaomgcd.join/.activity.ActivityMain - com.google.android.tv.remote.service/.settings.SettingsActivity - com.netflix.ninja/.MainActivity ___ ## My LoveLace Remote Card  You find all info and code here https://github.com/mcfrojd/hassio_lovelace_multiremote ___ ## Credit to @clapbr Sharing the method I've been using to use the search function on Shield directly from HA/Lovelace. Works well for a bunch of stuff, including Netflix (search example: "Vikings on Netflix") **configuration.yaml** @@ -282,12 +272,10 @@ input_text: type: call-service ``` ___ ## Credit to @JeffLIrion How to start a Wyze cam RTSP stream in VLC: ``` "dumpsys power | grep mWakefulness | grep -qv Awake && input keyevent 4; CURRENT_APP=$(dumpsys window windows | grep mCurrentFocus) && CURRENT_APP=${CURRENT_APP#*{* * } && CURRENT_APP=${CURRENT_APP%%/*} && if [ $CURRENT_APP != 'org.videolan.vlc' ]; then monkey -p org.videolan.vlc -c android.intent.category.LAUNCHER 1 && sleep 3; fi; am start -a android.intent.action.VIEW -d rtsp://USER:[email protected]/live" ``` Change the user, password, and IP address in the last part of that command. ___ -
mcfrojd revised this gist
Feb 15, 2021 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ ## Latest Update 2021-02-15 : Markdown cleanup and added some tips from the comments below. **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr** ___ ___ -
mcfrojd revised this gist
Feb 15, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ ### Latest Update 2021-02-15 : Markdown cleanup and added some tips from the comments below. ___ **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr** ___ ___ -
mcfrojd revised this gist
Feb 15, 2021 . 1 changed file with 128 additions and 74 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,70 +1,95 @@ ### Latest Update 2021-02-11 : Added how to run adb commands from "SSH & WebTerminal" add-on **Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr** ___ ___ ### Start apps on your Shield from Home Assistant  **Starts Youtube App** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.ShellActivity"} ``` **Starts Kodi** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n org.xbmc.kodi/.Splash"} ``` **Starts Twitch** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n tv.twitch.android.app/tv.twitch.android.apps.TwitchActivity"} ``` **Starts Netflix (Shows profiles if its the first start.)** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n com.netflix.ninja/.MainActivity"} ``` **Starts TV4 Play (swedish streaming)** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n se.tv4.tv4playtab/se.tv4.tv4play.startup.SplashActivity"} ``` **Starts SVT Play (swedish streaming)** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n se.svt.android.svtplay/se.svt.svtplay.tv.ui.StartupActivity"} ``` **Starts C More (swedish streaming)** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n se.cmore.bonnier/.androidtv.splash.TvConfigurationActivity"} ``` **Starts ViaPlay (swedish streaming)** ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n com.viaplay.android/.features.home.HomeActivity"} ``` ___ ___ ### Starts specific Twitch stream (If stream is live) ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d twitch://stream/frenck"} ``` ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d twitch://stream/drzzs"} ``` ___ ___ ### KILL apps on your Shield from Home Assistant **Kills YOUTUBE App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop com.google.android.youtube.tv"} ``` **Kills KODI App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop org.xbmc.kodi"} ``` **Kills TWITCH App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop tv.twitch.android.app"} ``` **Kills NETFLIX App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop com.netflix.ninja"} ``` **Kills SVT PLAY App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop se.svt.android.svtplay"} ``` **Kills TV4 PLAY App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop se.tv4.tv4playtab"} ``` **Kills C MORE App** ``` {"entity_id" :"media_player.shield", "command": "am force-stop se.cmore.bonnier"} ``` ___ ___ ### Install apps on your Android Device from Home Assistant Not tested my self, but tips from *https://gist.github.com/JeffLIrion* ``` entity_id: media_player.fire_tv_living_room command: "pm install -r /sdcard/Download/something.apk" ``` ___ ___ ### Shield navigation and controlling ``` RIGHT {"entity_id" :"media_player.shield", "command": "RIGHT"} LEFT {"entity_id" :"media_player.shield", "command": "LEFT"} @@ -79,8 +104,9 @@ PLAY {"entity_id" :"media_player.shield", "command": "input keyevent 126"} PAUSE {"entity_id" :"media_player.shield", "command": "input keyevent 127"} STOP {"entity_id" :"media_player.shield", "command": "input keyevent 86"} ``` ___ ___ ### Intents i'm not using, but someone could have interest in. (Not tested by me, but tested by people in the Home Assistant Forum.) ``` @@ -101,47 +127,61 @@ Steam Link (start): {"entity_id" :"media_player.shield", "command": "am start -a Steam Link (stop): {"entity_id" :"media_player.shield", "command": "am force-stop com.valvesoftware.steamlink" } Ziggo TV: {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n com.ziggo.tv/com.lgi.horizongo.core.activity.splash.SplashActivity" } Tivimate/ImPlayer: {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d -n ar.tvplayer.tv/.ui.MainActivity" } ``` ___ ___ ### Show local video with KODI ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d file:///storage/emulated/0/Android/data/files/sunrise.mp4 -n org.xbmc.kodi/.Splash"} ``` ### RTSP stream with VLC ``` {"entity_id" :"media_player.shield", "command": "am start -a android.intent.action.VIEW -d rtsp://user:[email protected]:XXX/Streaming/Channels/301 -n org.videolan.vlc/.gui.video.VideoPlayerActivity"} ``` ___ ___ ### Intents to change the HDMI input on **TVs with Android TV built in** (@Thebuz) HW1-9 Represent various inputs, 1-4 maybe for composite etc. depending on the model of TV **HDMI 1** ``` adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW5 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000 ``` **HDMI 2** ``` adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW6 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000 ``` **HDMI 3** ``` adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW7 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000 ``` **HDMI 4** ``` adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/passthrough/com.mediatek.tvinput%2F.hdmi.HDMIInputService%2FHW8 -n org.droidtv.playtv/.PlayTvActivity -f 0x10000000 ``` ___ ___ ### ADB commands to find out the intent from diffrent apps: (what is the command to use to start the app?) I got a lot of help from people in this thread: https://community.home-assistant.io/t/android-tv-hdmi/234411/28 **Use SSH & Web Terminal add-on in Home Assistant with "protection mode" off**  **First access the adb container:** ``` docker exec -it addon_a0d7b954_adb /bin/bash ``` **And the run the command:** ``` adb shell pm dump $package | grep -A 1 "MAIN" | grep $package | awk '{print $2}' | grep $package ``` (Replace $package with the app ID.) **Some pre filled commands for some popular apps** ``` adb shell pm dump org.xbmc.kodi | grep -A 1 "MAIN" | grep org.xbmc.kodi | awk '{print $2}' | grep org.xbmc.kodi @@ -160,18 +200,22 @@ adb shell pm dump se.cmore.bonnier | grep -A 1 "MAIN" | grep se.cmore.bonnier | adb shell pm dump com.viaplay.android | grep -A 1 "MAIN" | grep com.viaplay.android | awk '{print $2}' | grep com.viaplay.android ``` ___ ___ ### Tested @tboyce1 command on my Shield and this is what i came up with: (command to list some of the intents thats running on your device) Source: https://community.home-assistant.io/t/community-hass-io-add-on-adb-android-debug-bridge/96375/23 **Use SSH & Web Terminal add-on in Home Assistant with "protection mode" off**  **First access the adb container:** ``` docker exec -it addon_a0d7b954_adb /bin/bash ``` **And the run the command:** ``` adb shell ``` @@ -200,24 +244,24 @@ And got this: - com.joaomgcd.join/.activity.ActivityMain - com.google.android.tv.remote.service/.settings.SettingsActivity - com.netflix.ninja/.MainActivity ___ ___ ### My LoveLace Remote Card  You find all info and code here https://github.com/mcfrojd/hassio_lovelace_multiremote ___ ___ ### Credit to @clapbr Sharing the method I've been using to use the search function on Shield directly from HA/Lovelace. Works well for a bunch of stuff, including Netflix (search example: "Vikings on Netflix") **configuration.yaml** ``` input_text: androidtv_search_input: name: Android Search ``` **scripts.yaml** ``` 'atvsearchscript': alias: Android TV Search @@ -227,7 +271,7 @@ scripts.yaml entity_id: media_player.shield service: androidtv.adb_command ``` **Lovelace raw** ``` - entities: - entity: input_text.androidtv_search_input @@ -237,4 +281,14 @@ Lovelace raw name: ' ' service: script.atvsearchscript type: call-service ``` ___ ___ ### Credit to @JeffLIrion How to start a Wyze cam RTSP stream in VLC: ``` "dumpsys power | grep mWakefulness | grep -qv Awake && input keyevent 4; CURRENT_APP=$(dumpsys window windows | grep mCurrentFocus) && CURRENT_APP=${CURRENT_APP#*{* * } && CURRENT_APP=${CURRENT_APP%%/*} && if [ $CURRENT_APP != 'org.videolan.vlc' ]; then monkey -p org.videolan.vlc -c android.intent.category.LAUNCHER 1 && sleep 3; fi; am start -a android.intent.action.VIEW -d rtsp://USER:[email protected]/live" ``` Change the user, password, and IP address in the last part of that command. ___ ___ -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #### Latest Update 2021-02-11 : Added how to run adb commands from "SSH & WebTerminal" add-on #### Credits and thanks: *Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr* --- -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 5 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -164,24 +164,17 @@ adb shell pm dump com.viaplay.android | grep -A 1 "MAIN" | grep com.viaplay.andr #### Tested @tboyce1 command on my Shield and this is what i came up with: (https://community.home-assistant.io/t/community-hass-io-add-on-adb-android-debug-bridge/96375/23) Use SSH & Web Terminal add-on with "protection mode" off  First access the adb container: ``` docker exec -it addon_a0d7b954_adb /bin/bash ``` And the run the command: ``` adb shell ``` ``` pm list packages | sed -e "s/package://" | while read x; do cmd package resolve-activity --brief $x | tail -n 1 | grep -v "No activity found"; done ``` -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -135,7 +135,7 @@ I got a lot of help from people in this thread: https://community.home-assistant --- #### ADB commands to find out the intent from diffrent apps: Use SSH & Web Terminal add-on with "protection mode" off  First access the adb container: ``` -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -137,6 +137,11 @@ I got a lot of help from people in this thread: https://community.home-assistant Use SSH & Web Terminal add-on with "protection mode" off  First access the adb container: ``` docker exec -it addon_a0d7b954_adb /bin/bash ``` And the run the command: ``` adb shell pm dump org.xbmc.kodi | grep -A 1 "MAIN" | grep org.xbmc.kodi | awk '{print $2}' | grep org.xbmc.kodi -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -135,7 +135,7 @@ I got a lot of help from people in this thread: https://community.home-assistant --- #### ADB commands to find out the intent from diffrent apps: Use SSH & Web Terminal add-on with "protection mode" off  ``` adb shell pm dump org.xbmc.kodi | grep -A 1 "MAIN" | grep org.xbmc.kodi | awk '{print $2}' | grep org.xbmc.kodi -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -133,8 +133,9 @@ adb shell am start -a android.intent.action.VIEW -d content://android.media.tv/p ``` I got a lot of help from people in this thread: https://community.home-assistant.io/t/android-tv-hdmi/234411/28 --- #### ADB commands to find out the intent from diffrent apps: Use SSH & Web Terminal add-on with "protection mode" off  ``` adb shell pm dump org.xbmc.kodi | grep -A 1 "MAIN" | grep org.xbmc.kodi | awk '{print $2}' | grep org.xbmc.kodi -
mcfrojd revised this gist
Feb 11, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -151,6 +151,8 @@ adb shell pm dump com.netflix.ninja | grep -A 1 "MAIN" | grep com.netflix.ninja adb shell pm dump se.cmore.bonnier | grep -A 1 "MAIN" | grep se.cmore.bonnier | awk '{print $2}' | grep se.cmore.bonnier adb shell pm dump com.viaplay.android | grep -A 1 "MAIN" | grep com.viaplay.android | awk '{print $2}' | grep com.viaplay.android ``` --- #### Tested @tboyce1 command on my Shield and this is what i came up with:
NewerOlder