mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[addon] use single stream property for debrid catalogs
This commit is contained in:
@@ -61,9 +61,7 @@ async function getItemMeta(itemId, apiKey, ip) {
|
||||
id: `${KEY}:${file.id}:${index}`,
|
||||
title: file.name,
|
||||
released: new Date(file.created_at * 1000 - index).toISOString(),
|
||||
streams: [
|
||||
{ url: file.stream_link || file.link }
|
||||
]
|
||||
stream: { url: file.stream_link || file.link }
|
||||
}))
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user