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

[radiobrowser] Initial contribution #16392

Merged
merged 47 commits into from Feb 20, 2024
Merged

[radiobrowser] Initial contribution #16392

merged 47 commits into from Feb 20, 2024

Conversation

Skinah
Copy link
Contributor

@Skinah Skinah commented Feb 11, 2024

A new binding to navigate and find internet radio broadcasts.
This functionality has been built in to Home Assistant for > 2 years, so it scores high on how many systems use it, as it's installed by default and they need to opt out. 71.6% of their systems at this point in time due to this.
So I feel its time we have the ability for users to come across and have similar ability, done in a different and hopefully better way that has actually helpful documentation.

I feel this is far more flexible than HA's current implementation, which is funny as it is now 2 years on and basic stuff did not get added that users are asking for.
In this binding you can apply multiple filters at a time and can automate the filter changes as they are channels. You can filter to USA + Texas + Spanish + Polka Music to probably get no results with that combo, but its flexible to turn the > 45,000 radio stations down to a short list to try streaming by applying multiple filters.

I added a widget to make using it easier, as a URL text string is not useful for anyone.
https://community.openhab.org/t/radio-browser-basic-widget-for-finding-internet-radio-streams-with-the-ui/153783

@Skinah Skinah added new binding If someone has started to work on a binding. For a new binding PR. work in progress A PR that is not yet ready to be merged labels Feb 11, 2024
@Skinah Skinah requested a review from a team as a code owner February 11, 2024 01:31
@Skinah Skinah changed the title [radiobrowser] Initial contribution Work In Progress but close to done. [radiobrowser] Initial contribution Feb 11, 2024
@Skinah Skinah removed the work in progress A PR that is not yet ready to be merged label Feb 11, 2024
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Looks like a very nice binding. Just finished my first pass of review, checked all files. There are some questions and suggestions, let me knwo if something is unclear.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Skinah and others added 8 commits February 13, 2024 19:00
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…nhab/binding/radiobrowser/internal/RadioBrowserBindingConstants.java

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…nhab/binding/radiobrowser/internal/RadioBrowserBindingConstants.java

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Skinah and others added 21 commits February 13, 2024 20:13
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…nhab/binding/radiobrowser/internal/api/RadioBrowserApi.java

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…nhab/binding/radiobrowser/internal/RadioBrowserHandler.java

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…nhab/binding/radiobrowser/internal/RadioBrowserHandler.java

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…-INF/thing/thing-types.xml

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
@Skinah
Copy link
Contributor Author

Skinah commented Feb 17, 2024

@lsiepel Thank you for the review, I have address all comments now.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Thank you for contributing this new binding. LGTM.
Do you need more time to test, as you are still adding commits?

@Skinah
Copy link
Contributor Author

Skinah commented Feb 20, 2024

I cannot find any more bugs, and a small number of users have reported it works on forum, so let's merge.

@lsiepel lsiepel merged commit e1bd490 into openhab:main Feb 20, 2024
3 checks passed
@lsiepel lsiepel added this to the 4.2 milestone Feb 20, 2024
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* initial code

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants