Skip to content

Commit

Permalink
2 New App Shortcuts
Browse files Browse the repository at this point in the history
Added two new app shortcuts:
 - Surfshark VPN #53 (added to Fire TV and NVIDIA Shield)
 - Stremio #54 (added to Fire TV and NVIDIA Shield)
  • Loading branch information
PRProd committed Mar 21, 2023
1 parent 885f34e commit b0f5b03
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions HA-Firemote.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,31 @@ const fastappchoices = {
"deviceFamily": ["nvidia-shield"], },


"stremio": {
"button": "Stremio",
"friendlyName": "Stremio",
"className": "stremioButton",
"appName": "com.stremio.one",
"androidName": "com.stremio.one",
"deviceFamily": ["amazon-fire", "nvidia-shield"],
"amazon-fire": {
"adbLaunchCommand": "adb shell am start -n com.stremio.one/com.stremio.MainActivity",
},
"nvidia-shield": {
"adbLaunchCommand": "adb shell am start -n com.stremio.one/com.stremio.tv.MainActivity",
},
},


"surfshark-vpn": {
"button": "Surfshark",
"friendlyName": "Surfshark VPN",
"className": "surfsharkButton",
"appName": "com.surfshark.vpnclient.android",
"androidName": "com.surfshark.vpnclient.android",
"deviceFamily": ["amazon-fire", "nvidia-shield"], },


"tennis-channel": {
"button": "TENNIS CHANNEL",
"friendlyName": "Tennis Channel",
Expand Down Expand Up @@ -1745,6 +1770,29 @@ class FiremoteCard extends LitElement {
filter: none;
}
.stremioButton {
font-size: calc(var(--sz) * 1rem);
color: #fff;
background: #8959ab;
filter: grayscale(30%) brightness(50%);
}
.stremioButton:active, .stremioButton.appActive {
box-shadow: 0 0 calc(var(--sz) * 0.857rem) calc(var(--sz) * 0.142rem) rgb(255 255 255 / 20%);
filter: none;
}
.surfsharkButton {
font-size: calc(var(--sz) * 0.8rem);
font-weight: bold;
color: #fff;
background: linear-gradient(45deg,#1bb4b7 0,#1f3c6a 100%);
filter: grayscale(30%) brightness(50%);
}
.surfsharkButton:active, .surfsharkButton.appActive {
box-shadow: 0 0 calc(var(--sz) * 0.857rem) calc(var(--sz) * 0.142rem) rgb(255 255 255 / 20%);
filter: none;
}
.tennisChannelButton {
color: #919191;
font-size: calc(var(--sz) * 0.57rem);
Expand Down

0 comments on commit b0f5b03

Please sign in to comment.