diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 4706d10..0633b15 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -19802,7 +19802,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (!this.detailsShown && window.innerHeight + window.scrollY > height + getOffset(this.content).top - 300 && this.renderedItems > 0) { - console.log('renderNewElementsIfNeeded'); this.maxRenderCount = this.renderedItems - 1 + this.columnsCount * (loadAdditionalRowsCount * 2); this.renderMovieElems(); this.calculatePositions(); @@ -20252,7 +20251,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.detailElem.children[0].innerHTML = escapeHtml(data.title); this.detailElem.children[1].innerHTML = escapeHtml(data.year); this.detailElem.children[1].dataset.year = escapeHtml(data.year); - console.log(data.rating); this.detailElem.children[2].innerHTML = `${(data.duration !== undefined ? `${Math.round(parseInt(escapeHtml(data.duration), 10) / 60 / 1000)} min` : '') + diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 7f03c53..e4583cb 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -123,7 +123,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { window.innerHeight + window.scrollY > height + getOffset(this.content).top - 300 && this.renderedItems > 0 ) { - console.log('renderNewElementsIfNeeded'); this.maxRenderCount = this.renderedItems - 1 + this.columnsCount * (loadAdditionalRowsCount * 2); this.renderMovieElems(); @@ -616,7 +615,6 @@ class PlexMeetsHomeAssistant extends HTMLElement { this.detailElem.children[0].innerHTML = escapeHtml(data.title); this.detailElem.children[1].innerHTML = escapeHtml(data.year); (this.detailElem.children[1] as HTMLElement).dataset.year = escapeHtml(data.year); - console.log(data.rating); this.detailElem.children[2].innerHTML = `${(data.duration !== undefined ? `${Math.round( parseInt(escapeHtml(data.duration), 10) / 60 / 1000