enrich metadata for some debrid providers' metas

This commit is contained in:
TheBeastLT
2023-04-25 16:35:45 +02:00
parent cb3f920fb3
commit cb381881a5
6 changed files with 48 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ async function getItemMeta(itemId, apiKey, ip) {
id: `${KEY}:${torrent.id}`,
type: Type.OTHER,
name: torrent.name,
infoHash: torrent.hashString.toLowerCase(),
videos: torrent.files
.filter(file => isVideo(file.name))
.map((file, index) => ({