mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
fix(epg): add retry functionality for failed EPG fetches and enhance UI for error handling
Entire-Checkpoint: c6e522b4276c
This commit is contained in:
1 parent
15bfd5808c
commit
af8bb19d6c
8 files changed
+146
-23
No files matched your search
@@ -44,6 +44,13 @@ export class EpgProgressService {
|
||||
this.importsMap.set(new Map());
|
||||
}
|
||||
|
||||
retry(url: string): void {
|
||||
// Clear the errored row so the backend's subsequent 'queued' event
|
||||
// reappears cleanly rather than updating an existing error row.
|
||||
this.removeImport(url);
|
||||
void window.electron?.forceFetchEpg?.(url);
|
||||
}
|
||||
|
||||
private initializeListener(): void {
|
||||
if (this.initialized) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user