wip: filters movie results, adds options to filter input

This commit is contained in:
2025-07-06 15:37:29 -05:00
parent 402d513147
commit e54bcd44d8
8 changed files with 85 additions and 80 deletions

View File

@@ -22,6 +22,7 @@ class ResultFactory
string $bingeGroup = "-"
) {
$ptn = (object) (new PTN())->parse($title);
// dump($ptn);
return new TorrentioResult(
self::trimTitle($title),
urldecode($url),
@@ -34,6 +35,7 @@ class ResultFactory
$bingeGroup,
$ptn->resolution ?? "-",
self::setCodec($ptn->codec ?? "-"),
$ptn->quality ?? "-",
$ptn,
substr(base64_encode($url), strlen($url) - 10),
$ptn->episode ?? "-",