mirror of https://github.com/Jackett/Jackett
Fixed sonarr not finding episode numbers with animebytes (#1329)
* fixed sonarr not finding episode numbers * animebytes: fixed sonarr compatibility setting description was incorrect
This commit is contained in:
parent
9d6d5265e2
commit
026fa22a37
|
@ -302,9 +302,9 @@ namespace Jackett.Indexers
|
||||||
releaseInfo = releaseInfo.Replace("Season ", "S");
|
releaseInfo = releaseInfo.Replace("Season ", "S");
|
||||||
releaseInfo = releaseInfo.Trim();
|
releaseInfo = releaseInfo.Trim();
|
||||||
int test = 0;
|
int test = 0;
|
||||||
if (InsertSeason && int.TryParse(releaseInfo, out test) && releaseInfo.Length==1)
|
if (InsertSeason && int.TryParse(releaseInfo, out test) && releaseInfo.Length<=3)
|
||||||
{
|
{
|
||||||
releaseInfo = "S01E0" + releaseInfo;
|
releaseInfo = "E0" + releaseInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace Jackett.Models.IndexerConfig.Bespoke
|
||||||
{
|
{
|
||||||
IncludeRaw = new BoolItem() { Name = "IncludeRaw", Value = false };
|
IncludeRaw = new BoolItem() { Name = "IncludeRaw", Value = false };
|
||||||
DateWarning = new DisplayItem("This tracker does not supply upload dates so they are based off year of release.") { Name = "DateWarning" };
|
DateWarning = new DisplayItem("This tracker does not supply upload dates so they are based off year of release.") { Name = "DateWarning" };
|
||||||
InsertSeason = new BoolItem() { Name = "Prefix episode number with S01 for Sonarr Compatability", Value = false };
|
InsertSeason = new BoolItem() { Name = "Prefix episode number with E0 for Sonarr Compatability", Value = false };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue