From d1b721dba5427447eb6bd28fda689558b5238cd5 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 8 Nov 2023 22:05:40 +0100 Subject: [PATCH] [`torrent`] Added `image` to search results. --- platypush/plugins/torrent/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/torrent/__init__.py b/platypush/plugins/torrent/__init__.py index 0fb1c7d015..3b0cd043f3 100644 --- a/platypush/plugins/torrent/__init__.py +++ b/platypush/plugins/torrent/__init__.py @@ -200,7 +200,7 @@ class TorrentPlugin(Plugin): 'synopsis': result.get('synopsis'), 'trailer': result.get('trailer'), 'genres': result.get('genres', []), - 'images': result.get('images', []), + 'image': result.get('images', {}).get('poster'), 'rating': result.get('rating', {}), 'language': lang, 'quality': quality,