From 5683870a880d322918ad406c7977dba91e981970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Fri, 3 Sep 2021 00:21:41 +0200 Subject: [PATCH] More cleanup --- dist/plex-meets-homeassistant.js | 2 +- src/modules/PlayController.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 9f1b094..e7c5d17 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19620,7 +19620,7 @@ class PlayController { // eslint-disable-next-line @typescript-eslint/camelcase entity_id: entityName, // eslint-disable-next-line @typescript-eslint/camelcase - media_content_type: 'video', + media_content_type: contentType, // eslint-disable-next-line @typescript-eslint/camelcase media_content_id: this.plex.authorizeURL(`${this.plex.getBasicURL()}${mediaLink}`) }); diff --git a/src/modules/PlayController.ts b/src/modules/PlayController.ts index 0dc0193..83b391c 100644 --- a/src/modules/PlayController.ts +++ b/src/modules/PlayController.ts @@ -351,7 +351,7 @@ class PlayController { // eslint-disable-next-line @typescript-eslint/camelcase entity_id: entityName, // eslint-disable-next-line @typescript-eslint/camelcase - media_content_type: 'video', + media_content_type: contentType, // eslint-disable-next-line @typescript-eslint/camelcase media_content_id: this.plex.authorizeURL(`${this.plex.getBasicURL()}${mediaLink}`) });