From 62a116faadadfe67694dede436c35e6919f4543f Mon Sep 17 00:00:00 2001 From: Dmitrii Cucleschin Date: Sun, 7 Jan 2024 15:03:56 -0800 Subject: [PATCH] add thumbnail to put.io catalog item videos --- addon/moch/putio.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addon/moch/putio.js b/addon/moch/putio.js index c3484c4..0437f5f 100644 --- a/addon/moch/putio.js +++ b/addon/moch/putio.js @@ -54,6 +54,7 @@ export async function getItemMeta(itemId, apiKey) { id: `${KEY}:${file.id}:${index}`, title: file.name, released: new Date(file.created_at).toISOString(), + thumbnail: file.screenshot, streams: [{ url: `${apiKey}/null/null/${file.id}` }] })) }))