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

Media player page #1859

Open
cr4shydlo opened this issue Mar 5, 2024 · 5 comments
Open

Media player page #1859

cr4shydlo opened this issue Mar 5, 2024 · 5 comments
Labels
Enhancement For suggestions that add new features or improve existing functionalities. Page: media_player Concerns specific to the page's interface or functionality.

Comments

@cr4shydlo
Copy link

Enhancement Summary

This feature will enable users to control, select radio stations, and manage speakers directly from the NSPanel interface

Detailed Description

Control Functions: Users will have the ability to control media playback functions such as play, pause, stop, and skip directly from the NSPanel.

Radio Station Selection: The Media Player Card will allow users to browse and select from available radio stations conveniently within the NSPanel interface.

Speaker Management: Users will be able to manage speaker output settings, including volume control and speaker selection, directly from the NSPanel.

Additional Context

No response

@cr4shydlo cr4shydlo added the Enhancement For suggestions that add new features or improve existing functionalities. label Mar 5, 2024
@edwardtfn
Copy link
Collaborator

Control Functions: Users will have the ability to control media playback functions such as play, pause, stop, and skip directly from the NSPanel.

This is already available.

Speaker Management: Users will be able to manage speaker output settings, including volume control and speaker selection, directly from the NSPanel.

Volume control is currently available.

@edwardtfn edwardtfn added the Page: media_player Concerns specific to the page's interface or functionality. label Mar 6, 2024
@cr4shydlo
Copy link
Author

Great! Any idea how to add this :
Radio Station Selection ? Now i make script that play a radio, and add this as button. But if can here make a list from Radio Browser or something else will be great.
And any idea how to add info about what is plaing when i use this script :
"wlacz_radio_3_kuchnia:
alias: Włącz Radio 3 Kuchnia
sequence:

  • service: media_player.play_media
    data:
    media_content_id: http://mp3.polskieradio.pl:8904/
    media_content_type: music
    target:
    entity_id: media_player.kuchnia
    mode: single
    icon: mdi:music"

@edwardtfn
Copy link
Collaborator

On the media player page, it will show the info based on the attributes of your media player entity (media_player.kuchnia in your example). It should show what is playing (title and artist) if provided by the integrations.

Unfortunately a radio selector is not yet available and we haven't started any work on this direction. We most likely would need a dropdown selector, which is not available on the Nextion display used by Sonoff on the NSPanels. I have some ideas to develop this component, but have to find some time. With that, it would probably be feasible to add a radio or media selector to that page.

@quenthal
Copy link

quenthal commented Mar 7, 2024

On the media player page, it will show the info based on the attributes of your media player entity (media_player.kuchnia in your example). It should show what is playing (title and artist) if provided by the integrations.

Unfortunately a radio selector is not yet available and we haven't started any work on this direction. We most likely would need a dropdown selector, which is not available on the Nextion display used by Sonoff on the NSPanels. I have some ideas to develop this component, but have to find some time. With that, it would probably be feasible to add a radio or media selector to that page.

That would be great. One step forward would also be - as described and with some changes to layout as shown in thread #1082 grid of icons to active scripts or similar to change playlists, radios etc on ha side.

@grigi
Copy link

grigi commented Apr 6, 2024

If you could add a few custom buttons that run some automation, I could set it up to e.g. play a specific radio channel, or a random playlist?
Honestly, that just about sums up our audio requirements at my home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For suggestions that add new features or improve existing functionalities. Page: media_player Concerns specific to the page's interface or functionality.
Projects
None yet
Development

No branches or pull requests

4 participants