Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix Rdio Scanner API call to comply with HTTP standards #1730

Merged
merged 1 commit into from Nov 12, 2023

Conversation

EricTendian
Copy link
Contributor

I was running into some weird issues with my proxy that was processing Rdio scanner API calls, it turns out that SDRTrunk doesn't send a valid HTTP request, so not all servers can process it correctly. There cannot be two content type headers, so I'm removing the audio/mpeg one as it's able to be derived from the .mp3 filename in Rdio scanner itself. Additionally, there was an extra space in the multipart form filename syntax, which may also cause some issues.

I've verified that the changes work fine with Rdio scanner.

@DSheirer DSheirer self-assigned this Nov 12, 2023
@DSheirer DSheirer added this to the Version 0.6.0 milestone Nov 12, 2023
@DSheirer DSheirer merged commit 8599aeb into DSheirer:master Nov 12, 2023
3 checks passed
@tadscottsmith
Copy link
Collaborator

Thanks Eric!

@EricTendian EricTendian deleted the rdio-scanner-http-fix branch May 3, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants