2025-05-15, 09:58 AM
(This post was last modified: 2025-05-15, 10:14 AM by jffan69. Edited 1 time in total.)
I am using Jellyfin in this container:
https://hub.docker.com/r/linuxserver/jellyfin
https://github.com/linuxserver/docker-je...Dockerfile
It allows a script to run on boot that sets some stuff for me for my custom UI setup that looks like Netflix.
When I go to my URL the page loads fine but then after a few seconds it seems like some javascript or something kicks in then the page title changes from Setflix back to Jellyfin. Any ideas what file or what I am missing changing for the page title to always be properly set?
https://hub.docker.com/r/linuxserver/jellyfin
https://github.com/linuxserver/docker-je...Dockerfile
It allows a script to run on boot that sets some stuff for me for my custom UI setup that looks like Netflix.
Code:
#!/usr/bin/env bash
sed -i 's/document.title="Jellyfin"/document.title="Setflix"/' "/usr/share/jellyfin/web/main.jellyfin.bundle.js" && sed -i 's/document.title=e||"Jellyfin"}/document.title=e||"Setflix"}/' "/usr/share/jellyfin/web/main.jellyfin.bundle.js" && sed -i 's/<title>Jellyfin/<title>Setflix/' "/usr/share/jellyfin/web/index.html"
cp /custom-cont-init.d/icons/* /usr/share/jellyfin/web/
sed -i 's%http://jellyfin.org%https://setflix.com%' "/usr/share/jellyfin/web/index.html"
sed -i 's%content="Jellyfin"%content="Setflix"%g' "/usr/share/jellyfin/web/index.html"
When I go to my URL the page loads fine but then after a few seconds it seems like some javascript or something kicks in then the page title changes from Setflix back to Jellyfin. Any ideas what file or what I am missing changing for the page title to always be properly set?