1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 12:46:23 +00:00

bjshare: Removed handling that removed the original audio from the details (#8638)

since the tracker doesn't use it anymore and it was causing some issues
This commit is contained in:
Christian Franchin 2020-05-14 19:31:27 -03:00 committed by GitHub
parent 0c1bc1ab3b
commit 409c74e9ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -329,10 +329,6 @@ namespace Jackett.Common.Indexers
release.Description = release.Description.Replace("4K", "2160p");
release.Description = release.Description.Replace("SD", "480p");
release.Description = release.Description.Replace("Dual Áudio", "Dual");
// If it ain't nacional there will be the type of the audio / original audio
if (!release.Description.Contains("Nacional"))
release.Description = Regex.Replace(
release.Description, @"(Dual|Legendado|Dublado) \/ (.*?) \/", "$1 /");
// Adjust the description in order to can be read by Radarr and Sonarr
var cleanDescription = release.Description.Trim().TrimStart('[').TrimEnd(']');