From 7973fa1336da3e347de6c2fdc01e1e4a84162268 Mon Sep 17 00:00:00 2001 From: Doug Nelson Date: Mon, 4 Nov 2024 18:50:20 -0600 Subject: [PATCH] November 2024 App Launchers v4.1.2 This version contains new and updated App Launchers Find the full launcher list here https://github.com/PRProd/HA-Firemote/wiki/Firemote-App-Launchers What's New: - App Launcher for 12+ (closes #542) - App Launcher for flow (closes #536) - App Launcher for MiTele (closes #537) - Roku launcher added for NOW TV (closes #539) - Apple TV launcher added for Sky Sport Now (closes #541) - App Launcher for Skylink SK (closes #543) - Apple TV launcher added for ThreeNow (closes #540) - App Launcher added for Viki (closes #535) What's Changed: - New Shield launcher code for Xfinity Stream (#538) Breaking Change: - Bally Sports is now Fanduel Sports Network - launcher is new Can't see these changes after updating? Visit this link: https://github.com/PRProd/HA-Firemote/wiki/Force-a-Refresh --- dist/HA-Firemote.js | 8 +- dist/launcher-buttons.js | 397 +++++++++++++++++++++++++++++++++------ 2 files changed, 340 insertions(+), 65 deletions(-) diff --git a/dist/HA-Firemote.js b/dist/HA-Firemote.js index c5cd12f..ac048ec 100644 --- a/dist/HA-Firemote.js +++ b/dist/HA-Firemote.js @@ -1,9 +1,9 @@ -const HAFiremoteVersion = 'v4.1.1'; +const HAFiremoteVersion = 'v4.1.2'; import {LitElement, html, css, unsafeHTML, unsafeCSS, styleMap} from './lit/lit-all.min.js'; -import {launcherData, launcherCSS} from "./launcher-buttons.js?version=v4.1.1"; -import {rosettaStone} from './language-translations.js?version=v4.1.1'; -import {devices} from './supported-devices.js?version=v4.1.1'; +import {launcherData, launcherCSS} from "./launcher-buttons.js?version=v4.1.2"; +import {rosettaStone} from './language-translations.js?version=v4.1.2'; +import {devices} from './supported-devices.js?version=v4.1.2'; console.groupCollapsed("%c 🔥 FIREMOTE-CARD 🔥 %c "+HAFiremoteVersion+" installed ", "color: orange; font-weight: bold; background: black", "color: green; font-weight: bold;"), console.log("Readme:", "https://github.com/PRProd/HA-Firemote"), diff --git a/dist/launcher-buttons.js b/dist/launcher-buttons.js index 53f6b5d..80d5938 100644 --- a/dist/launcher-buttons.js +++ b/dist/launcher-buttons.js @@ -1,4 +1,42 @@ const launcherData = { + + "12-plus": { + "button": '', + "friendlyName": "12+", + "className": "twelvePlusButton", + "deviceFamily": ["apple-tv", "chromecast", "homatics", "nvidia-shield", "onn", "xiaomi"], + "apple-tv": { + "appName": "12+", + }, + "chromecast": { + "appName": "com.keshet.mako.VODAndroidTV", + "androidName": "com.keshet.mako.VODAndroidTV", + "adbLaunchCommand": "adb shell am start -n com.keshet.mako.VODAndroidTV/com.keshet.mako.VODAndroidTV.controller.activitiesAndFragments.Activities.MainActivity", + }, + "homatics": { + "appName": "com.keshet.mako.VODAndroidTV", + "androidName": "com.keshet.mako.VODAndroidTV", + "adbLaunchCommand": "adb shell am start -n com.keshet.mako.VODAndroidTV/com.keshet.mako.VODAndroidTV.controller.activitiesAndFragments.Activities.MainActivity", + }, + "nvidia-shield": { + "appName": "com.keshet.mako.VODAndroidTV", + "androidName": "com.keshet.mako.VODAndroidTV", + "adbLaunchCommand": "adb shell am start -n com.keshet.mako.VODAndroidTV/com.keshet.mako.VODAndroidTV.controller.activitiesAndFragments.Activities.MainActivity", + }, + "onn": { + "appName": "com.keshet.mako.VODAndroidTV", + "androidName": "com.keshet.mako.VODAndroidTV", + "adbLaunchCommand": "adb shell am start -n com.keshet.mako.VODAndroidTV/com.keshet.mako.VODAndroidTV.controller.activitiesAndFragments.Activities.MainActivity", + }, + "xiaomi": { + "appName": "com.keshet.mako.VODAndroidTV", + "androidName": "com.keshet.mako.VODAndroidTV", + "adbLaunchCommand": "adb shell am start -n com.keshet.mako.VODAndroidTV/com.keshet.mako.VODAndroidTV.controller.activitiesAndFragments.Activities.MainActivity", + }, + }, + + + "13news-now-wvec": { "button": '', "button-round": '', @@ -620,52 +658,6 @@ const launcherData = { }, - "bally-sports": { - "button": '', - "button-round": '', - "friendlyName": 'Bally Sports', - "className": "ballySportsButton", - "deviceFamily": ["amazon-fire", "apple-tv", "chromecast", "homatics", "nvidia-shield", "onn", "roku", "xiaomi"], - "amazon-fire": { - "appName": "com.foxsports.dssgo", - "androidName": "com.foxsports.dssgo", - "adbLaunchCommand": "adb shell am start -n com.foxsports.dssgo/com.ballysports.tv.ui.screens.main.TvMainActivity", - }, - "apple-tv": { - "appName": "BallySportsTV", - }, - "chromecast": { - "appName": "com.foxsports.videogo", - "androidName": "com.foxsports.videogo", - "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", - }, - "homatics": { - "appName": "com.foxsports.videogo", - "androidName": "com.foxsports.videogo", - "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", - }, - "nvidia-shield": { - "appName": "com.foxsports.videogo", - "androidName": "com.foxsports.videogo", - "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", - }, - "onn": { - "appName": "com.foxsports.videogo", - "androidName": "com.foxsports.videogo", - "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", - }, - "roku": { - "appName": 'Bally Sports', - "app-id": 285486, - }, - "xiaomi": { - "appName": "com.foxsports.videogo", - "androidName": "com.foxsports.videogo", - "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", - }, - }, - - "b-tv": { "button": '', "friendlyName": 'B tv', @@ -2423,6 +2415,52 @@ const launcherData = { }, + "fanduel-sports-network": { + "button": '', + "button-round": '', + "friendlyName": 'Fanduel Sports Network', + "className": "fanduelSportsNetworkButton", + "deviceFamily": ["amazon-fire", "apple-tv", "chromecast", "homatics", "nvidia-shield", "onn", "roku", "xiaomi"], + "amazon-fire": { + "appName": "com.foxsports.dssgo", + "androidName": "com.foxsports.dssgo", + "adbLaunchCommand": "adb shell am start -n com.foxsports.dssgo/com.ballysports.tv.ui.screens.main.TvMainActivity", + }, + "apple-tv": { + "appName": "FanDuel Sports Network", + }, + "chromecast": { + "appName": "com.foxsports.videogo", + "androidName": "com.foxsports.videogo", + "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", + }, + "homatics": { + "appName": "com.foxsports.videogo", + "androidName": "com.foxsports.videogo", + "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", + }, + "nvidia-shield": { + "appName": "com.foxsports.videogo", + "androidName": "com.foxsports.videogo", + "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", + }, + "onn": { + "appName": "com.foxsports.videogo", + "androidName": "com.foxsports.videogo", + "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", + }, + "roku": { + "appName": 'FanDuel Sports Network', + "app-id": 285486, + }, + "xiaomi": { + "appName": "com.foxsports.videogo", + "androidName": "com.foxsports.videogo", + "adbLaunchCommand": "adb shell am start -n com.foxsports.videogo/com.ballysports.tv.ui.screens.main.TvMainActivity", + }, + }, + + "fioptics-plus": { "button": '', "friendlyName": "Fioptics+", @@ -2482,6 +2520,45 @@ const launcherData = { "deviceFamily": ["apple-tv"], }, + "flow": { + "button": '', + "button-round": '', + "friendlyName": "flow", + "className": "flowButton", + "deviceFamily": ["amazon-fire", "chromecast", "homatics", "nvidia-shield", "onn", "xiaomi"], + "amazon-fire": { + "appName": "ar.com.flow.androidtv", + "androidName": "ar.com.flow.androidtv", + "adbLaunchCommand": "adb shell am start -n ar.com.flow.androidtv/.base.view.BaseActivity", + }, + "chromecast": { + "appName": "ar.com.flow.androidtv", + "androidName": "ar.com.flow.androidtv", + "adbLaunchCommand": "adb shell am start -n ar.com.flow.androidtv/.base.view.BaseActivity", + }, + "homatics": { + "appName": "ar.com.flow.androidtv", + "androidName": "ar.com.flow.androidtv", + "adbLaunchCommand": "adb shell am start -n ar.com.flow.androidtv/.base.view.BaseActivity", + }, + "nvidia-shield": { + "appName": "ar.com.flow.androidtv", + "androidName": "ar.com.flow.androidtv", + "adbLaunchCommand": "adb shell am start -n ar.com.flow.androidtv/.base.view.BaseActivity", + }, + "onn": { + "appName": "ar.com.flow.androidtv", + "androidName": "ar.com.flow.androidtv", + "adbLaunchCommand": "adb shell am start -n ar.com.flow.androidtv/.base.view.BaseActivity", + }, + "xiaomi": { + "appName": "ar.com.flow.androidtv", + "androidName": "ar.com.flow.androidtv", + "adbLaunchCommand": "adb shell am start -n ar.com.flow.androidtv/.base.view.BaseActivity", + }, + }, + + "fotoo": { "button": '', "friendlyName": "Fotoo", @@ -4086,6 +4163,48 @@ const launcherData = { }, + "mitele": { + "button": '', + "button-round": '', + "friendlyName": "MiTele", + "className": "miTeleButton", + "deviceFamily": ["amazon-fire", "apple-tv", "chromecast", "homatics", "nvidia-shield", "onn", "xiaomi"], + "amazon-fire": { + "appName": "tv.accedo.mitele_xdk", + "androidName": "tv.accedo.mitele_xdk", + "adbLaunchCommand": "adb shell am start -n tv.accedo.mitele_xdk/es.mediaset.apptv.ui.splash.SplashActivity", + }, + "apple-tv": { + "appName": "MiteleTV", + }, + "chromecast": { + "appName": "tv.accedo.mitele_xdk", + "androidName": "tv.accedo.mitele_xdk", + "adbLaunchCommand": "adb shell am start -n tv.accedo.mitele_xdk/es.mediaset.apptv.ui.splash.SplashActivity", + }, + "homatics": { + "appName": "tv.accedo.mitele_xdk", + "androidName": "tv.accedo.mitele_xdk", + "adbLaunchCommand": "adb shell am start -n tv.accedo.mitele_xdk/es.mediaset.apptv.ui.splash.SplashActivity", + }, + "nvidia-shield": { + "appName": "tv.accedo.mitele_xdk", + "androidName": "tv.accedo.mitele_xdk", + "adbLaunchCommand": "adb shell am start -n tv.accedo.mitele_xdk/es.mediaset.apptv.ui.splash.SplashActivity", + }, + "onn": { + "appName": "tv.accedo.mitele_xdk", + "androidName": "tv.accedo.mitele_xdk", + "adbLaunchCommand": "adb shell am start -n tv.accedo.mitele_xdk/es.mediaset.apptv.ui.splash.SplashActivity", + }, + "xiaomi": { + "appName": "tv.accedo.mitele_xdk", + "androidName": "tv.accedo.mitele_xdk", + "adbLaunchCommand": "adb shell am start -n tv.accedo.mitele_xdk/es.mediaset.apptv.ui.splash.SplashActivity", + }, + }, + + "mlb": { "button": '', "friendlyName": "MLB", @@ -4963,9 +5082,9 @@ const launcherData = { "now-tv": { "button": '', - "friendlyName": "Now", + "friendlyName": "NOW", "className": "nowTVButton", - "deviceFamily": ["amazon-fire", "apple-tv"], + "deviceFamily": ["amazon-fire", "apple-tv", "roku"], "amazon-fire": { "appName": "NOW", "androidName": "com.bskyb.nowtv.beta", @@ -4974,6 +5093,10 @@ const launcherData = { "apple-tv": { "appName": "NOW", }, + "roku": { + "appName": 'NOW', + "app-id": 20242, + }, }, @@ -6568,12 +6691,39 @@ const launcherData = { "sky-sport-now": { "button": '', + "button-round": '', "friendlyName": "Sky Sport Now (NZ)", "className": "skySportNowButton", - "appName": "nz.co.skytv.fanpass.ced", - "androidName": "nz.co.skytv.fanpass.ced", - "adbLaunchCommand": "adb shell am start -n nz.co.skytv.fanpass.ced/com.dicetv.MainActivity", - "deviceFamily": ["amazon-fire", "chromecast", "homatics", "nvidia-shield", "xiaomi"], }, + "deviceFamily": ["amazon-fire", "apple-tv", "chromecast", "homatics", "nvidia-shield", "xiaomi"], + "amazon-fire": { + "appName": "nz.co.skytv.fanpass.ced", + "androidName": "nz.co.skytv.fanpass.ced", + "adbLaunchCommand": "adb shell am start -n nz.co.skytv.fanpass.ced/com.dicetv.MainActivity", + }, + "apple-tv": { + "appName": "Sky Sport Now", + }, + "chromecast": { + "appName": "nz.co.skytv.fanpass.ced", + "androidName": "nz.co.skytv.fanpass.ced", + "adbLaunchCommand": "adb shell am start -n nz.co.skytv.fanpass.ced/com.dicetv.MainActivity", + }, + "homatics": { + "appName": "nz.co.skytv.fanpass.ced", + "androidName": "nz.co.skytv.fanpass.ced", + "adbLaunchCommand": "adb shell am start -n nz.co.skytv.fanpass.ced/com.dicetv.MainActivity", + }, + "nvidia-shield": { + "appName": "nz.co.skytv.fanpass.ced", + "androidName": "nz.co.skytv.fanpass.ced", + "adbLaunchCommand": "adb shell am start -n nz.co.skytv.fanpass.ced/com.dicetv.MainActivity", + }, + "xiaomi": { + "appName": "nz.co.skytv.fanpass.ced", + "androidName": "nz.co.skytv.fanpass.ced", + "adbLaunchCommand": "adb shell am start -n nz.co.skytv.fanpass.ced/com.dicetv.MainActivity", + }, +}, "sky-q": { @@ -6587,6 +6737,43 @@ const launcherData = { }, + "skylink-sk": { + "button": '', + "button-round": '', + "friendlyName": "Skylink SK", + "className": "skylinkSKButton", + "deviceFamily": ["apple-tv", "chromecast", "homatics", "nvidia-shield", "onn", "xiaomi"], + "apple-tv": { + "appName": "Skylink SK", + }, + "chromecast": { + "appName": "nl.streamgroup.skylinksk", + "androidName": "nl.streamgroup.skylinksk", + "adbLaunchCommand": "adb shell am start -n nl.streamgroup.skylinksk/tv.solocoo.htmlapp.FullscreenActivity", + }, + "homatics": { + "appName": "nl.streamgroup.skylinksk", + "androidName": "nl.streamgroup.skylinksk", + "adbLaunchCommand": "adb shell am start -n nl.streamgroup.skylinksk/tv.solocoo.htmlapp.FullscreenActivity", + }, + "nvidia-shield": { + "appName": "nl.streamgroup.skylinksk", + "androidName": "nl.streamgroup.skylinksk", + "adbLaunchCommand": "adb shell am start -n nl.streamgroup.skylinksk/tv.solocoo.htmlapp.FullscreenActivity", + }, + "onn": { + "appName": "nl.streamgroup.skylinksk", + "androidName": "nl.streamgroup.skylinksk", + "adbLaunchCommand": "adb shell am start -n nl.streamgroup.skylinksk/tv.solocoo.htmlapp.FullscreenActivity", + }, + "xiaomi": { + "appName": "nl.streamgroup.skylinksk", + "androidName": "nl.streamgroup.skylinksk", + "adbLaunchCommand": "adb shell am start -n nl.streamgroup.skylinksk/tv.solocoo.htmlapp.FullscreenActivity", + }, +}, + + "sling": { "button": '', "friendlyName": "Sling", @@ -7696,9 +7883,31 @@ const launcherData = { "button": '', "friendlyName": "Three Now (NZ)", "className": "threenowButton", - "appName": "com.mediaworks.android.tv", - "androidName": "com.mediaworks.android.tv", - "deviceFamily": ["amazon-fire", "chromecast", "homatics", "nvidia-shield", "xiaomi"], }, + "deviceFamily": ["amazon-fire", "apple-tv", "chromecast", "homatics", "nvidia-shield", "xiaomi"], + "amazon-fire": { + "appName": "com.mediaworks.android.tv", + "androidName": "com.mediaworks.android.tv", + }, + "apple-tv": { + "appName": "ThreeNow", + }, + "chromecast": { + "appName": "com.mediaworks.android.tv", + "androidName": "com.mediaworks.android.tv", + }, + "homatics": { + "appName": "com.mediaworks.android.tv", + "androidName": "com.mediaworks.android.tv", + }, + "nvidia-shield": { + "appName": "com.mediaworks.android.tv", + "androidName": "com.mediaworks.android.tv", + }, + "xiaomi": { + "appName": "com.mediaworks.android.tv", + "androidName": "com.mediaworks.android.tv", + }, +}, "tidal": { @@ -8346,6 +8555,52 @@ const launcherData = { }, + "viki": { + "button": '', + "button-round": '', + "friendlyName": "Viki", + "className": "vikiButton", + "deviceFamily": ["amazon-fire", "apple-tv", "chromecast", "homatics", "nvidia-shield", "onn", "roku", "xiaomi"], + "amazon-fire": { + "appName": "com.viki.kindle", + "androidName": "com.viki.kindle", + "adbLaunchCommand": "adb shell am start -n com.viki.kindle/com.viki.android.ui.splash.SplashActivity", + }, + "apple-tv": { + "appName": "Viki", + }, + "chromecast": { + "appName": "Rakuten Viki", + "androidName": "com.viki.android", + "adbLaunchCommand": "adb shell am start -n com.viki.android/.ui.splash.SplashActivity", + }, + "homatics": { + "appName": "Rakuten Viki", + "androidName": "com.viki.android", + "adbLaunchCommand": "adb shell am start -n com.viki.android/.ui.splash.SplashActivity", + }, + "nvidia-shield": { + "appName": "Rakuten Viki", + "androidName": "com.viki.android", + "adbLaunchCommand": "adb shell am start -n com.viki.android/.ui.splash.SplashActivity", + }, + "onn": { + "appName": "Rakuten Viki", + "androidName": "com.viki.android", + "adbLaunchCommand": "adb shell am start -n com.viki.android/.ui.splash.SplashActivity", + }, + "roku": { + "appName": 'Viki', + "app-id": 48537, + }, + "xiaomi": { + "appName": "Rakuten Viki", + "androidName": "com.viki.android", + "adbLaunchCommand": "adb shell am start -n com.viki.android/.ui.splash.SplashActivity", + }, + }, + + "vivo-play": { "button": '', "friendlyName": "Vivo Play", @@ -8733,8 +8988,8 @@ const launcherData = { "adbLaunchCommand": "adb shell am start -n com.xfinity.cloudtvr.tenfoot/com.xfinity.common.view.LaunchActivity", }, "nvidia-shield": { - "appName": "com.xfinity.cloudtvr.tenfoot", - "androidName": "com.xfinity.cloudtvr.tenfoot", + "appName": "com.xfinity.cloudtvr", + "androidName": "com.xfinity.cloudtvr", }, "roku": { "appName": 'Xfinity Stream', @@ -9370,6 +9625,10 @@ const launcherData = { }; const launcherCSS = ` + .twelvePlusButton { + background: radial-gradient(circle at top, rgba(142, 122, 181, 1) 2%, rgba(35, 23, 48, 1) 90%); + } + .thirteenNewsNowWVECButton { background: #0550ab; } @@ -9506,10 +9765,6 @@ const launcherCSS = ` background: #fff; } - .ballySportsButton { - background: #ea0001; - } - .bTVButton { background: #fff; } @@ -9773,6 +10028,10 @@ const launcherCSS = ` background: #fff; } + .fanduelSportsNetworkButton { + background: #0078ff; + } + .fDroidutton { background: #fff; } @@ -9800,6 +10059,10 @@ const launcherCSS = ` background: #0049ff; } + .flowButton { + background: #000; + } + .fotooButton { background: #705f4b; } @@ -10078,6 +10341,10 @@ const launcherCSS = ` background: linear-gradient(90deg, rgba(66,185,194,1) 0%, rgba(27,86,120,1) 100%); } + .miTeleButton { + background: #1d1d1b; + } + .mlbButton { background: #fff; } @@ -10501,6 +10768,10 @@ const launcherCSS = ` background: #fff; } + .skylinkSKButton { + background: #fe2a00; + } + .slingButton { background: linear-gradient(90deg, rgba(0,16,65,1) 0%, rgba(0,51,179,1) 75%); } @@ -10815,6 +11086,10 @@ const launcherCSS = ` background: linear-gradient(135deg, rgba(120,0,157,1) 32%, rgba(213,34,142,1) 75%, rgba(255,151,0,1) 91%); } + .vikiButton { + background: #0c9bff; + } + .vlcButton { background: #fff; }