jellyfin / jellyfin-tizen

Jellyfin Samsung TV Client
https://jellyfin.org
988 stars 78 forks source link

Custom server CSS not applying to web UI on Tizen? #288

Open M4TH1EU opened 2 months ago

M4TH1EU commented 2 months ago

I don't know if it is by design or not but any custom CSS applied in the server settings is not respected by the Tizen client.

I tried to manually input my custom CSS in Profile -> Display -> Custom CSS on the TV but it doesn't seem to work either...

The UI is feels a bit barebone at times and it would be nice if we could apply custom CSS on our TVs just like we can on desktop/mobile.

M4TH1EU commented 2 months ago

After more testing it seems that the Tizen client doesn't support relative paths.

works everywhere

@import url("https://jellyfin.xxxx.xxx/web/custom/css/test.css");

doesn't work on tizen but works everywhere else :

@import url("/web/custom/css/test.css");
dmitrylyzo commented 2 months ago

Because Tizen app uses the embedded webui, not the one on the server where your custom.css is located. So the relative path starts from the local internal location.