Replaces icon with image

This commit is contained in:
freearhey
2024-06-24 16:49:35 +03:00
parent 0eaff54a31
commit bb6771f539
170 changed files with 428 additions and 351 deletions
@@ -16,7 +16,7 @@ module.exports = {
programs.push({
title: item.Title,
description: item.Description,
icon: parseIcon(item),
image: parseImage(item),
start: parseTime(item.Start),
stop: parseTime(item.End)
})
@@ -42,7 +42,7 @@ module.exports = {
}
}
function parseIcon(item) {
function parseImage(item) {
return item.Images?.VideoFrame?.[0]?.Url
}