I was wondering, is there a maximum number of letters for sources in the source picker? Not all my sources are showing after being selected, and I then reload the page. Music is still playing, but the source is empty. I still see them all in the list, when I press the source picker. I have noticed, that the sources with short names are visible even after reloading the page, but longer sources seem to disappear.
Alright, I need a bit more info to try to re-create this.
Roughly, how many characters are the sources that doesnât show?
Which browser are you having this issue in?
Are you on the latest version v0.8.2?
Does it show up in the regular source select (more info dialog)?
Is it just this particular source that doesnât show up?
Is it still saying âAfslapningâ if you refresh the site?
Yes, I have tried with the newest, same result.
It is only Skala FM and DR P3 that works. The rest results in not being visible, if I refresh the site, eventhough the source is correctly playing. And no, they do not show up in the regular source select either
Oooh wait! It seems that only the sources connected to a tunein station works. The rest are playlists marked as Sonos Favourites. I think that could be the issue. Just tried adding a new radio station, and that one workes just as the other stations DR P3 and Skala FM.
Ok, itâs possible that this is a bug in the sonos component where the source attribute is not reported to the entities state properly. Thatâs probably also why itâs gone after a refresh since I use the entities source attribute to display the current source.
Which seems to work fine. But I am getting this error:
2018-10-02 10:23:57 ERROR (MainThread) [frontend.js.latest.201809270] https://domain.duckdns.org:30443/local/mini-media-player.js?ver=0.8.3:680:22 NotSupportedError: Cannot define multiple custom elements with the same tag name
I actually saw this error in my log once as well, but it didnât make sense so I ignored it and it has not showed up again.
My first thought was that it were a caching issue, where the old version would still be loaded in parallel with the new one.
The error message indicates that the custom-element tag name mini-media-player (I suppose) is already defined.
The card still works as expected right?
You donât import the mini-media-player twice under resources: in ui-lovelace.yaml?
Would you mind posting everything from your resources: in your ui-lovelace.yaml?
Error indicates that there is a < (<) token in the mini media-player.js file at row 9.
This seems strange, that shouldnât be there.
I would suggest checking your mini-media-player.js file to make sure everything is fine there, compare it with this.
Loving this card, however Iâm also getting the âmini-media-playerâ doesnât exist error.
The annoying thing is that it is happening on my FireHD tablet, running fully kiosk browser. The mini media player card works ok in Chrome on Desktop. Iâve set the type: module correctly.
I installed Fully Kiosk on my Google Pixel 2XL just to test and the card works fine.
But I suspect the web engine might be different on your Fire tablet and might not support some ES5/ES6 features that are used in this card.
Make sure you have javascript_version: latest in your configuration.yaml under frontend:.