1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 11:48:49 +00:00

yts: improve title. resolves #14572

This commit is contained in:
ilike2burnthing 2023-07-19 00:17:48 +01:00 committed by GitHub
parent 2484237ba9
commit 1bda2c3a57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,8 +91,14 @@ search:
"2160p": 46
"3D": 47
"*": 45
_audio:
selector: audio_channels
_depth:
selector: bit_depth
_type:
selector: type
_codec:
selector: video_codec
year:
selector: ..year
title_default:
@ -107,9 +113,8 @@ search:
filters:
- name: replace
args: [":", ""]
# append type: BRRip or WEBRip, resolves #3558 via #4577
- name: append
args: " {{ .Result._quality }} {{ if eq .Result._type \"web\" }}WEBRip{{ else }}BRRip{{ end }} -YTS"
args: " {{ .Result._quality }} {{ if eq .Result._type \"web\" }}WEBRip{{ else }}BRRip{{ end }} {{ if eq .Result._audio \"5.1\" }}5.1 {{ else }}{{ end }}{{ if eq .Result._depth \"10\" }}10Bit {{ else }}{{ end }}{{ .Result._codec }} -YTS"
details:
selector: ..url
filters: