mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-09-16 14:12:20 +02:00
Add web config
This commit is contained in:
@@ -223,7 +223,7 @@ class EPGMappingManager {
|
||||
|
||||
// First check EPG status
|
||||
let epgStatusResponse;
|
||||
try {
|
||||
try {
|
||||
epgStatusResponse = await fetch(`${this.apiBase}/api/epg/status`);
|
||||
if (epgStatusResponse.ok) {
|
||||
const epgStatus = await epgStatusResponse.json();
|
||||
@@ -231,11 +231,11 @@ class EPGMappingManager {
|
||||
throw new Error('EPG URL not configured. Please configure a valid EPG URL in the Advanced tab first.');
|
||||
}
|
||||
if (!epgStatus.cache_valid) {
|
||||
logger.info('EPG cache not valid, will attempt to download...');
|
||||
console.log('EPG cache not valid, will attempt to download...'); // ← CHANGED TO console.log
|
||||
}
|
||||
}
|
||||
} catch (statusError) {
|
||||
logger.warning('Could not check EPG status:', statusError);
|
||||
console.warn('Could not check EPG status:', statusError); // ← CHANGED TO console.warn
|
||||
}
|
||||
|
||||
// Load all data in parallel
|
||||
|
||||
Reference in New Issue
Block a user