Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bug: Sonarr Calendar integration bugging out. #2327

Closed
polisvfx opened this issue Feb 14, 2025 · 1 comment · Fixed by #2328
Closed

bug: Sonarr Calendar integration bugging out. #2327

polisvfx opened this issue Feb 14, 2025 · 1 comment · Fixed by #2328
Assignees
Labels
bug Something isn't working

Comments

@polisvfx
Copy link

Describe the bug

When choosing sonarr as a source for calendar information, homarr starts parsing a massive amount of data instead of displaying a calendar.

Homarr is 1.5.0 running inside of an LXC on Proxmox.
Connecting to a sonarr instance running remotely through HTTPS over a caddy reverse proxy.
The setup is not really at fault as the virtually identical radarr integration is working flawlessly.

When calling the Board, massive amounts of data are flushed through the logs but are mostly repeating a similar pattern:

"message": "Invalid enum value. Expected 'screenshot' | 'poster' | 'banner' | 'fanart' | 'clearlogo', received 'unknown'" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 7, "series", "images", 3, "remoteUrl" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 7, "images", 0, "remoteUrl" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 8, "series", "images", 0, "remoteUrl" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 8, "series", "images", 1, "remoteUrl" ], "message": "Required" }, { "code": "invalid_type", "expected": "string", "received": "undefined", "path": [ 8, "series", "images", 2, "remoteUrl" ], "message": "Required" }, { "received": "unknown", "code": "invalid_enum_value", "options": [ "screenshot", "poster", "banner", "fanart", "clearlogo" ], "path": [ 8, "series", "images", 3, "coverType" ],

Resulting in a calendar like this:

Image

Steps to reproduce

Connect sonarr integration via URL and API, add a calendar widget, edit widget to use sonarr as a source.

Impact

Calendar widget is not rendering as expected.

Additional information

This is being run as a LXC from helper-scripts.com on Proxmox 8.3.0

Version

1.5.0

Installation method

Other (describe in "additional information")

Browser

Chrome

@manuel-rw manuel-rw added bug Something isn't working and removed needs triage labels Feb 14, 2025
@manuel-rw manuel-rw self-assigned this Feb 14, 2025
@manuel-rw manuel-rw moved this to In Progress in Homarr prioritized backlog Feb 14, 2025
@manuel-rw
Copy link
Member

Available cover types in Sonarr: https://github.com/Sonarr/Sonarr/blob/9e5ebdc6245d4714776b53127a1e6b63c25fbcb9/src/NzbDrone.Core/MediaCover/MediaCover.cs#L5-L14
I will update our code to reflect this enum...

@manuel-rw manuel-rw linked a pull request Feb 14, 2025 that will close this issue
4 tasks
@github-project-automation github-project-automation bot moved this from In Progress to Done in Homarr prioritized backlog Feb 15, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants