kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.47k stars 206 forks source link

progress bar "view only"? #846

Open IoSonoAndreaZ opened 2 weeks ago

IoSonoAndreaZ commented 2 weeks ago

Is it possible to set the progress bar "view only" so that it will not be possible to jump to another moment touching it by mistake? I want the player without any kind of buttons, progress bar visible (but not actionable), and tap action to toggle pause. So far everything is achieved except for the progress bar thing:

type: custom:mini-media-player
entity: media_player.plex_plex_htpc_for_linux_krogpc_skylake
artwork: material
info: scroll
volume: true
group: false
tap_action:
  action: call-service
  service: media_player.media_play_pause
  service_data:
    entity_id: media_player.plex_plex_htpc_for_linux_krogpc_skylake
visibility:
  - condition: state
    entity: media_player.plex_plex_htpc_for_linux_krogpc_skylake
    state_not: unavailable
hide:
  power: true
  mute: true
  prev: true
  next: true
  volume: true
  play_pause: true
  icon: true
IoSonoAndreaZ commented 3 days ago

I vote this