[torrent] duration * 60 for results returned by PopcornTime API.

This commit is contained in:
Fabio Manganiello 2023-11-07 00:11:38 +01:00
parent 1d41df51e7
commit a94ddd3f05
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -195,7 +195,7 @@ class TorrentPlugin(Plugin):
result.get('title', '[No Title]')
+ f' [movies][{lang}][{quality}]'
),
'duration': int(result.get('runtime') or 0),
'duration': int(result.get('runtime') or 0) * 60,
'year': int(result.get('year') or 0),
'synopsis': result.get('synopsis'),
'trailer': result.get('trailer'),