Small tweaks

pull/733/head
Jamie.Rees 8 years ago
parent 14c785d01e
commit 4e60b4afda

@ -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…
Cancel
Save