read_integration options root_folders: name empty, path only in value #17
Notifications
Due Date
No due date set.
Depends on
Reference: gronod/ombi-mcp#17
Reference in New Issue
Block a user
Summary
read_integrationoptionsroot_foldersemits items with emptyname— the path is present only invalue, so consumers cannot display a friendly folder name.Environment
develop@d047d76Reproduction
Sample item:
{"id":"21","name":"","value":"/mnt/zxpool/shared/media/tv","category":"root_folder"}Expected
namecarries the root-folder path (or a label),valuethe id — matching howprofilesemitsname/value.Actual
nameis""for every root-folder entry on both Sonarr and Radarr. During the earlier request task this made it impossible to map "zxpool tv" → id 21 without guessing.Cause
refsOrScalar/refOfextracts names fromname|label|value— upstream root-folder records carry the path underpath(nonamefield), so name stays empty while the fallback lands the path invalue.Correlation IDs
87c47c7c2dfa855cafcb8328(radarr), earlier sonarr sweep