h-p2p: new poster selector

This commit is contained in:
Garfield69
2024-05-26 13:29:06 +12:00
parent 2d0b607f48
commit 5b94d45f28

View File

@@ -98,6 +98,8 @@ search:
attribute: attributes
fields:
_id:
selector: ..id
category:
selector: category_id
title_optional:
@@ -116,10 +118,7 @@ search:
infohash:
selector: info_hash
poster:
selector: meta.poster
filters:
- name: replace
args: ["https://via.placeholder.com/90x135", ""]
text: "{{ .Config.sitelink }}files/img/torrent-cover_{{ .Result._id }}.jpg"
genre:
selector: meta.genres
filters: