fixed first m3u channel group load bug, added searchable selection for tvg-id

This commit is contained in:
dekzter 2025-03-23 17:55:21 -04:00
parent b9cae416ec
commit edf2e360ee
7 changed files with 66 additions and 17 deletions

View file

@ -581,6 +581,18 @@ export default class API {
return retval;
}
static async getEPGData() {
const response = await fetch(`${host}/api/epg/epgdata/`, {
headers: {
Authorization: `Bearer ${await API.getAuthToken()}`,
'Content-Type': 'application/json',
},
});
const retval = await response.json();
return retval;
}
// Notice there's a duplicated "refreshPlaylist" method above;
// you might want to rename or remove one if it's not needed.