Skip to content

Automation with local files or playlists #1725

Closed Answered by OzGav
semaf asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry I had to go out. Yes if you look at the examples at the bottom of the FAQ for how to use the play_media service you will see you can specify a track name via uri like this Billy Joel - A Matter of Trustor if you have a play with the service in the developer tools you will see you can also do this

service: mass.play_media
target:
  entity_id:
    - media_player.squeezeplay_80_1f_02_ab_1b_53
  device_id: []
  area_id: []
data:
  media_type: track
  enqueue: replace
  media_id: piano man
  artist: Billy Joel

I have updated the FAQ text to be clearer and to match the examples at the bottom

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@semaf
Comment options

@semaf
Comment options

@semaf
Comment options

@OzGav
Comment options

Answer selected by OzGav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants