diff --git a/src/Jackett.Common/Definitions/yts.yml b/src/Jackett.Common/Definitions/yts.yml index 4d1b948c2..38f22f29c 100644 --- a/src/Jackett.Common/Definitions/yts.yml +++ b/src/Jackett.Common/Definitions/yts.yml @@ -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: