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

[audio] fixed m3u and pls audio stream support #1604

Merged
merged 1 commit into from
Aug 22, 2020

Conversation

kaikreuzer
Copy link
Member

#1441 replaced IOUtils by Java NIO2 Files - unfortunately, Java NIO2 does not support HTTP(S) URIs, see https://stackoverflow.com/questions/48490014/can-i-use-nio2-file-path-for-non-local-file-system-schemas and hence this broke the m3u and pls audio stream support when those are used as an URL (as our demo files do).

This PR replaces Java NIO2 by a simple Scanner, which works quite well.

Signed-off-by: Kai Kreuzer kai@openhab.org

Signed-off-by: Kai Kreuzer <kai@openhab.org>
@kaikreuzer kaikreuzer requested a review from a team August 22, 2020 13:10
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@wborn wborn merged commit d426d3b into openhab:master Aug 22, 2020
@wborn wborn added this to the 3.0 milestone Aug 26, 2020
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this pull request Jul 11, 2023
Signed-off-by: Kai Kreuzer <kai@openhab.org>
GitOrigin-RevId: d426d3b
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.

2 participants