Skip to content

Subsonic getCoverArt API request URLs are getting shortened? #116

@joekrill

Description

@joekrill

I noticed that requests to the getCoverArt endpoint seem to be getting "chopped off". For example, I'm seeing requests like this:

http://myserver/rest/getCoverArt?v=1.10.2&c=SubMusic-v0.2.12-orestes&size=100&p=XXXXXX

At first I thought it was just not sending all of the parameters, because the error I'm seeing in Navidrome is:

level=warning msg="missing parameter: 'u'" requestId=1ba4f7e4e3bb/u0UdrztdUA-007355

But then I noticed that the p parameter was only the first 6 characters compared to what is being sent with the other requests. So I think what's actually happening is the URL is being cut off somehow?

Looking at the code, I'm not entirely sure why. This is the only request using Communications.makeImageRequest instead of Communications.makeWebRequest - so perhaps that has something to do with it. But it seems to be passing the same params, so I'm not really sure what's happening here.

Could this be what's causing #111 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions