fix: missing imdb id on torrentio results

This commit is contained in:
2025-09-15 12:34:04 -05:00
parent a42e0d4d1a
commit 52f460ff62
5 changed files with 16 additions and 9 deletions

View File

@@ -18,7 +18,8 @@ class ResultFactory
public static function map(
string $url,
string $title,
string $bingeGroup = "-"
string $bingeGroup = "-",
string $imdbId = "-",
) {
$ptn = (object) (new PTN())->parse($title);
return new TorrentioResult(
@@ -40,7 +41,8 @@ class ResultFactory
self::setLanguages($title),
self::setLanguageFlags($title),
false,
uniqid()
uniqid(),
$imdbId,
);
}