fix: adds favicon
This commit is contained in:
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
27
src/Torrentio/Client/TorrentioUrl.php
Normal file
27
src/Torrentio/Client/TorrentioUrl.php
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Torrentio\Client;
|
||||||
|
|
||||||
|
class TorrentioUrlFactory
|
||||||
|
{
|
||||||
|
// stremio://torrentio.strem.fun/providers=yts,eztv,rarbg,1337x,thepiratebay,kickasstorrents,torrentgalaxy,magnetdl,horriblesubs,nyaasi,tokyotosho,anidex|language=croatian,greek,norwegian|qualityfilter=other,scr|limit=100|sizefilter=1000|realdebrid=TEST/manifest.json
|
||||||
|
public static function create(
|
||||||
|
?array $providers = null,
|
||||||
|
?array $language = null,
|
||||||
|
?array $qualityfilter = null,
|
||||||
|
?string $debridProvider = null,
|
||||||
|
?string $limit = null,
|
||||||
|
?string $sizefilter = null,
|
||||||
|
?string $debridToken = null,
|
||||||
|
): string {
|
||||||
|
$result = "";
|
||||||
|
|
||||||
|
if (null !== $providers) {
|
||||||
|
$result .= "providers=". strtolower(implode(",", $providers));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user