Open bobvandevijver opened 6 months ago
At the moment, covers are only supported by the apps for Android and iOS. The web interface is not yet able to display covers.
While it does indeed work in the mobile app for public URLs, this is still an issue for URLs that require some sort of authentication or retrieval from the internal player.
Support for authentication when downloading covers is not available and not planned.
If you need something like that you could try to proxy the request from inside an addon and add authentication in the proxy.
Looks like the app already proxies the request for the mobile app, as it does seem to work when not on the same network. This means that only the issue in with the web interface stands.
I am trying to get the media player cover URL to work, but currently I am hitting two apparent bugs.
Code snippet:
Using an actual, external URL doesn't work (http doesn't make a difference). I am greeted by an error in the browser console notifying that the request has been blocked. Not only has the URL been converted to
http://localhost:0/s67814/images/logoq.jpg?t=637596572990000000
, but it also looks like the CSP would have blocked it even if the URL would have been correct. Even if the CS would not block these items, it can still break when images must be sourced from an internal address which might not be available from the device the interface is rendered from.Using the base64 encoded images I have more success, but when I try to use something that is larger than a couple of pixels, I am greeted by an Free@Home error notifying me that the data is too large:
So the real question: is there a way of storing a file somewhere on the SysAp which generates a certain URL that can be used there?