Lovelace: Mini Media Player

Where is your config? The actual player under the card needs to support pausing, of course, but there is a config option for this card regarding play/pause buttons. Did you check the docs?

Config for the player I’m using that doesn’t show Pause as a status? Or do you mean the config for this player?

The card’s config.

Have you read the docs?

Yes, and I can’t figure out why I’m only getting Play and Idle status from the player when using Kodi. What would cause it to not show Pause as a state?

For the last time:

You mean the configuration.yaml ? I’m very new to HA and still learning, so please be patient with me. I followed the guide to download this player, but I don’t see it showing up in HA. Do I have to do something to activate it after downloading it? Does this code go in the configuration.yaml?

lovelace:
resources:
- url: /local/mini-media-player-
type: module

I believe I have the player working, but none of the controls work. I tap the Pause icon and nothing happens.

Are you configuring your dashboard via the UI? We need to see the YAML config behind that card.

Your card shows up, which means the installation is fine. The problem is the config for the card. The card is just the visual for the actual player (your Kodi entity).

When you added the card to your dashboard view, what steps did you follow (not talking about the installation steps)?

Is this the configuration.yaml you are talking about, or is there a separate one for the mini player?

I don’t think you are using the custom Mini Media Player card in that screenshot - that looks like the core Media Control card.

This is not the forum thread to discuss that - you’d be better off starting a new thread describing your problem with pausing Kodi as a media player. It sounds more like an issue you are having with the underlying Kodi integration rather than the card you are using to display it on your dashboard.

I’m trying to test this player to see if it shows the Pause state, or is that not likely? At the very least, I’d like to get the controls to work on a player.

You need to take a step back and read this:

You’re not answering the questions you’ve been asked — several times. Being new isn’t an excuse for that.

I think you’re right, but they do have the module for MMP configured. It’s impossible to understand what they’re doing if they’re not answering basic questions.

I did answer your question but you didn’t answer my question. I asked you if this was the yaml config you were referring to when you needed to see the yaml config. Being new means I don’t have a grasp at all the terminology yet. Not sure why you think that’s an “excuse”. If I knew everything, I wouldn’t be here asking for help.

How is this not answering your question???

Mate, it wasn’t possible to answer your question, because I don’t know the steps you followed. There are a few ways things can be done. That was why I was asking. You still haven’t retraced your steps. Either way, it doesn’t seem like you’re even using the card of this topic. I can’t help if things are unclear.

This is what I’ve done so far. I think this is where I’m stuck. Where do I put this url?

url: /hacsfiles/mini-media-player/mini-media-player-bundle.js type: module


Dashboard/Resources is where I added the url, is that correct?

According to the prior message, you’ve chosen the option to manually configure your dashboards, so it’s in YAML mode. That means, you must add that to the resources section of your configuration.yaml.

resources:
  - url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
    type: module

This is what you are referring to?

1 Like

I believe you are barking up the wrong tree. The states are provided by the integration. Mini media player is dashboard card. It doesn’t add a state to the media player entity. It shows the states provided by the integration.

And kodi provides playing, paused and idle. You can see those states in the developer tools/states page.

1 Like