"use strict"; const _ = browser.i18n.getMessage; 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/*" } , "CC32E753": { name: "Spotify" , matches: "https://open.spotify.com/*" } , "5E81F6DB": { name: "BBC iPlayer" , matches: "https://www.bbc.co.uk/iplayer/*" } , "03977A48": { name: "BBC Sounds" , matches: "https://www.bbc.co.uk/sounds/*" } , "AA666EDD": { name: "Crunchyroll" , matches: "https://crunchyroll.com/*" } , "10AAD887": { name: "All 4" , matches: "https://www.channel4.com/*" } , "B3DCF968": { name: "Twitch" , matches: "https://www.twitch.tv/*" } , "B88B034A": { name: "Dailymotion" , matches: "https://www.dailymotion.com/*" } // Misc , "17608BC8": { name: "Prime Video" } , "9AC194DC": { name: "Plex" } , "CD7B9F59": { name: "Global Player Live" } , "CC1AD845": { name: _("popupMediaTypeAppMedia") } } as Record;