Add: Ability to search in Live TV

live_tv_play 2.4
Juraj Nyíri 3 years ago
parent c2b109b76d
commit b1a8f4809d

@ -21416,7 +21416,9 @@ class PlexMeetsHomeAssistant extends HTMLElement {
}
else if (lodash.includes(lodash.toUpper(movieData.title), lodash.toUpper(this.searchValue)) ||
lodash.includes(lodash.toUpper(movieData.parentTitle), lodash.toUpper(this.searchValue)) ||
lodash.includes(lodash.toUpper(movieData.grandparentTitle), lodash.toUpper(this.searchValue))) {
lodash.includes(lodash.toUpper(movieData.grandparentTitle), lodash.toUpper(this.searchValue)) ||
lodash.includes(lodash.toUpper(movieData.tag), lodash.toUpper(this.searchValue)) ||
lodash.includes(lodash.toUpper(lodash.get(movieData, 'epg.title')), lodash.toUpper(this.searchValue))) {
shouldRender = true;
}
if (shouldRender) {

@ -563,7 +563,9 @@ class PlexMeetsHomeAssistant extends HTMLElement {
} else if (
_.includes(_.toUpper(movieData.title), _.toUpper(this.searchValue)) ||
_.includes(_.toUpper(movieData.parentTitle), _.toUpper(this.searchValue)) ||
_.includes(_.toUpper(movieData.grandparentTitle), _.toUpper(this.searchValue))
_.includes(_.toUpper(movieData.grandparentTitle), _.toUpper(this.searchValue)) ||
_.includes(_.toUpper(movieData.tag), _.toUpper(this.searchValue)) ||
_.includes(_.toUpper(_.get(movieData, 'epg.title')), _.toUpper(this.searchValue))
) {
shouldRender = true;
}

Loading…
Cancel
Save