Skip to content

Commit

Permalink
add more sources for android tv, apple tv, fire tv, and roku
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Oct 9, 2024
1 parent 2feadcf commit 4c6d135
Show file tree
Hide file tree
Showing 5 changed files with 732 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dist/universal-remote-card.min.js

Large diffs are not rendered by default.

31 changes: 29 additions & 2 deletions src/models/maps/android_tv/defaultSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,21 @@ export const androidTVDefaultSources: IElementConfig[] = [
},
icon: 'kijk',
},
{
type: 'button',
name: 'kodi',
tap_action: {
action: 'source',
source: 'org.xbmc.kodi',
},
icon: 'mdi:kodi',
},
{
type: 'button',
name: 'max',
tap_action: {
action: 'source',
source: 'market://launch?id=com.wbd.stream',
source: 'com.wbd.stream',
}, // BROKEN
icon: 'max',
},
Expand All @@ -110,7 +119,7 @@ export const androidTVDefaultSources: IElementConfig[] = [
},
{
type: 'button',
name: 'npo_start',
name: 'npostart',
tap_action: {
action: 'source',
source: 'nl.uitzendinggemist',
Expand All @@ -127,6 +136,12 @@ export const androidTVDefaultSources: IElementConfig[] = [
},
icon: 'nrktv',
},
{
type: 'button',
name: 'pandora',
tap_action: { action: 'source', source: 'com.pandora.android.atv' },
icon: 'mdi:pandora',
},
{
type: 'button',
name: 'paramount',
Expand Down Expand Up @@ -184,6 +199,12 @@ export const androidTVDefaultSources: IElementConfig[] = [
tap_action: { action: 'source', source: 'https://www.starplus.com' },
icon: 'starplus',
},
{
type: 'button',
name: 'steam',
tap_action: { action: 'source', source: 'com.valvesoftware.steamlink' },
icon: 'mdi:steam',
},
{
type: 'button',
name: 'stremio',
Expand Down Expand Up @@ -220,6 +241,12 @@ export const androidTVDefaultSources: IElementConfig[] = [
tap_action: { action: 'source', source: 'videoland-v2://' },
icon: 'videoland',
},
{
type: 'button',
name: 'vlc',
tap_action: { action: 'source', source: 'org.videolan.vlc' },
icon: 'mdi:vlc',
},
{
type: 'button',
name: 'vudu',
Expand Down
198 changes: 195 additions & 3 deletions src/models/maps/apple_tv/defaultSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,31 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
{
type: 'button',
name: 'discovery',
name: 'crunchyroll',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Crunchyroll',
},
},
icon: 'crunchyroll',
},
{
type: 'button',
name: 'dazn',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'DAZN',
},
},
icon: 'dazn',
},
{
type: 'button',
name: 'discoveryplus',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
Expand All @@ -52,18 +76,78 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
icon: 'disney',
},
{
type: 'button',
name: 'emby',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Emby',
},
},
icon: 'mdi:emby',
},
{
type: 'button',
name: 'foxsports',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'FOX Sports',
},
},
icon: 'foxsports',
},
{
type: 'button',
name: 'hulu',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Hulu',
},
},
icon: 'mdi:hulu',
},
{
type: 'button',
name: 'max',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'HBO Max',
source: 'Max',
},
},
icon: 'max',
},
{
type: 'button',
name: 'mlbtv',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'MLB',
},
},
icon: 'mlbtv',
},
{
type: 'button',
name: 'nba',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'NBA',
},
},
icon: 'nba',
},
{
type: 'button',
name: 'netflix',
Expand All @@ -76,6 +160,18 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
icon: 'mdi:netflix',
},
{
type: 'button',
name: 'npostart',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'NPO',
},
},
icon: 'npo',
},
{
type: 'button',
name: 'nrktv',
Expand All @@ -88,6 +184,30 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
icon: 'nrktv',
},
{
type: 'button',
name: 'pandora',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Pandora',
},
},
icon: 'mdi:pandora',
},
{
type: 'button',
name: 'paramount',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Paramount+',
},
},
icon: 'paramount',
},
{
type: 'button',
name: 'plex',
Expand All @@ -107,11 +227,23 @@ export const appleTVDefaultSources: IElementConfig[] = [
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'YouTube',
source: 'Prime Video',
},
},
icon: 'primevideo',
},
{
type: 'button',
name: 'pia',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'PIA VPN',
},
},
icon: 'pia',
},
{
type: 'button',
name: 'skyshowtime',
Expand All @@ -136,6 +268,18 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
icon: 'mdi:spotify',
},
{
type: 'button',
name: 'steam',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Steam Link',
},
},
icon: 'mdi:steam',
},
{
type: 'button',
name: 'tv2play',
Expand All @@ -160,6 +304,42 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
icon: 'viaplay',
},
{
type: 'button',
name: 'videoland',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Videoland',
},
},
icon: 'videoland',
},
{
type: 'button',
name: 'vlc',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'VLC',
},
},
icon: 'mdi:vlc',
},
{
type: 'button',
name: 'vudu',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Fandango at Home',
},
},
icon: 'vudu',
},
{
type: 'button',
name: 'youtube',
Expand All @@ -172,4 +352,16 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
icon: 'mdi:youtube',
},
{
type: 'button',
name: 'youtubetv',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'YouTube TV',
},
},
icon: 'mdi:youtube-tv',
},
];
Loading

0 comments on commit 4c6d135

Please sign in to comment.