Update #43: Cleanup

music
Juraj Nyíri 3 years ago
parent 8507ccfc33
commit 16c0b7b795

@ -22812,7 +22812,6 @@ class PlexMeetsHomeAssistant extends HTMLElement {
this.seasonsElem.style.top = `${top + 2000}px`;
}
lodash.forEach(childrenData, childData => {
console.log(childData);
if (this.seasonsElem && this.plex) {
this.seasonsElemHidden = false;
const seasonContainer = document.createElement('div');
@ -22933,6 +22932,7 @@ class PlexMeetsHomeAssistant extends HTMLElement {
this.episodesElemFreshlyLoaded = true;
const episodesData = await this.plex.getLibraryData(childData.key.split('/')[3]);
console.log(episodesData);
console.log('todo: different look for tracks!');
if (this.episodesElem) {
this.episodesElemHidden = false;
this.episodesElem.style.display = 'block';
@ -23024,7 +23024,6 @@ class PlexMeetsHomeAssistant extends HTMLElement {
}, 200);
}
else {
console.log('else');
this.episodesElemFreshlyLoaded = true;
if (this.episodesElem) {
this.episodesElemHidden = false;

@ -1443,8 +1443,6 @@ class PlexMeetsHomeAssistant extends HTMLElement {
}
_.forEach(childrenData, childData => {
console.log(childData);
if (this.seasonsElem && this.plex) {
this.seasonsElemHidden = false;
const seasonContainer = document.createElement('div');
@ -1583,6 +1581,7 @@ class PlexMeetsHomeAssistant extends HTMLElement {
this.episodesElemFreshlyLoaded = true;
const episodesData = await this.plex.getLibraryData(childData.key.split('/')[3]);
console.log(episodesData);
console.log('todo: different look for tracks!');
if (this.episodesElem) {
this.episodesElemHidden = false;
this.episodesElem.style.display = 'block';
@ -1685,7 +1684,6 @@ class PlexMeetsHomeAssistant extends HTMLElement {
}
}, 200);
} else {
console.log('else');
this.episodesElemFreshlyLoaded = true;
if (this.episodesElem) {
this.episodesElemHidden = false;

Loading…
Cancel
Save