add thumbnail to put.io catalog item videos
This commit is contained in:
parent
124bfae953
commit
62a116faad
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ export async function getItemMeta(itemId, apiKey) {
|
||||||
id: `${KEY}:${file.id}:${index}`,
|
id: `${KEY}:${file.id}:${index}`,
|
||||||
title: file.name,
|
title: file.name,
|
||||||
released: new Date(file.created_at).toISOString(),
|
released: new Date(file.created_at).toISOString(),
|
||||||
|
thumbnail: file.screenshot,
|
||||||
streams: [{ url: `${apiKey}/null/null/${file.id}` }]
|
streams: [{ url: `${apiKey}/null/null/${file.id}` }]
|
||||||
}))
|
}))
|
||||||
}))
|
}))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue