atx512
January 4, 2024, 10:21pm
1
I would like to map tap_action
on my Mini Media Player to the Browse Media functionality which you normally see on the More Info pop-up:
I was able to easily create a script that works when I run from Scripts:
alias: Browse media
sequence:
- service: media_player.play_media
target:
entity_id: media_player.spotify_bj78750spotify
data:
media_content_id: ""
media_content_type: ""
metadata: {}
mode: single
But I can’t get it to work, after multiple attempts using slightly different approaches, such as:
tap_action:
action: call-service
service: script.browse_media
service_data:
entity_id: media_player.spotifyUser
Help? Thank you!
gmsiegel
(umbighouse)
January 11, 2024, 1:22pm
2
Did you get this to work? I tried your sample script, but it wouldn’t run for me. It gives me this error:
Failed to call service script/<script id>. Entity media_player.spotify_<my account> does not support this service.
atx512
January 13, 2024, 1:17pm
3
Not yet. Still looking for help with this.
thlucas
(Todd Lucas)
March 25, 2024, 1:13am
4
@atx512 @gmsiegel
Sorry I am late to the party on this, but if you are still interested in a Mini Media Player Browse Media button for Spotify content read on …
I use Mini Media Player for my SpotifyPlus integration . Check out the UI Dashboards wiki page for an example of how to add a browse media button to the Mini Media Player, what it looks like, requirements, etc. Note the browser_mod 2 requirement.
You should be able to tweak that for the standard Spotify integration, or feel free to upgrade to my SpotifyPlus integration - it does everything the standard Spotify integration does and much more.
Hope it helps!
gmsiegel
(umbighouse)
March 26, 2024, 4:17pm
5
I’m trying your code but get this error when I click any of those buttons:
(I have the mini media player and browser mod stuff installed)
Player does not support browsing media
thlucas
(Todd Lucas)
March 26, 2024, 5:16pm
6
@gmsiegel Are you trying this with the SpotifyPlus integration ? Or just using the built-in Spotify integration?
Also, I would need to see your YAML definition.
It’s almost like you are referencing the wrong player somewhere in the YAML maybe?
Bxsteez
October 28, 2024, 12:10am
7
I could never get this to work. There would be no popup even with popups allowed. I click and nothing happens
sternyy
(Bryan)
November 27, 2024, 10:00pm
8
I could not get this to work either. Links work manually but buttons do not. mod 2.0 installed and browser regestered.
So there is no way to call up the BUILT IN browse media feature?