# Spotify , source list

**URL:** <https://forum.hacf.fr/t/spotify-source-list/20224>\
**Category:** Entraide Home Assistant\
**Tags:** integration, interface-lovelace\
**Created:** [Janvier 27, 2023, 9:00 UTC](https://forum.hacf.fr/t/spotify-source-list/20224 "2023-01-27T21:00:38Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Janvier 15, 2025, 9:06 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/21 "2025-01-15T09:06:16Z")

</div>

l'entité de spotify.  
j'ai test une nouvelle carte et j'ai comme toi, il me demande un entity. Je ne comprends pas pourquoi mon code marche sans. Appart que j'utilise stack-in-card, et le lecteur spotify et youtube dedans.

 ![image](https://forum.hacf.fr/uploads/default/original/3X/1/6/1620340422265141cc0cc7693f2118bad3b374dd.png)

---

<div class="post-metadata">

**Author:** ![tony\_Tassery](https://forum.hacf.fr/user_avatar/forum.hacf.fr/tony_tassery/32/45812_2.png) [@tony\_Tassery](https://forum.hacf.fr/u/tony_Tassery)\
**Post date:** [Janvier 15, 2025, 9:07 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/22 "2025-01-15T09:07:47Z")

</div>

cette entité la

```auto
type: custom:mini-media-player
icon: mdi:spotify
group: true
info: scroll
entity: media_player.spotify_tonytassery
hide:
  volume: false
  power: false
  shuffle: false
  controls: false
  runtime: false
shortcuts:
  columns: 4
  buttons:
    - name: Ambiance
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.cuisine_echo_show
        uri: spotify:playlist:7oHEFDKocgdnE6Ynm3UmOH?si=2XAAyUXrTIGjryEElvHO3A
    - name: Vandal
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.nest_mini
        uri: spotify:playlist:6Z4Sxxxxxxxxxxxxxxxxxxxx
    - name: Weasel Buster
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.nest_mini
        uri: spotify:playlist:1oWxxxxxxxxxxxxxxxxxxxxxxxxx
    - name: NWA
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.nest_mini
        uri: spotify:playlist:0EFxxxxxxxxxxxxxxxxxx
    - icon: phu:echo-dot-gen-4
      name: Salle stéreo
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.sejour
    - icon: phu:echo-dot-gen-4
      name: Nest Mini SB
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.nest_mini_sdb
    - icon: phu:nest-mini
      name: Groupe
      type: service
      id: spotcast.start
      data:
        entity_id: media_player.groupe_google_nest_mini

```

---

<div class="post-metadata">

**Author:** ![tony\_Tassery](https://forum.hacf.fr/user_avatar/forum.hacf.fr/tony_tassery/32/45812_2.png) [@tony\_Tassery](https://forum.hacf.fr/u/tony_Tassery)\
**Post date:** [Janvier 15, 2025, 9:12 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/23 "2025-01-15T09:12:36Z")

</div>

peut tu m’expliquer le fonctionnement de ta card stp

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Janvier 15, 2025, 9:17 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/24 "2025-01-15T09:17:52Z")

</div>

Normalement, tu sélectionne la source ou sortir la musique  
 ![image](https://forum.hacf.fr/uploads/default/original/3X/b/5/b5067280d21163d21c29c19204b21482ffa55d68.png)

, puis la playlist a lire.  
 ![image](https://forum.hacf.fr/uploads/default/original/3X/0/5/05a9a4ad03a55e59bafe87ec5629369b1d3d0cd2.png)

Mais il y a eu des changements depuis et ca ne fonctionne plus comme ca. N'écoutant pas spotify, je mis suis pas trop repencher dessus.

---

<div class="post-metadata">

**Author:** ![tony\_Tassery](https://forum.hacf.fr/user_avatar/forum.hacf.fr/tony_tassery/32/45812_2.png) [@tony\_Tassery](https://forum.hacf.fr/u/tony_Tassery)\
**Post date:** [Janvier 15, 2025, 9:56 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/25 "2025-01-15T09:56:22Z")

</div>

comment change tu les couleur ?

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Janvier 15, 2025, 10:00 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/26 "2025-01-15T10:00:55Z")

</div>

avec card\_mod:

```auto
card_mod:
  style: |
    :host {
      --card-mod-icon-color: rgb(24, 216, 96);
      --mini-media-player-button-color: rgba(139,148,158,0.25);
      --mini-media-player-accent-color: rgb(24, 216, 96);
    }

```

> **[GitHub - kalkih/mini-media-player: Minimalistic media card for Home Assistant...](https://github.com/kalkih/mini-media-player?tab=readme-ov-file#theme-variables)**
>
> Minimalistic media card for Home Assistant Lovelace UI

Ou faire un thème et utiliser les variables.

---

<div class="post-metadata">

**Author:** ![tony\_Tassery](https://forum.hacf.fr/user_avatar/forum.hacf.fr/tony_tassery/32/45812_2.png) [@tony\_Tassery](https://forum.hacf.fr/u/tony_Tassery)\
**Post date:** [Janvier 15, 2025, 10:49 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/27 "2025-01-15T10:49:02Z")

</div>

pour les themes je ne comprends pas comment cela fonctionne

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Janvier 15, 2025, 10:53 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/28 "2025-01-15T10:53:33Z")

</div>

> [@Sections - alignement](https://forum.hacf.fr/t/sections-alignement/51334/9):
>
> Tu ajoutes ça dans configuration.yaml: frontend: themes: !include\_dir\_merge\_named themes Tu crées un dossier themes dans /config. Puis un dossier avec un nom du thème et tu crées un fichier au nom du thème en yaml. exemple du mobile.yaml mobile: #energy energy-grid-consumption-color-0: '#FF0000' energy-grid-consumption-color-1: '#00b300' paper-item-icon-color: '#808080' #mushroom chip mush-chip-icon-size: 23px mush-chip-background: rgba(158,158,158,0.2) …

---

<div class="post-metadata">

**Author:** ![tony\_Tassery](https://forum.hacf.fr/user_avatar/forum.hacf.fr/tony_tassery/32/45812_2.png) [@tony\_Tassery](https://forum.hacf.fr/u/tony_Tassery)\
**Post date:** [Janvier 15, 2025, 12:57 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/29 "2025-01-15T12:57:33Z")

</div>

jai essayer de mettre un border-radius de 50px cela ne fais rien

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Janvier 15, 2025, 4:02 UTC](https://forum.hacf.fr/t/spotify-source-list/20224/30 "2025-01-15T16:02:23Z")

</div>

![image](https://forum.hacf.fr/uploads/default/original/3X/8/7/87d6442afb43467b5a52a7580c21701305644619.png)

```auto
type: custom:mini-media-player
entity: media_player.spotify_xxxxxxxx
card_mod:
  style: |
    ha-card {
      --mmp-border-radius: 50px;
    }

```

[Page précédente](https://forum.hacf.fr/t/spotify-source-list/20224.md?page=1)
