From cd56b337fc4b216263498c926108d1e2beca6326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Fri, 3 Sep 2021 11:50:21 +0200 Subject: [PATCH] Update: Warning message about live tv --- dist/plex-meets-homeassistant.js | 2 +- src/editor.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index e7c5d17..3176f20 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -20289,7 +20289,7 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { libraryItems.appendChild(addDropdownItem('Live TV', true)); lodash.forEach(lodash.keys(this.livetv), (livetv) => { if (lodash.isEqual(this.config.libraryName, livetv)) { - warningLibrary.textContent = `Warning: ${this.config.libraryName} play action currently not supported by Plex.`; + warningLibrary.innerHTML = `Warning: ${this.config.libraryName} play action currently only supported with Kodi.
You might also need custom build of kodi-media-sensors, see detailed configuration for more information.`; } libraryItems.appendChild(addDropdownItem(livetv)); }); diff --git a/src/editor.ts b/src/editor.ts index 0904995..12f5414 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -530,7 +530,7 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement { libraryItems.appendChild(addDropdownItem('Live TV', true)); _.forEach(_.keys(this.livetv), (livetv: string) => { if (_.isEqual(this.config.libraryName, livetv)) { - warningLibrary.textContent = `Warning: ${this.config.libraryName} play action currently not supported by Plex.`; + warningLibrary.innerHTML = `Warning: ${this.config.libraryName} play action currently only supported with Kodi.
You might also need custom build of kodi-media-sensors, see detailed configuration for more information.`; } libraryItems.appendChild(addDropdownItem(livetv)); });