From e6e9971046e99b3b32102abe3bc70479a5799751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Nyi=CC=81ri?= Date: Mon, 7 Jun 2021 00:32:27 +0200 Subject: [PATCH] Update: Readme instructions about deck --- README.md | 4 +++- dist/plex-meets-homeassistant.js | 2 +- src/plex-meets-homeassistant.ts | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4f23104..a060ed4 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ More images [at the end of the readme](https://github.com/JurajNyiri/PlexMeetsHo **port**: Enter port of your plex sever. +**libraryName**: Name of the library you wish to render. Available special libraries: _Deck_ + **protocol**: _Optional_ Protocol to use for Plex. Defaults to "http". **maxCount**: _Optional_ Maximum number of items to display in card. @@ -67,7 +69,7 @@ type: 'custom:plex-meets-homeassistant' token: QWdsqEXAMPLETOKENqwerty ip: 192.168.13.37 port: 32400 -libraryName: Movies +libraryName: Deck protocol: http maxCount: 10 sort: title:desc diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 5839e2a..e0506d9 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19870,7 +19870,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { lodash.forEach(plexSections, section => { this.data[section.title1] = section.Metadata; }); - this.data.deck = continueWatching.MediaContainer.Metadata; + this.data.Deck = continueWatching.MediaContainer.Metadata; if (this.data[this.config.libraryName] === undefined) { this.error = `Library name ${this.config.libraryName} does not exist.`; } diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index cda22a6..db958ef 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -151,7 +151,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.data[section.title1] = section.Metadata; }); - this.data.deck = continueWatching.MediaContainer.Metadata; + this.data.Deck = continueWatching.MediaContainer.Metadata; if (this.data[this.config.libraryName] === undefined) { this.error = `Library name ${this.config.libraryName} does not exist.`;