Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Images not loading in iOS #37

Open
jbeck22 opened this issue Apr 9, 2020 · 11 comments
Open

Source Images not loading in iOS #37

jbeck22 opened this issue Apr 9, 2020 · 11 comments
Labels
bug Something isn't working

Comments

@jbeck22
Copy link

jbeck22 commented Apr 9, 2020

I'm on HA version 0.108.0 -- updated earlier today. iOS version 13.4.1 -- updated earlier today.

When I'm on a PC or MAC I see my source icons. But from an iPad or iPhone in Safari or Chrome neither display the source icons.

@jbeck22 jbeck22 added the bug Something isn't working label Apr 9, 2020
@ThatGuySM
Copy link

ThatGuySM commented Apr 11, 2020

Having same issue. Only shows place holders.
C9A60426-351B-430F-B7DC-8F78058F3764

@tescher
Copy link

tescher commented Apr 13, 2020

Same here, on web version - Firefox 75 on Win 10

@haux03
Copy link

haux03 commented Apr 16, 2020

Loaded up today and images not loading for me either. Home Assistant 0.108.3, using Chrome Version 80.0.3987.163 on Windows 10. Everything else working great. Thanks.

@maxxxxpower
Copy link

Ditto. Could it have to do with the change from /community_plugin/ to /hacsfiles/ in terms of file structure?

I have tried changing the icon path to a few different ones, with webp copies of the icons in each, but haven't been able to get them to load.

@maxxxxpower
Copy link

Working again for me. I had updated the image paths to /local/roku-card/image.webp, but no go, despite the files existing at hacsfiles/roku-card/image.webp.

I recreated /community_plugin/roku-card/image.webp. Pointed the roku-card icons to those files and it's working again. Not sure why it did not work when trying both /local/ and /hacsfiles/ instead of /community_plugin/.

@Geezus42
Copy link

I cannot get them to load on Firefox 77. I have tried changing the path using the full path and the suggestions above.

@Geezus42
Copy link

Geezus42 commented Jul 2, 2020

This is what I get from:

cards:
  - entity: media_player.holocron
    type: media-control
  - apps:
      - app: Netflix
        hold_action:
          action: call-service
          service: media_player.select_source
          service_data:
            entity_id: media_player.holocron
            source: YouTube
        image: /local/netflix.png
      - app: Disney Plus
        hold_action:
          action: call-service
          service: media_player.select_source
          service_data:
            entity_id: media_player.holocron
            source: Hulu
        image: /local/disney.png
    entity: media_player.holocron
    tv: true
    type: 'custom:roku-card'
    volume_down:
      double_tap_action:
        action: call-service
        service: remote.send_command
        service_data:
          command: play
          entity_id: remote.holocron
    volume_up:
      double_tap_action:
        action: call-service
        service: remote.send_command
        service_data:
          command: play
          entity_id: remote.holocron
type: vertical-stack

image

@iantrich
Copy link
Owner

iantrich commented Jul 7, 2020

Still not able to replicate this, but a potential workaround that I added is the ability to use icons for apps instead: https://github.com/iantrich/roku-card/releases/tag/1.1.4

@Geezus42
Copy link

Using icons does not work for me either. I know there's no mdi icon for Disney but there is for Netflix.

apps:
  - app: Netflix
    hold_action:
      action: call-service
      service: media_player.select_source
      service_data:
        entity_id: media_player.holocron
        source: YouTube
    icon: 'mdi:Netflix'
  - app: Disney Plus
    hold_action:
      action: call-service
      service: media_player.select_source
      service_data:
        entity_id: media_player.holocron
        source: Hulu
    icon: 'mdi:Disney'
entity: media_player.holocron
select:
  hold_action:
    action: call-service
    service: media_player.select_source
    service_data:
      entity_id: media_player.holocron
      source: Xbox
tv: true
type: 'custom:roku-card'
volume_down:
  double_tap_action:
    action: call-service
    service: remote.send_command
    service_data:
      command: play
      entity_id: remote.holocron
volume_up:
  double_tap_action:
    action: call-service
    service: remote.send_command
    service_data:
      command: play
      entity_id: remote.holocron

image

@iantrich
Copy link
Owner

iantrich commented Jul 10, 2020

mdi:netflix not mdi:Netflix
I use mdi:castle for Disney
image
Note, this is not the Roku card, just buttons (I don't use my own card anymore 🤣 )

@Geezus42
Copy link

Alright, that works. The mdi website listed the netflix icon with the capital N.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants