Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.26k stars 236 forks source link

Media player page #1859

Open cr4shydlo opened 4 months ago

cr4shydlo commented 4 months ago

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

edwardtfn commented 4 months ago

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.

cr4shydlo commented 4 months ago

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:

edwardtfn commented 4 months ago

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 commented 4 months ago

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 https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1082 grid of icons to active scripts or similar to change playlists, radios etc on ha side.

grigi commented 3 months ago

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.