mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Small tweaks
This commit is contained in:
parent
14c785d01e
commit
4e60b4afda
2 changed files with 7 additions and 1 deletions
|
@ -151,6 +151,12 @@ namespace PlexRequests.Core.Migration.Migrations
|
|||
return;
|
||||
}
|
||||
var plexUsers = PlexApi.GetUsers(settings.PlexAuthToken);
|
||||
|
||||
if (plexUsers?.User == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var prSettings = PlexRequestSettings.GetSettings();
|
||||
|
||||
var dbUsers = PlexUsers.GetAll().ToList();
|
||||
|
|
|
@ -230,7 +230,7 @@ namespace PlexRequests.Services.Jobs
|
|||
|
||||
public IEnumerable<PlexContent> GetPlexTvShows(IEnumerable<PlexContent> content)
|
||||
{
|
||||
return content.Where(x => x.Type == Store.Models.Plex.PlexMediaType.Show);
|
||||
return content.Where(x => x.Type == Store.Models.Plex.PlexMediaType.Show.to);
|
||||
}
|
||||
|
||||
public bool IsTvShowAvailable(PlexContent[] plexShows, string title, string year, string providerId = null, int[] seasons = null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue