|
|
@ -19601,15 +19601,15 @@ class PlexMeetsHomeAssistantEditor extends HTMLElement {
|
|
|
|
this.ip.value = this.config.ip;
|
|
|
|
this.ip.value = this.config.ip;
|
|
|
|
this.ip.addEventListener('change', this.valueUpdated);
|
|
|
|
this.ip.addEventListener('change', this.valueUpdated);
|
|
|
|
this.content.appendChild(this.ip);
|
|
|
|
this.content.appendChild(this.ip);
|
|
|
|
this.token.label = 'Plex Token';
|
|
|
|
|
|
|
|
this.token.value = this.config.token;
|
|
|
|
|
|
|
|
this.token.addEventListener('change', this.valueUpdated);
|
|
|
|
|
|
|
|
this.content.appendChild(this.token);
|
|
|
|
|
|
|
|
this.port.label = 'Plex Port';
|
|
|
|
this.port.label = 'Plex Port';
|
|
|
|
this.port.value = this.config.port;
|
|
|
|
this.port.value = this.config.port;
|
|
|
|
this.port.type = 'number';
|
|
|
|
this.port.type = 'number';
|
|
|
|
this.port.addEventListener('change', this.valueUpdated);
|
|
|
|
this.port.addEventListener('change', this.valueUpdated);
|
|
|
|
this.content.appendChild(this.port);
|
|
|
|
this.content.appendChild(this.port);
|
|
|
|
|
|
|
|
this.token.label = 'Plex Token';
|
|
|
|
|
|
|
|
this.token.value = this.config.token;
|
|
|
|
|
|
|
|
this.token.addEventListener('change', this.valueUpdated);
|
|
|
|
|
|
|
|
this.content.appendChild(this.token);
|
|
|
|
this.libraryName.innerHTML = '';
|
|
|
|
this.libraryName.innerHTML = '';
|
|
|
|
const libraryItems = document.createElement('paper-listbox');
|
|
|
|
const libraryItems = document.createElement('paper-listbox');
|
|
|
|
libraryItems.appendChild(addDropdownItem('Continue Watching'));
|
|
|
|
libraryItems.appendChild(addDropdownItem('Continue Watching'));
|
|
|
|