From 1bda2c3a577046f112bb416e5cceb250188f71d4 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Wed, 19 Jul 2023 00:17:48 +0100 Subject: [PATCH] yts: improve title. resolves #14572 --- src/Jackett.Common/Definitions/yts.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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: