-
Notifications
You must be signed in to change notification settings - Fork 5
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
Media player cover url #12
Comments
At the moment, covers are only supported by the apps for Android and iOS. |
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?
The text was updated successfully, but these errors were encountered: