MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / refreshPlaylist

Method refreshPlaylist

frontend/src/api.js:1434–1443  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

1432 }
1433
1434 static async refreshPlaylist(id) {
1435 try {
1436 const response = await request(`${host}/api/m3u/refresh/${id}/`, {
1437 method: 'POST',
1438 });
1439 return response;
1440 } catch (e) {
1441 errorNotification('Failed to refresh M3U account', e);
1442 }
1443 }
1444 static async refreshAllPlaylist() {
1445 try {
1446 const response = await request(`${host}/api/m3u/refresh/`, {

Callers 3

onClickRefreshFunction · 0.80
refreshPlaylistFunction · 0.80
refreshPlaylistFunction · 0.80

Calls 2

requestFunction · 0.85
errorNotificationFunction · 0.85

Tested by

no test coverage detected