Ombi
Ombi copied to clipboard
Artist not monitored in Lidarr when album requested in Ombi
Describe the bug When requesting music through Ombi, artists aren't set to monitored in lidarr so it never searches.
To Reproduce Steps to reproduce the behavior:
- Create a request for an album/artist that aren't already in Lidarr (Beyoncé B’Day, for example)
- In Lidarr artist (Beyoncé) has been added but is not monitored, album (B’Day) is Monitored
- Lidarr will never search for/import it, as the artist isn't monitored
Expected behavior
- Create a request for an album/artist that aren't already in Lidarr (Beyoncé B’Day, for example)
- In Lidarr artist (Beyoncé) should be both added and monitored, album (B’Day) should be monitored
- Lidarr & Transmission get and download the album
Screenshots
Logs (Logs directory where Ombi is located) OmbiLog.txt LidarrTrace.txt Can't find how to increase logging level in ombi though-pls do let me know if this is possible and I'll check again.
Desktop (please complete the following information): Windows Server 2022 (20348.643), Ombi, Lidarr & Jellyfin on the same machine. Any connection(s) between apps test and otherwise seem to work OK.
Ombi Version (please complete the following information): Ombi 4.16.10 Database Type: SQLite Lidarr 0.8.1.2135
Thanks
Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Have you looked at the wiki yet? https://docs.ombi.app/
Before posting make sure you also read our FAQ.
Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Thanks!
Ombi Bot.
same problem here :
-search "bobby mcferrin" in music -click first result : diplays all albums -click albums -click request selected -check docker log for OMBI container and Lidarr container
logs on Ombi side :
12/19/2022 3:20:17 PM
fail: Ombi.ErrorHandlingMiddleware[0]
12/19/2022 3:20:17 PM
Something bad happened, ErrorMiddleware caught this
12/19/2022 3:20:17 PM
System.Net.Http.HttpRequestException: Name or service not known (ia601700.us.archive.org:80)
12/19/2022 3:20:17 PM
---> System.Net.Sockets.SocketException (0xFFFDFFFF): Name or service not known
12/19/2022 3:20:17 PM
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
12/19/2022 3:20:17 PM
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
--- End of inner exception stack trace ---
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
12/19/2022 3:20:17 PM
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
12/19/2022 3:20:17 PM
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
12/19/2022 3:20:17 PM
at Ombi.Api.Api.Request(Request request, CancellationToken token) in /home/runner/work/Ombi/Ombi/src/Ombi.Api/Api.cs:line 139
12/19/2022 3:20:17 PM
at Ombi.Api.MusicBrainz.MusicBrainzApi.GetCoverArtForReleaseGroup(String musicBrainzId, CancellationToken token) in /home/runner/work/Ombi/Ombi/src/Ombi.Api.MusicBrainz/MusicBrainzApi.cs:line 67
12/19/2022 3:20:17 PM
at Ombi.Core.Engine.V2.MusicSearchEngineV2.GetReleaseGroupArt(String musicBrainzId, CancellationToken token) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Engine/V2/MusicSearchEngineV2.cs:line 124
12/19/2022 3:20:17 PM
at Ombi.Controllers.V2.SearchController.GetReleaseGroupARt(String musicBrainzId) in /home/runner/work/Ombi/Ombi/src/Ombi/Controllers/V2/SearchController.cs:line 464
12/19/2022 3:20:17 PM
at lambda_method6188(Closure , Object )
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
12/19/2022 3:20:17 PM
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
12/19/2022 3:20:17 PM
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
12/19/2022 3:20:17 PM
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
12/19/2022 3:20:17 PM
at Ombi.ApiKeyMiddlewear.Invoke(HttpContext context) in /home/runner/work/Ombi/Ombi/src/Ombi/Middleware/ApiKeyMiddlewear.cs:line 58
12/19/2022 3:20:17 PM
at Ombi.ErrorHandlingMiddleware.Invoke(HttpContext context) in /home/runner/work/Ombi/Ombi/src/Ombi/Middleware/ErrorHandlingMiddlewear.cs:line 30
12/19/2022 3:20:49 PM
fail: Ombi.Api.Api[1000]
12/19/2022 3:20:49 PM
StatusCode: BadRequest, Reason: Bad Request, RequestUri: http://glu:8686/api/v1/artist
12/19/2022 3:20:49 PM
warn: Ombi.Core.Engine.MusicRequestEngine[0]
12/19/2022 3:20:49 PM
Tried auto sending album but failed. Message: Album is already monitored
12/19/2022 3:20:49 PM
warn: Ombi.Core.Engine.MusicRequestEngine[0]
12/19/2022 3:20:49 PM
Tried auto sending Album but failed. Message: Album is already monitored
12/19/2022 3:21:32 PM
fail: Ombi.Api.Api[1000]
12/19/2022 3:21:32 PM
StatusCode: BadRequest, Reason: Bad Request, RequestUri: http://glu:8686/api/v1/artist
12/19/2022 3:21:32 PM
warn: Ombi.Core.Engine.MusicRequestEngine[0]
12/19/2022 3:21:32 PM
Tried auto sending album but failed. Message: Album is already monitored
12/19/2022 3:21:32 PM
warn: Ombi.Core.Engine.MusicRequestEngine[0]
12/19/2022 3:21:32 PM
Tried auto sending Album but failed. Message: Album is already monitored
12/19/2022 3:25:04 PM
warn: Ombi.Core.Engine.MovieRequestEngine[0]
12/19/2022 3:25:04 PM
Tried auto sending movie but failed. Message: Movie is already monitored
12/19/2022 3:25:04 PM
warn: Ombi.Core.Engine.MovieRequestEngine[0]
12/19/2022 3:25:04 PM
Tried auto sending movie but failed. Message: Movie is already monitored
Logs on Lidarr side :
12/19/2022 2:56:36 PM
[Error] Lidarr.Api.V1.Artist.ArtistController.AddArtist (Lidarr.Api.V1): {
12/19/2022 2:56:36 PM
"$.status": {
12/19/2022 2:56:36 PM
"errors": [
12/19/2022 2:56:36 PM
{
12/19/2022 2:56:36 PM
"errorMessage": "The JSON value could not be converted to NzbDrone.Core.Music.ArtistStatusType. Path: $.status | LineNumber: 0 | BytePositionInLine: 14."
12/19/2022 2:56:36 PM
}
12/19/2022 2:56:36 PM
],
12/19/2022 2:56:36 PM
"validationState": "invalid",
12/19/2022 2:56:36 PM
"isContainerNode": false
12/19/2022 2:56:36 PM
}
12/19/2022 2:56:36 PM
}
12/19/2022 3:01:25 PM
[Error] Lidarr.Api.V1.Artist.ArtistController.AddArtist (Lidarr.Api.V1): {
12/19/2022 3:01:25 PM
"$.status": {
12/19/2022 3:01:25 PM
"errors": [
12/19/2022 3:01:25 PM
{
12/19/2022 3:01:25 PM
"errorMessage": "The JSON value could not be converted to NzbDrone.Core.Music.ArtistStatusType. Path: $.status | LineNumber: 0 | BytePositionInLine: 14."
12/19/2022 3:01:25 PM
}
12/19/2022 3:01:25 PM
],
12/19/2022 3:01:25 PM
"validationState": "invalid",
12/19/2022 3:01:25 PM
"isContainerNode": false
12/19/2022 3:01:25 PM
}
12/19/2022 3:01:25 PM
}
12/19/2022 3:20:49 PM
[Error] Lidarr.Api.V1.Artist.ArtistController.AddArtist (Lidarr.Api.V1): {
12/19/2022 3:20:49 PM
"$.status": {
12/19/2022 3:20:49 PM
"errors": [
12/19/2022 3:20:49 PM
{
12/19/2022 3:20:49 PM
"errorMessage": "The JSON value could not be converted to NzbDrone.Core.Music.ArtistStatusType. Path: $.status | LineNumber: 0 | BytePositionInLine: 14."
12/19/2022 3:20:49 PM
}
12/19/2022 3:20:49 PM
],
12/19/2022 3:20:49 PM
"validationState": "invalid",
12/19/2022 3:20:49 PM
"isContainerNode": false
12/19/2022 3:20:49 PM
}
12/19/2022 3:20:49 PM
}
12/19/2022 3:21:32 PM
[Error] Lidarr.Api.V1.Artist.ArtistController.AddArtist (Lidarr.Api.V1): {
12/19/2022 3:21:32 PM
"$.status": {
12/19/2022 3:21:32 PM
"errors": [
12/19/2022 3:21:32 PM
{
12/19/2022 3:21:32 PM
"errorMessage": "The JSON value could not be converted to NzbDrone.Core.Music.ArtistStatusType. Path: $.status | LineNumber: 0 | BytePositionInLine: 14."
12/19/2022 3:21:32 PM
}
12/19/2022 3:21:32 PM
],
12/19/2022 3:21:32 PM
"validationState": "invalid",
12/19/2022 3:21:32 PM
"isContainerNode": false
12/19/2022 3:21:32 PM
}
12/19/2022 3:21:32 PM
}
Replaying the API, I found that this line is what changes the behavior. If I add the addOptions.monitor = 6 data, it adds w/o monitoring. If I remove it, it adds ~~as expected~~ every album, which also isn't ideal. https://github.com/Ombi-app/Ombi/blob/48111827bdf9230639eda77c1747d1dc0bce7b3b/src/Ombi.Core/Senders/MusicSender.cs#L103