Start NHL on FireTV?

Anyone know how to start NHL on FireTV?

The NHL app com.nhl.gc1112.free won’t start with the media_player.select_source command. I assume there is a adb_command for it, but can’t figure it out.

Thanks!

ok think i figured it out thanks to a github script written by Matt Gyver https://github.com/mattgyver83/adbee

in this script there is an adb shell package inspection sequence that will find the name of the starting activity for any package:

function start_app {
# start_app <com.package.name>
    send_keyevent KEYCODE_WAKEUP
    packageIntent=$($adb_bin shell pm dump $package | grep -A 1 "MAIN" | grep $package | awk '{print $2}' | grep $package) 
    $adb_bin shell am start -n ${packageIntent::-1}

in doing this for NHL (and NBA apps) came up with the following activities to start:

    - icon: 'mdi:skate'
      type: service
      id: androidtv.adb_command
      data:
        entity_id: media_player.playroom_firetv
        command: >-
          am start -n
          com.nhl.gc1112.free/com.nhl.tv.launch.viewcontrollers.SplashActivity
    - icon: 'mdi:basketball'
      type: service
      id: androidtv.adb_command
      data:
        entity_id: media_player.playroom_firetv
        command: >-
          am start -n
          com.nbaimd.gametime.nba2011.amazon/com.neulion.MainActivity

i’m using the custom:mini-media-player