Open csrednicki opened 1 week ago
app_state_folder
expects the full path to the image file and, more importantly, it has to be accessible by the Wolf container.
My advice would be to make a folder under /etc/wolf/
(or where you store your config.toml
file) say icons/
and place the file there called sample-icon.png
. In this case the config will be:
icon_png_path = "/etc/wolf/icons/sample-icon.png"
We should definitely improve the docs on this..
Thank you for quick reply. I've applied changes you proposed to config.toml
icon_png_path = "/etc/wolf/icons/sample-icon.png"
This is screen from inside wolf container:
As you see file is placed in proper location and is accessible with proper rights.
Unfortunately moonlight still isn't displaying this icon correctly.
This is probably due to Moonlight caching those images, I'm going to take a look back at this over the next few days since I've also found a source for some good and open licensed defaults that we could include in Wolf..
Stay tuned 😉
This is probably due to Moonlight caching those images,
I tried it on few different clients (android tv and windows). I also looked on windows into c:\Users\username\AppData\Local\Moonlight Game Streaming Project\Moonlight\cache\boxart\
where Moonlight is keeping its cache. Folder for this client was empty.
Ive been able to replicate this issue with Sunshine stream as well where Moonlight refuses to update the box art. I would suggest logging an issue with Moonlight as in my experience this problem isn't strictly related to wolf / sunshine stream and more related to the client not correctly updating its cache
In the newest wolf docker image ghcr.io/games-on-whales/wolf:stable
(hash: sha256:5761b9337fb3713894d4e86b0ea8dd08939883d46d381efbcf3942acb461a8ff
created 2024-10-28 21:45:36
) moonlight images are now working using this line in config.toml
:
icon_png_path = "/etc/wolf/icons/sample-icon.png"
I can see image for Steam application as seen below:
There are two problems now:
Hi, in Defining Apps section in documentation there is
icon_png_path
parameter. I tried to use it but it didn't work. Where this icon should be placed? I tried many different locations like folder defined inapp_state_folder
variable, app directory, defined path from system, path in container without any luck.Below you can find my app config and sample icon (I've created it for test purposes as PNG 628x888).
Here's my config:
Here's icon file: