Fixed EPG description not displaying due to property name mismatch
This commit is contained in:
@@ -301,7 +301,7 @@ class EpgGuide {
|
|||||||
title: current.title,
|
title: current.title,
|
||||||
start: current.start,
|
start: current.start,
|
||||||
stop: current.stop,
|
stop: current.stop,
|
||||||
desc: current.desc
|
description: current.description
|
||||||
} : null;
|
} : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ router.get('/epg/:sourceId', async (req, res) => {
|
|||||||
start: new Date(p.start_time).toISOString(), // EpgGuide parse this back
|
start: new Date(p.start_time).toISOString(), // EpgGuide parse this back
|
||||||
stop: new Date(p.end_time).toISOString(),
|
stop: new Date(p.end_time).toISOString(),
|
||||||
title: p.title,
|
title: p.title,
|
||||||
desc: p.description
|
description: p.description
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// Fetch EPG channels from playlist_items (type='epg_channel')
|
// Fetch EPG channels from playlist_items (type='epg_channel')
|
||||||
|
|||||||
Reference in New Issue
Block a user