nagyrobi / home-assistant-custom-components-linkplay

LinkPlay based media devices integration for Home Assistant.
169 stars 31 forks source link

Is it able to call an action to play a playlist on Linkplay device? #76

Closed dinhchinh82 closed 2 years ago

dinhchinh82 commented 2 years ago

I've installed this linkplay component and it works great.

By the way, I have not found the linkplay action of this component to play a playlist from local storage instead of selecting only 1 media file as current.

Is there a solution to support playing a playlist on Home assisstant action from Script/Automation?

Thank you.

nagyrobi commented 2 years ago

What do you mean by local storage?

dinhchinh82 commented 2 years ago

What do you mean by local storage?

I mean the local media files which are uploaded to the same storage with Home Assistant server or the media files on the same Local network with the Home Assistant instance.

nagyrobi commented 2 years ago

For that kind of playlists you need to use Music Assistant which is currently a Custom Component, still under development, but afaik will be included officially in Home Assistant when finished.

This component has preliminary (beta) support for Music Assistant natively with metadata and previous/next controls to navigate within a playlist. You will be able to use service calls of Music Assistant to select playlists, targetting any supported media player.

dinhchinh82 commented 2 years ago

@nagyrobi great !!. Thank you for your suggestion.