feat: vidstack

This commit is contained in:
ner committed 2024-10-12 22:26:39 +03:00
1 parent 184ee26e5b
commit c31058c4f7
22 files changed
+419 -191

No files matched your search

+4 -2
View File
@@ -50,10 +50,12 @@ export class YTS {
return {
id: movie.id?.toString(),
title: `${movie.title_english} ${torrent.quality ? `[${torrent.quality}]` : ''}`,
title: movie.title_english,
seeders: torrent.seeds,
size: torrent.size,
type: torrent.type,
quality: torrent.quality,
source: torrent.type,
year: movie.year?.toString(),
magnet: `magnet:?xt=urn:btih:${torrent.hash}&dn=${encodeURIComponent(query)}&tr=${trackers.join('&tr=')}`
};
}) || []