Fix: Remove left over console.log(s)

pull/16/head
Juraj Nyíri 4 years ago
parent 9bbaf1a8fc
commit 285c63db17

@ -20578,8 +20578,6 @@ class PlexMeetsHomeAssistant extends HTMLElement {
seasonsData = await this.plex.getLibraryData(data.key.split('/')[3]); seasonsData = await this.plex.getLibraryData(data.key.split('/')[3]);
} }
const dataDetails = await this.plex.getDetails(data.key.split('/')[3]); const dataDetails = await this.plex.getDetails(data.key.split('/')[3]);
console.log(dataDetails);
console.log(dataDetails.Extras);
if (this.videoElem) { if (this.videoElem) {
const trailerURL = findTrailerURL(dataDetails); const trailerURL = findTrailerURL(dataDetails);
if (trailerURL !== '') { if (trailerURL !== '') {

@ -817,8 +817,6 @@ class PlexMeetsHomeAssistant extends HTMLElement {
seasonsData = await this.plex.getLibraryData(data.key.split('/')[3]); seasonsData = await this.plex.getLibraryData(data.key.split('/')[3]);
} }
const dataDetails = await this.plex.getDetails(data.key.split('/')[3]); const dataDetails = await this.plex.getDetails(data.key.split('/')[3]);
console.log(dataDetails);
console.log(dataDetails.Extras);
if (this.videoElem) { if (this.videoElem) {
const trailerURL = findTrailerURL(dataDetails); const trailerURL = findTrailerURL(dataDetails);
if (trailerURL !== '') { if (trailerURL !== '') {

Loading…
Cancel
Save