Skip to content

Commit

Permalink
alphabetize default sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Oct 9, 2024
1 parent da522b4 commit 1270f64
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion dist/universal-remote-card.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/models/maps/android_tv/defaultSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ export const androidTVDefaultSources: IElementConfig[] = [
tap_action: { action: 'source', source: 'com.cbs.ott' },
icon: 'paramount',
},
{
type: 'button',
name: 'pia',
tap_action: { action: 'source', source: 'piavpn://' }, // UNTESTED
icon: 'pia',
},
{
type: 'button',
name: 'plex',
Expand All @@ -169,12 +175,6 @@ export const androidTVDefaultSources: IElementConfig[] = [
tap_action: { action: 'source', source: 'https://app.primevideo.com' },
icon: 'primevideo',
},
{
type: 'button',
name: 'pia',
tap_action: { action: 'source', source: 'piavpn://' }, // UNTESTED
icon: 'pia',
},
{
type: 'button',
name: 'rakutentv',
Expand Down
18 changes: 9 additions & 9 deletions src/models/maps/apple_tv/defaultSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,39 +222,39 @@ export const appleTVDefaultSources: IElementConfig[] = [
},
{
type: 'button',
name: 'plex',
name: 'pia',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Plex',
source: 'PIA VPN',
},
},
icon: 'mdi:plex',
icon: 'pia',
},
{
type: 'button',
name: 'primevideo',
name: 'plex',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'Prime Video',
source: 'Plex',
},
},
icon: 'primevideo',
icon: 'mdi:plex',
},
{
type: 'button',
name: 'pia',
name: 'primevideo',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'PIA VPN',
source: 'Prime Video',
},
},
icon: 'pia',
icon: 'primevideo',
},
{
type: 'button',
Expand Down
18 changes: 9 additions & 9 deletions src/models/maps/fire_tv/defaultSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,39 +210,39 @@ export const fireTVDefaultSources: IElementConfig[] = [
},
{
type: 'button',
name: 'plex',
name: 'pia',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'com.plexapp.android',
source: 'com.privateinternetaccess.android',
},
},
icon: 'mdi:plex',
icon: 'pia',
},
{
type: 'button',
name: 'primevideo',
name: 'plex',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'com.amazon.firebat',
source: 'com.plexapp.android',
},
},
icon: 'primevideo',
icon: 'mdi:plex',
},
{
type: 'button',
name: 'pia',
name: 'primevideo',
tap_action: {
action: 'perform-action',
perform_action: 'media_player.select_source',
data: {
source: 'com.privateinternetaccess.android',
source: 'com.amazon.firebat',
},
},
icon: 'pia',
icon: 'primevideo',
},
{
type: 'button',
Expand Down

0 comments on commit 1270f64

Please sign in to comment.