Mini-media-player: Icons missing in HA 0.110.beta

Created on 18 May 2020  路  14Comments  路  Source: kalkih/mini-media-player

Since I installed the latest HA beta (0.110.0b3) my mediaplayers don't show the icons anymore.
The commands in more-info window works, but in lovelace the icons are missing.
Not only the "automatic icons" (Power, play,next stop ecc.), but also the ones in the custom shortcuts.
It's only me?

bug

All 14 comments

Hello, this was fixed in the latest release https://github.com/kalkih/mini-media-player/pull/301

@kalkih sorry,I had a problem and not really on 1.8.0, but...

even now, the normal icons are back, but the shortcut icons are not:

image

this is my config:

         - type: custom:mini-media-player
            entity: media_player.tvsala
            volume_stateless: true
            source: full
            hide:
              power: true            
            shortcuts:
               columns: 5 # Max buttons per row
               buttons:
                 - icon: mdi:power
                   type: service
                   id: script.turn_on
                   data:
                     entity_id: script.toggletv
                 - name: INFO
                   type: service
                   id: remote.send_command
                   data:
                      entity_id: remote.broadlink
                      device: television
                      command: info
                 - name: TV
                   type: source
                   id: DTV
                 - name: PC
                   type: source
                   id: HDMI 1
                 - name: Playst
                   type: source
                   id: HDMI 2

                 - icon: mdi:play
                   type: service
                   id: remote.send_command
                   data:
                      entity_id: remote.broadlink
                      device: television
                      command: play
                 - icon: mdi:pause
                   type: service
                   id: remote.send_command
                   data:
                      entity_id: remote.broadlink
                      device: television
                      command: pause
                 - icon: mdi:stop
                   type: service
                   id: remote.send_command
                   data:
                      entity_id: remote.broadlink
                      device: television
                      command: stop
                 - icon: mdi:fast-forward
                   type: service
                   id: remote.send_command
                   data:
                      entity_id: remote.broadlink
                      device: television
                      command: ffwd
                 - icon: mdi:record-rec
                   type: service
                   id: remote.send_command
                   data:
                      entity_id: remote.broadlink
                      device: television
                      command: record

Okay I'll look into the shortcut icons.

I can confirm I don't get shortcut icons. I'm using latest HA dev (pulled today), and MMP 1.8.0.

Home Assistant 0.110.0.dev20200512 + 1.8.0 fresh install
image
majority of the icons missing, can't controll really anything.

@kbalint Try clearing cache if you've updated the card, most icons will show up again with the latest version of the card (see screenshot posted above). Rest of the icons will be fixed with #304 (shortcut icons / dropdown icon)

@kalkih cache was the first I tried, but to no avail.

Check your resource reference, reinstall from HACS if installed from there.

@kalkih it was installed manually for a year or so, and have this problem since the last update to the HA *-latest docker image next week or so. I've updated mmp from HACS _today_ right before submitting - but has the same glitched ui; cache cleared and no errors in the console.

@mgiako @RogerSelwyn New release available, should fix the last missing icons, please give it a shot and let me know, thanks!

@kbalint Hmm... not really sure then, try hitting the "reload resources" button from the HA UI (in the three dot menu in the header).

@mgiako @RogerSelwyn New release available, should fix the last missing icons, please give it a shot and let me know, thanks!

That seems to have fixed it.

@kalkih problem solved, thanks!
@kbalint maybe you have my same initial problem.
Tell me, what do you have in resources: ?
this

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

or this

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

Great, thanks for the help 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davanda picture davanda  路  3Comments

porebas picture porebas  路  5Comments

rpitera picture rpitera  路  3Comments

darkkatarsis picture darkkatarsis  路  4Comments

Krocko picture Krocko  路  4Comments