Skip to content
Permalink
Browse files

[F] Fix GetFilesByGroupAndResolution by URL Decoding the Release Grou…

…p and properly handling raw-Files
  • Loading branch information...
Baine committed May 13, 2019
1 parent e1e26a9 commit 3e097142c8c37d5cd24152ac98fda2595787ebfa
@@ -1360,6 +1360,7 @@ public void ReevaluateDuplicateFiles()
string resolution,
string videoSource, int videoBitDepth, int userID)
{
relGroupName = System.Net.WebUtility.UrlDecode(relGroupName);
List<CL_VideoDetailed> vids = new List<CL_VideoDetailed>();

try
@@ -1397,8 +1398,9 @@ public void ReevaluateDuplicateFiles()
relGroupName.Equals(aniFile.Anime_GroupName, StringComparison.InvariantCultureIgnoreCase) ||
relGroupName.Equals(aniFile.Anime_GroupNameShort,
StringComparison.InvariantCultureIgnoreCase);
if (aniFile.Anime_GroupName.Contains("unknown") ||
aniFile.Anime_GroupNameShort.Contains("unknown"))
if (!aniFile.Anime_GroupNameShort.Equals("raw") &&
(aniFile.Anime_GroupName.Contains("unknown") ||
aniFile.Anime_GroupNameShort.Contains("unknown")))
groupMatches = relGroupName.Equals(Constants.NO_GROUP_INFO,
StringComparison.InvariantCultureIgnoreCase);
}

0 comments on commit 3e09714

Please sign in to comment.
You can’t perform that action at this time.