Map the MediaServer URL for Tv Shows, so we can display the Plex button

This commit is contained in:
tidusjar 2021-04-21 12:28:32 +01:00
commit 16b2b849d4
2 changed files with 4 additions and 0 deletions

View file

@ -371,6 +371,7 @@ namespace Ombi.Core.Engine.V2
mapped.Requested = movie.Requested;
mapped.PlexUrl = movie.PlexUrl;
mapped.EmbyUrl = movie.EmbyUrl;
mapped.JellyfinUrl = movie.JellyfinUrl;
mapped.Subscribed = movie.Subscribed;
mapped.ShowSubscribe = movie.ShowSubscribe;
mapped.ReleaseDate = movie.ReleaseDate;

View file

@ -241,6 +241,9 @@ namespace Ombi.Core.Engine.V2
item.Approved = oldModel.Approved;
item.SeasonRequests = oldModel.SeasonRequests;
item.RequestId = oldModel.RequestId;
item.PlexUrl = oldModel.PlexUrl;
item.EmbyUrl = oldModel.EmbyUrl;
item.JellyfinUrl = oldModel.JellyfinUrl;
if (!string.IsNullOrEmpty(item.Images?.Medium))
{