Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814209 - <=media-sound/streamripper-1.64.6 fails with SR_ERROR_INVALID_METADATA when server uses chunked encoding
Summary: <=media-sound/streamripper-1.64.6 fails with SR_ERROR_INVALID_METADATA when s...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
Keywords: PATCH
Depends on:
Reported: 2021-09-21 19:08 UTC by Geo Theall
Modified: 2021-09-23 19:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

force streamripper to use HTTP/1.0 (streamripper-http-1.0.patch,439 bytes, patch)
2021-09-21 19:08 UTC, Geo Theall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Geo Theall 2021-09-21 19:08:33 UTC
Created attachment 740559 [details, diff]
force streamripper to use HTTP/1.0

Streamripper 1.64.6 recently started to fail for me while trying to rip a stream, exiting with :


Investigating turned up a long-standing open bug upstream for this -- Essentially, streamripper sends an HTTP/1.1 request for the stream but doesn't support chunked transfer encoding and fails if the response uses that.

As the upstream bug notes, the solution should be for streamripper to support chunked transfer encoding. Until then, a quick and dirty fix may be to patch streamripper to use HTTP/1.0 rather than HTTP/1.1. contains a patch (which I've attached) that does just that.