This simple script helps to convert Jackett torrents feed to Portcase Player torrent playlist.
To use it, you need your own Jackett server instance running and php hosting for this script.
Installation:
- Clone this repository
- Run
composer install
- Modify parameters
$jackettUrl
,jackettApiKey
,playlistSearchUrl
inindex.php
file
Usage:
To open playlist, call https://FULL_URL_TO/playlist/?t=[TRACKER_NAME]
&q=[YOUR_QUERY]
&f=[xml|json]
Request parameters:
[TRACKER_NAME]
- the name of torrent tracker, taken from Jackett. If empty,"all"
will be used.[YOUR_QUERY]
- your search query. If empty,"CURRENT_YEAR 1080p"
will be used.[xml|json]
- format of returned playlist,xml
orjson
. If empty"json"
is used by default.