Commit Graph

2 Commits

Author SHA1 Message Date
jma1ice de3cf7531f Request api racing fixes (#19)
* * added artist to lidarr/album.py payload to prevent lidarr error
* added images: [] to lidarr/album.py payload to prevent lidarr NOT NULL constraint
* moved _wait_for_artist_commands_to_complete() to before album is indexed to avoid race
* removed check for releases in album_is_indexed as not all albums return from lidarr with releases
* focused in error message on metadata profile exclusions to give more accurate error messaging
* increased poll time for album_is_indexed to 5 seconds to reduce load on lidarr
* added handling for when cmd_artist_ids is a single int instead of a list

* * replaced original `_wait_for_artist_commands_to_complete` and moved earlier call into `if not album_obj`
* replaced original clean Metadata Profile error messaging and added `logger.debug()` for raw error message from Lidarr
2026-04-05 17:31:18 +01:00
Harvey a99c738164 Initial public release 2026-04-03 15:53:00 +01:00