This was a reply to @staceydodds
I do not believe you can stream urls to alexa devices
Can you create a shortcut to directly open the Sonos radio station-favorites? Instead of having to tap on the media-icon, then “Search Media” → “Favorites” → “Radio”.
try as follows:
type: custom:mini-media-player
entity: media_player.gunters_echo_dot
shortcuts:
buttons:
- name: Radio21
type: custom
id: play radio21
icon: mdi:radio
@Reini79
I’m sorry that I’m only writing now
Thanks for your answer!
This code works now:
type: custom:mini-media-player
entity: media_player.gunters_echo_dot
artwork: cover
info: short
shortcuts:
buttons:
- name: Radio21
icon: mdi:radio
type: music
id: media-source://radio_browser/e417eec8-b2ad-466f-9a3c-ce4abd05c37a
volume_stateless: true
announce: true
group: false
toggle_power: false
source: full
sound_mode: full
Unfortunately the volume changes independently.
Advertising louder
Music quieter
News quieter.
Can that be changed?
Quick question: I use the screenshot provided by Android ADB as artwork in mini-media-player. Is there a way to instruct (or modify) mini-media-player to hold and use the last image whenever an image becomes no longer available?
Example: The artwork displays find most of the time on my Nvidia Shield. However, when a movie starts on Hulu or Disney plus, an entity_picture is no longer provided. Rather than going blank, I’d prefer that mini-media-player just hold the last image received.
can you share this amazing card? THANX
Hi,
i was playing with the new Sections dashboard and noticed that the dimension of the tiles are not perfectly aligned.
Does anyone knows if it is just me or is a common bug?
Thanks
I have a lot of google speakers at home and I am looking for a way to use some kind of variable input for the entity. At the moment I use my spotify integration as the media_player entity, but that is kind of slow when new song/speaker is choosen.
I have also tried using conditional cards for each speaker, but every time I buy a new speaker or create a new group I have to do a lot of coding.
I have a script (in node-red) that saves the information of the current playing speaker or group and I would like to use this as an input to the entity, to minimize the amount of code needed.
Is there anyway of solving this in a nice way?
Here is an example of the minimal amount of code I am looking for (but that does not work)
type: custom:mini-media-player
entity: >
{{ 'media_player.livingroom' if (states('input_text.active_speaker')
== 'Livingroom') else 'media_player.kitchen' }}
Hi,
I was successful in setting up mini player with radio stations (from radio browser). Now I want to stream mp3s from my Synology NAS (DLNA), either specific folders or genre. How can I do this?
This is my DLNA server from synology:
Here my card:
And here is the code from my card:
type: custom:mini-media-player
entity: media_player.ue46f5500
hide:
volume: false
power_state: false
icon_state: true
power: true
volume_level: false
play_pause: true
source: true
shortcuts:
columns: 3
hide_when_off: 0
buttons:
- data:
entity_id: media_player.chromecast_dg_2
media_content_id: media-source://radio_browser/cbd9a2cb-7e37-4362-9eb3-269ed743fc62
media_content_type: audio/mpeg
id: media_player.play_media
name: null
cover: /local/bilder/ö1.jpg
type: service
- data:
entity_id: media_player.chromecast_dg_2
media_content_id: media-source://radio_browser/8a3685e2-711e-4764-9080-6fa143c33014
media_content_type: audio/mpeg
id: media_player.play_media
name: null
cover: /local/bilder/radiowien.jpg
type: service
- data:
entity_id: media_player.chromecast_dg_2
media_content_id: media-source://radio_browser/e723f7f8-0db1-4bc5-a64c-64d8377f9f9a
media_content_type: audio/mpeg
id: media_player.play_media
cover: /local/bilder/ö3.jpg
type: service
- data:
entity_id: media_player.ue46f5500
source: HDMI
id: media_player.select_source
type: service
name: switch HDMI
icon: mdi:audio-video
info: short
name: Chromecast DG | Samsung TV
source: icon
sound_mode: icon
artwork: cover
volume_stateless: false
Hello.
I use Mini Media Player for my Sony tv (andoird tv).
I can control the volume and turn on and off the tv.
i would like to have 3 buttons which will change the source of the tv to a specific app like, spotify or nordvpn.
here is my code:
type: custom:mini-media-player
name: Living Room TV
entity: media_player.android_tv_192_168_1_127
artwork: cover-fit
source: full
sound_mode: icon
info: short
shortcuts:
columns: 3
buttons:
- icon: fapro:freetv (1)
type: source
id: tv.freetv.androidtv
- icon: fapro:Nordvpn1 (1)
type: source
id: com.nordvpn.android
- icon: fab:spotify
type: source
id: Spotify
hide:
source: true
volume_stateless: true
hope someone can help me with this.
Hi,
Anyone know how to change the ‘placeholder’ text in the TTS input?
I want to change it from Text to speech… to Search…
Thanks.
Hi,
I want to mute a different player, so I use button:
type: custom:mini-media-player
entity: media_player.chromecast_wz_3
artwork: cover
name: Wohnzimmer
shortcuts:
columns: 3
buttons:
- data:
entity_id: media_player.tx_nr616
id: media_player.volume_down
type: service
name: Vol -
- data:
entity_id: media_player.tx_nr616
id: media_player.volume_up
type: service
name: Vol +
- data:
entity_id: media_player.tx_nr616
is_volume_muted: "{{ not state_attr('media_player.tx_nr616','is_volume_muted') }}"
id: media_player.volume_mute
type: service
name: Mute
Vol + and - are working, but mute not with following error:
Why is the template for “is_volume_muted” an invalid boolean? Under developer tool it seems to be ok:
Any ideas?