[torrent] Added image to search results.

This commit is contained in:
Fabio Manganiello 2023-11-08 22:05:40 +01:00
parent eb7a96ee94
commit d1b721dba5
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -200,7 +200,7 @@ class TorrentPlugin(Plugin):
'synopsis': result.get('synopsis'), 'synopsis': result.get('synopsis'),
'trailer': result.get('trailer'), 'trailer': result.get('trailer'),
'genres': result.get('genres', []), 'genres': result.get('genres', []),
'images': result.get('images', []), 'image': result.get('images', {}).get('poster'),
'rating': result.get('rating', {}), 'rating': result.get('rating', {}),
'language': lang, 'language': lang,
'quality': quality, 'quality': quality,