If we’re going to solve this I’m going to need a minimal example. Strip out everything, and then add back as little as possible until things break.
Becasue what you’re provided me just raises more questions.
You say you imported mini-media-player.js twice, but I only see it once in your resources section. Did you remove the other one? If so, are you still getting the same error?
The error says it’s in mini-media-player.js, but there isn’t even a mini-media-player card in your configuration.
Is the “irreleant crap” really irrelevant? I.e. have you actually removed it from your file, and still got the same error? If so, why did you feel the need to mention it?
I’m starting to get confused myself lol.
I have only imported the card once in the resources section. I’m then using it in 2 seperate vertical stacks.
I’m not showing the section of my Lovelace using that mini-media card.
I am using the upcoming media card with panel in vertical stacks. If I don’t set panel: true then I get one column in the middle of the screen with 3 column in it at 1/3 width. If I set panel: true then I get 1/3 of screen for each column which is ok but on my phone is hopeless as everything is too small.
So I thought I’d try and use your column card. I’m also playing around with 2 different Lovelace files - one that works and one where I’m playing with your card. I showed 3 examples of using your card up above. The irrelevant stuff is just settings for the upcoming-media card.
When I’m back on my computer tomorrow I’ll try and be clearer in the issues and I’ll post some screenshots as well. (I’m on my iPad at the moment)
Thanks for your interest. I’ll post again tomorrow.
If you put the file in your www/directory (i.e. www/useful-markdown-card.js), you should use the URL /local/useful-markdown-card.js in the resources: section.
If you did place it in www/custom_ui/ or if changing the URL doesn’t fix it, check your home assistant and browser logs and post anything that looks relevant.
This is really a great idea and so useful for me, but I couldn’t make it work.
I have the player-ID and have put it into the config file, but when I do TTS nothing happens. The log does not show any errors.
When I do TTS to my chromecast, it works just fine.
I have just updated lovelace-player. The functon LovelacePlayer.showDeviceID() is now called LovelacePlayer.debug() and gives a bit more information. Try updating, refreshing and check if it says your device is bound to anything.
It could be easier to test it out in a desktop browser at first, before you try it on a tablett. That way you can check for errors in the browser log as well.