v1.6.4/appleTV

This commit is contained in:
2020-08-28 00:42:59 -04:00
parent 9cf0643ed8
commit f779c1fc90
6 changed files with 67 additions and 6 deletions
+2
View File
@@ -30,6 +30,7 @@ export const PLAYER_SOURCE = {
PEACOCK: 'peacocktv.',
GOOGLEPLAY: 'play.google.',
CRUNCHYROLL: 'crunchyroll.',
APPLE: 'tv.apple.',
LOCAL: 'localhost',
};
@@ -45,6 +46,7 @@ export const getPlayerSource = () => {
if (HREF.includes(PLAYER_SOURCE.PEACOCK)) return PLAYER_SOURCE.PEACOCK;
if (HREF.includes(PLAYER_SOURCE.GOOGLEPLAY)) return PLAYER_SOURCE.GOOGLEPLAY;
if (HREF.includes(PLAYER_SOURCE.CRUNCHYROLL)) return PLAYER_SOURCE.CRUNCHYROLL;
if (HREF.includes(PLAYER_SOURCE.APPLE)) return PLAYER_SOURCE.APPLE;
if (HREF.includes(PLAYER_SOURCE.LOCAL)) return PLAYER_SOURCE.LOCAL;
};