mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Fixed the issue where the first scan has the potential to not get all the shows depending on the order of the plex libraries
This commit is contained in:
parent
f8c1114401
commit
b406dc0118
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
|||
|
||||
var allEps = Repo.GetAllEpisodes();
|
||||
|
||||
foreach (var content in allContent)
|
||||
foreach (var content in allContent.OrderByDescending(x => x.viewGroup))
|
||||
{
|
||||
Logger.LogDebug($"Got type '{content.viewGroup}' to process");
|
||||
if (content.viewGroup.Equals(PlexMediaType.Episode.ToString(), StringComparison.InvariantCultureIgnoreCase))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue