From 3b45a05fe06e2b7c620c31326114c0bfbb417ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Thu, 2 Sep 2021 18:21:43 +0200 Subject: [PATCH] WIP cast --- dist/plex-meets-homeassistant.js | 4 ++-- src/modules/PlayController.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 34afd6e..bafac95 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19343,12 +19343,12 @@ class PlayController { startURL += `&X-Plex-Chunked=1`; startURL += `&X-Plex-Product=Plex%20Cast`; startURL += `&X-Plex-Version=4.54.1`; - startURL += `&X-Plex-Client-Identifier=3ievywhylzj29yvxxjmoyq7h`; + startURL += `&X-Plex-Client-Identifier=CHANGE_ME`; startURL += `&X-Plex-Platform-Version=86.0`; startURL += `&X-Plex-Device=Android`; startURL += `&X-Plex-Device-Name=Chromecast`; startURL += `&X-Plex-Device-Screen-Resolution=1280x720%2C960x540`; - startURL += `&X-Plex-Token=transient-ba74f27d-1aae-4518-9047-b7fcfdd88dbb`; + startURL += `&X-Plex-Token=CHANGE_ME`; console.log(startURL); this.playViaCast(entity.value, startURL); } diff --git a/src/modules/PlayController.ts b/src/modules/PlayController.ts index 4bc3438..1872754 100644 --- a/src/modules/PlayController.ts +++ b/src/modules/PlayController.ts @@ -158,12 +158,12 @@ class PlayController { startURL += `&X-Plex-Chunked=1`; startURL += `&X-Plex-Product=Plex%20Cast`; startURL += `&X-Plex-Version=4.54.1`; - startURL += `&X-Plex-Client-Identifier=3ievywhylzj29yvxxjmoyq7h`; + startURL += `&X-Plex-Client-Identifier=CHANGE_ME`; startURL += `&X-Plex-Platform-Version=86.0`; startURL += `&X-Plex-Device=Android`; startURL += `&X-Plex-Device-Name=Chromecast`; startURL += `&X-Plex-Device-Screen-Resolution=1280x720%2C960x540`; - startURL += `&X-Plex-Token=transient-ba74f27d-1aae-4518-9047-b7fcfdd88dbb`; + startURL += `&X-Plex-Token=CHANGE_ME`; console.log(startURL); this.playViaCast(entity.value, startURL);