fix: various small fixes (#3853)

This commit is contained in:
Dag 2023-12-21 09:24:22 +01:00 committed by GitHub
parent 4c5cf89725
commit f40f997405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 14 deletions

View file

@ -96,7 +96,7 @@ class EZTVBridge extends BridgeAbstract
protected function getItemFromTorrent($torrent)
{
$item = [];
$item['uri'] = $torrent->episode_url;
$item['uri'] = $torrent->episode_url ?? $torrent->torrent_url;
$item['author'] = $torrent->imdb_id;
$item['timestamp'] = $torrent->date_released_unix;
$item['title'] = $torrent->title;