fix(plex-watchlist): Only request the latest season when importing from the watchlist

This commit is contained in:
tidusjar 2022-04-13 20:44:23 +01:00
commit 77a47ff157

View file

@ -140,7 +140,7 @@ namespace Ombi.Schedule.Jobs.Plex
private async Task ProcessShow(int theMovieDbId, OmbiUser user)
{
_tvRequestEngine.SetUser(user);
var response = await _tvRequestEngine.RequestTvShow(new TvRequestViewModelV2 { RequestAll = true, TheMovieDbId = theMovieDbId, Source = RequestSource.PlexWatchlist });
var response = await _tvRequestEngine.RequestTvShow(new TvRequestViewModelV2 { LatestSeason = true, TheMovieDbId = theMovieDbId, Source = RequestSource.PlexWatchlist });
if (response.IsError)
{
if (response.ErrorCode == ErrorCode.AlreadyRequested)