-
Notifications
You must be signed in to change notification settings - Fork 212
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
prefix links in m3u-files with host+port of the node to allow for local playback with arbitrary keys #691
Conversation
^ this gives me working m3u playlists over Freenet, usable like normal web-radio. It should get us to the point where we can live-stream audio. |
Here’s an example with all working keys:
With this change you can now actually play the stream with |
…al playback with arbitrary keys. This leaks host+port of the node into the file, but otherwise we would not be able to support arbitrary keys: we would have to stick to files within the same prefix (i.e. SSK@…/) as the m3u file.
…licit license for Libre-JS
33dc7c2
to
9a8cf09
Compare
To simplify review, disable display of whitespace changes. IntelliJ auto-cleaned up a lot of empty-except-for-spaces lines. |
Yeah, don’t do any large formatting changes in the middle of a whole bunch of changes, this will make this quite unhandy to review… |
Those formatting changes came in unintentionally via IntelliJ auto-fixes and are pretty hard to undo after the commit is done :-/ I could try a rebase -i with squash and edit, but I’m not sure that that will make it easier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not completely done, will review more tomorrow!
test/freenet/clients/http/utils/UriFilterProxyHeaderParserTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We’re nearing the end of it! :)
test/freenet/clients/http/utils/UriFilterProxyHeaderParserTest.java
Outdated
Show resolved
Hide resolved
11ccbaa
to
6d8fc55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks good! Is there already a ticket for the next changes in the header-parsing code? As soon as there is, this is good to go, IMHO.
There’s no ticket for the next changes, but a pull-request: #716 |
Thank you for helping me make this work! You’re awesome! |
Even better! :) |
This leaks host+port of the node into the file,
but otherwise we would not be able to support arbitrary keys:
we would have to stick to files within the same prefix (i.e. SSK@…/) as the m3u file.