Rename directory: ext -> extension

This commit is contained in:
hensm
2023-02-26 18:21:59 +00:00
parent 33bcbc0dca
commit a9406fde11
119 changed files with 40 additions and 42 deletions

View File

@@ -0,0 +1,40 @@
const _ = browser.i18n.getMessage;
export interface KnownApp {
name: string;
matches?: string;
}
/**
* TODO: Just keep a list of IDs and cache names from the Google API:
* https://clients3.google.com/cast/chromecast/device/app?a=[appId]
*
* Also, localization since the API supports it.
*/
export default {
// Web-supported
"CA5E8412": { name: "Netflix", matches: "https://www.netflix.com/*" },
"233637DE": { name: "YouTube", matches: "https://www.youtube.com/*" },
"2DB7CC49": {
name: "YouTube Music",
matches: "https://music.youtube.com/*"
},
"CC32E753": { name: "Spotify", matches: "https://open.spotify.com/*" },
"2BA92214": {
name: "BBC iPlayer",
matches: "https://www.bbc.co.uk/iplayer*"
},
"B3DCF968": { name: "Twitch", matches: "https://www.twitch.tv/*" },
"B88B034A": {
name: "Dailymotion",
matches: "https://www.dailymotion.com/*"
},
"C3DE6BC2": { name: "Disney+", matches: "https://www.disneyplus.com/*" },
"B143C57E": { name: "SoundCloud", matches: "https://soundcloud.com/*" },
"10AAD887": { name: "All 4", matches: "https://www.channel4.com/*" },
// Misc
"9AC194DC": { name: "Plex" },
"CC1AD845": { name: _("popupMediaTypeAppMedia") }
} as Record<string, KnownApp>;