github jianyu-li/yet-another-media-player v18.1.0b
Group Players and Pass Entity to Script

latest releases: v35.0.9, v35.0.8, v35.0.7...
pre-release10 months ago

New Features

  • You can now group supported players!
  • You can now pass the currently selected entity to a script

Group Players

Preview Image Collapsed

Pass entity to script

Example YAML config

type: custom:yet-another-media-player-beta
entities:
  - media_player.office_speaker_airplay
actions:
  - name: test
    icon: mdi:music
    service: script.test_music
    script_variable: true

Example Script

alias: test_music
mode: single
fields:
  yamp_entity:
    description: Target media player
sequence:
  - service: music_assistant.play_media
    data:
      entity_id: "{{ yamp_entity }}"
      media_id: apple_music://playlist/pl.6a236667fbc046a49b48ea9cf4e8b639
      enqueue: replace

Don't miss a new yet-another-media-player release

NewReleases is sending notifications on new releases.