lst: fix posters, add genre, descr.

This commit is contained in:
Garfield69
2023-05-04 20:18:30 +12:00
parent 529c3ed9b1
commit 6f0b8b20ee

View File

@@ -115,7 +115,7 @@ search:
infohash: infohash:
selector: info_hash selector: info_hash
poster: poster:
selector: poster selector: meta.poster
filters: filters:
- name: replace - name: replace
args: ["https://via.placeholder.com/90x135", ""] args: ["https://via.placeholder.com/90x135", ""]
@@ -125,6 +125,17 @@ search:
selector: tmdb_id selector: tmdb_id
tvdbid: tvdbid:
selector: tvdb_id selector: tvdb_id
genre:
selector: meta.genres
filters:
- name: re_replace
args: ["(?i)(Science Fiction)", "Science_Fiction"]
- name: re_replace
args: ["(?i)(TV Movie)", "TV_Movie"]
- name: replace
args: [" & ", "_&_"]
description:
text: "{{ .Result.genre }}"
files: files:
selector: num_file selector: num_file
seeders: seeders: