From 64e7a87fe0e86680f2e20a16450b9ff36cc130d1 Mon Sep 17 00:00:00 2001 From: Paxx Date: Fri, 12 May 2023 14:32:44 +0200 Subject: [PATCH] fixed the property names --- src/models/mrssFeedModel.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/models/mrssFeedModel.ts b/src/models/mrssFeedModel.ts index c442bdc..60b8508 100644 --- a/src/models/mrssFeedModel.ts +++ b/src/models/mrssFeedModel.ts @@ -171,8 +171,8 @@ export class MRSSFeed { cachedAsset.title = feedEntry.title; cachedAsset.url = feedEntry.link; cachedAsset.duration = -1; - cachedAsset.start_time = feedEntry.start_time - cachedAsset.end_time = feedEntry.start_time + cachedAsset.start_time = feedEntry.startTime + cachedAsset.end_time = feedEntry.endTime } else { debug("Adding new entry to cache"); this.cache.assets.push({ @@ -180,8 +180,8 @@ export class MRSSFeed { title: feedEntry.title, url: feedEntry.link, duration: -1, - start_time : feedEntry.start_time, - end_time : feedEntry.start_time, + start_time : feedEntry.startTime, + end_time : feedEntry.endTime, }); } }