Skip to content

Music Assistant library uri support #299

@cofw2005

Description

@cofw2005

Hello,

I would like to ask to add support to below two Music Assistant library type.

filesystem_local--Lpx3nhcQ://track/.......
and
library://track/6881

In current code, there is
size_t mass_filesystem_local = payload.find("filesystem_local://");
But I don't know if Mass changed, I see my current local filesystem url is now different. There is "--Lpx3nhcQ" now after "filesystem_local". So the current code might not work.
And it would be great if also add the support to "library://".

As an example, I would like to realize a tag url to work like this action:

action: music_assistant.play_media
target:
  entity_id: media_player.sonos_mass
data:
  media_id: library://track/6881

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions