diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 0effc9b..97871d4 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19871,7 +19871,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { const keyParts = data.key.split('/'); const movieID = keyParts[3]; if (this.hassObj && this.playController) { - this.playController.play(movieID); + this.playController.play(movieID, data.type === 'movie'); } }); const titleElem = document.createElement('div'); diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 4e32879..3bd27dc 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -698,7 +698,7 @@ class PlexMeetsHomeAssistant extends HTMLElement { const movieID = keyParts[3]; if (this.hassObj && this.playController) { - this.playController.play(movieID); + this.playController.play(movieID, data.type === 'movie'); } });