diff --git a/src/Ombi.Core/Engine/MusicRequestEngine.cs b/src/Ombi.Core/Engine/MusicRequestEngine.cs index e0c24cf57..b76b76fc1 100644 --- a/src/Ombi.Core/Engine/MusicRequestEngine.cs +++ b/src/Ombi.Core/Engine/MusicRequestEngine.cs @@ -85,8 +85,10 @@ namespace Ombi.Core.Engine Title = album.title, Disk = album.images?.FirstOrDefault(x => x.coverType.Equals("disc"))?.url, Cover = album.images?.FirstOrDefault(x => x.coverType.Equals("cover"))?.url, - ForeignArtistId = album?.artist?.foreignArtistId ?? string.Empty, // This needs to be populated to send to Lidarr for new requests - RequestedByAlias = model.RequestedByAlias + ForeignArtistId = album.artist?.foreignArtistId, + RequestedByAlias = model.RequestedByAlias, + Monitor = model.Monitor, + SearchForMissingAlbums = model.SearchForMissingAlbums }; if (requestModel.Cover.IsNullOrEmpty()) { diff --git a/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs b/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs index 1f193a1b6..8ddb8c6e0 100644 --- a/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs +++ b/src/Ombi.Core/Engine/V2/MultiSearchEngine.cs @@ -76,7 +76,7 @@ namespace Ombi.Core.Engine.V2 } } - if (filter.Movies) + if (filter.Movies || filter.TvShows) { var movieDbData = (await _movieDbApi.MultiSearch(searchTerm, lang, cancellationToken)).results; diff --git a/src/Ombi.Core/Models/Requests/MusicArtistRequestViewModel.cs b/src/Ombi.Core/Models/Requests/MusicArtistRequestViewModel.cs index f32fadfd3..dd556c8ee 100644 --- a/src/Ombi.Core/Models/Requests/MusicArtistRequestViewModel.cs +++ b/src/Ombi.Core/Models/Requests/MusicArtistRequestViewModel.cs @@ -4,6 +4,8 @@ { public string ForeignAlbumId { get; set; } public string RequestedByAlias { get; set; } + public string Monitor { get; set; } + public bool SearchForMissingAlbums { get; set; } } public class MusicArtistRequestViewModel diff --git a/src/Ombi.Core/Models/Search/V2/Music/AlbumInformation.cs b/src/Ombi.Core/Models/Search/V2/Music/AlbumInformation.cs index ab08a38f8..67234a2ab 100644 --- a/src/Ombi.Core/Models/Search/V2/Music/AlbumInformation.cs +++ b/src/Ombi.Core/Models/Search/V2/Music/AlbumInformation.cs @@ -8,7 +8,7 @@ namespace Ombi.Core.Models.Search.V2.Music public string Id { get; set; } public string StartYear { get; set; } public string EndYear { get; set; } - public bool IsEnded => EndYear != null; + public bool IsEnded => string.IsNullOrEmpty(EndYear); public bool Monitored { get; set; } public string Type { get; set; } public string Country { get; set; } diff --git a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html index 4132409fb..d8db82469 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html +++ b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.html @@ -3,7 +3,7 @@