Three Mini Media Player layouts for Home Assistant: the default card, the material layout and shortcut buttons

Card guide Home Assistant custom cards

Mini Media Player for Home Assistant

kalkih/mini-media-player 1.7k By kalkih Last release 26 November 2026

A compact media player card: album art as a thumbnail, the card background or the whole card, a one-row layout, shortcut buttons, and several speakers stacked in one card.

What it is

Mini Media Player is one card, custom:mini-media-player, and every layout below is that card with a few options changed. Most of the change comes from two options: artwork, which decides where the album art goes, and hide, which removes parts of the card one at a time.

Hide the volume or the playback buttons and the card drops to a single row, short enough to fit several players on one dashboard. Shortcuts add buttons under the player. They can start a playlist, change the source, run a script or call any action, so the same card can set the room's lights for a film.

Text to speech and speaker grouping depend on what your speakers support, and our demo players support neither, so neither appears in the shots. The README lists the platforms for each.

It installs through HACS.

What it gives you

Shot on Home Assistant 2026.10.1. Stock is Home Assistant with no theme installed; a theme changes how these look, not what they do.

Default

custom:mini-media-player

The artwork as a round thumbnail, then the track, a volume slider and the playback buttons.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.living_room_2
grid_options:
  columns: 12

Cover artwork

custom:mini-media-player

The album art fills the card background, with the controls drawn over it.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.kitchen
artwork: cover
grid_options:
  columns: 12

Material

custom:mini-media-player

The card takes its colour from the cover and fades the artwork in on the right.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.living_room_2
artwork: material
grid_options:
  columns: 12

Full cover

custom:mini-media-player

The whole cover at full size, with the track and controls along the bottom.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.kitchen
artwork: full-cover
info: short
grid_options:
  columns: 12

Compact

custom:mini-media-player

Hiding the volume drops the card to a single row, with the playback buttons beside the track.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.living_room_2
artwork: cover
info: short
hide:
  volume: true
  power_state: false
grid_options:
  columns: 12

Volume buttons

custom:mini-media-player

Down and up buttons with the volume as a percentage, in place of the slider.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.kitchen
volume_stateless: true
hide:
  volume_level: false
grid_options:
  columns: 12

Shortcuts

custom:mini-media-player

A row of buttons under the player. These set the living room lights to a scene.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.living_room_2
artwork: cover
hide:
  volume: true
shortcuts:
  columns: 4
  buttons:
  - name: Relax
    icon: mdi:sofa
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_relax
  - name: Movie
    icon: mdi:movie-open
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_movie_night
  - name: Read
    icon: mdi:book-open-variant
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_read
  - name: Bright
    icon: mdi:white-balance-sunny
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_concentrate
grid_options:
  columns: 12

Grouped players

custom:mini-media-player

Four speakers in one Entities card, the one playing with its buttons and the rest with volume only.

Show the YAML
custom:mini-media-player
type: entities
title: Speakers
grid_options:
  columns: 12
entities:
- type: custom:mini-media-player
  entity: media_player.living_room_2
  group: true
  info: short
  hide:
    volume: true
    power: true
- type: custom:mini-media-player
  entity: media_player.kitchen
  group: true
  hide:
    controls: true
- type: custom:mini-media-player
  entity: media_player.bedroom
  group: true
  hide:
    controls: true
- type: custom:mini-media-player
  entity: media_player.lounge_room
  group: true
  hide:
    controls: true

Idle view

custom:mini-media-player

With nothing playing, the card drops the controls and leaves the shortcuts.

Show the YAML
custom:mini-media-player
type: custom:mini-media-player
entity: media_player.lounge_room
artwork: cover
idle_view:
  when_idle: true
  when_paused: true
shortcuts:
  columns: 3
  buttons:
  - name: Relax
    icon: mdi:sofa
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_relax
  - name: Movie
    icon: mdi:movie-open
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_movie_night
  - name: Read
    icon: mdi:book-open-variant
    type: service
    id: scene.turn_on
    data:
      entity_id: scene.living_room_living_room_read
grid_options:
  columns: 12

The repository

kalkih/mini-media-player A compact media player card: album art as a thumbnail, the card background or the whole card, a one-row layout, shortcut buttons, and several speakers stacked in one card. View on GitHub
Author
kalkih @kalkih
Latest release
v1.17.0 26 November 2026
GitHub stars
1.7k
Install via
HACS Free, MIT

Maintenance: Maintained. The November 2026 release ended six months without one, and the default branch is moving again. We shot 1.17.0.

Built in instead: Home Assistant's Media control card shows the artwork, the track and the playback buttons, and a Tile card can add playback and volume controls, with nothing to install. Neither shrinks to one row, colours itself from the cover or stacks several speakers in one card.

Frequently asked questions

Can it group my Sonos speakers?

Yes. The speaker_group option adds a button that joins and unjoins speakers, on Sonos, SoundTouch, MusicCast, HEOS and a few other platforms. Our demo players don't support grouping, so it isn't shown here.

Why does the material layout show no colour?

It needs artwork to take the colour from. A player with no entity_picture, or one that's off, draws the plain card.

Can the text stay readable on a pale cover?

Yes. Set adaptive_color to true and the cover layouts pick a text colour with enough contrast against the artwork, as the material layout already does.

Can I change its colours from my theme?

Yes. It reads its own theme variables, such as mini-media-player-accent-color and mini-media-player-overlay-color, so a theme can restyle it without touching the card.

Still need a hand?

We answer most messages within one business day. If your question is about an existing order, have your order number ready. It speeds things up.

Contact us