From 02a23427100286c3dbc4866d9c140ad1bf7ebe0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Fri, 3 Sep 2021 00:07:55 +0200 Subject: [PATCH] Cleanup --- dist/plex-meets-homeassistant.js | 5 ++--- src/modules/PlayController.ts | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 4dc7475..b3c5a59 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19417,7 +19417,7 @@ class PlayController { await this.playViaAndroidTV(entity.value, streamLink, instantPlay, provider); } else { - await this.playViaAndroidTV(entity.value, processData.guid, instantPlay, provider); + await this.playViaAndroidTV(entity.value, processData.key, instantPlay, provider); } break; case 'plexPlayer': @@ -19796,8 +19796,7 @@ class PlayController { hasKodiMediaSearchInstalled) || (!lodash.isEqual(this.runBefore, false) && hasKodiMediaSearchInstalled)); } - return true; // temp - // return false; + return false; }; this.isCastSupported = (entityName) => { return ((this.hass.states[entityName] && diff --git a/src/modules/PlayController.ts b/src/modules/PlayController.ts index 5254f88..d42f2f4 100644 --- a/src/modules/PlayController.ts +++ b/src/modules/PlayController.ts @@ -136,7 +136,7 @@ class PlayController { await this.playViaAndroidTV(entity.value, streamLink, instantPlay, provider); } else { - await this.playViaAndroidTV(entity.value, processData.guid, instantPlay, provider); + await this.playViaAndroidTV(entity.value, processData.key, instantPlay, provider); } break; @@ -565,8 +565,7 @@ class PlayController { (!_.isEqual(this.runBefore, false) && hasKodiMediaSearchInstalled) ); } - return true; // temp - // return false; + return false; }; private isCastSupported = (entityName: string): boolean => {