mirror of
https://github.com/Jackett/Jackett
synced 2025-03-06 03:38:31 +00:00
yts: improve title. resolves #14572
This commit is contained in:
parent
2484237ba9
commit
1bda2c3a57
1 changed files with 7 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue