mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-03-02 22:56:57 -05:00
searchForNewAlbum not working as expected when doing POST requests to /api/v1/album and not monitoring artist #3882
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
Area: Update API
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Don't Merge
Status: Help Wanted
Status: In Progress
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
conflict
no-conflict
not-pulled
radarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Lidarr#3882
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ano0002 on GitHub (Aug 18, 2024).
Is there an existing issue for this?
Current Behavior
When doing
POSTrequests to/api/v1/albumwithaddOptions: {searchForNewAlbum: true}if the artist hasn't already been in your lidarr and you choose to not monitor all its albums lidarr will not monitor and search for the album.Expected Behavior
I would expect Lidarr to monitor the album in question and search for it even if you don't monitor the album.
Steps To Reproduce
Simply add any album you don't have the artist for with these parameters (from the UI or using the API):

Environment
What branch are you running?
Master
Trace Logs?
I did some digging around in the trace logs and here seems to be the issue:
The album monitoring is applied before the artist one.
Here are logs of another time I ran it:
https://gist.github.com/ano0002/00bef4e72fc6099d7fbf7d7a87ab66e9
Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.
trace- that are relevant and show this issue.@github-actions[bot] commented on GitHub (Aug 18, 2024):
👋 @ano0002, In order to help you further we'll need to see logs. You'll need to enable trace logging and replicate the problem that you encountered. Guidance on how to enable trace logging can be found in our troubleshooting guide.
@ano0002 commented on GitHub (Aug 18, 2024):
Here are logs of another time I ran it: https://gist.github.com/ano0002/00bef4e72fc6099d7fbf7d7a87ab66e9
@bakerboy448 commented on GitHub (Oct 5, 2025):
likely a race condition. can we get refreshed logs based on develop 2.14.5
various logging / other changes since 8/2024 should make this slightly more detailed to see whats the cause of dropping the monitored state from the add
@github-actions[bot] commented on GitHub (Oct 5, 2025):
👋 @ano0002, In order to help you further we'll need to see logs. You'll need to enable trace logging and replicate the problem that you encountered. Guidance on how to enable trace logging can be found in our troubleshooting guide.