mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-25 11:04:07 +00:00
fixed first m3u channel group load bug, added searchable selection for tvg-id
This commit is contained in:
parent
b9cae416ec
commit
edf2e360ee
7 changed files with 66 additions and 17 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue