Jellyfin Forum
Where is the config.json file on Windows? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Where is the config.json file on Windows? (/t-where-is-the-config-json-file-on-windows)

Pages: 1 2 3


Where is the config.json file on Windows? - 4r5hw45twh - 2024-10-06

Can't seem to find it. I checked ProgramData & Program Files folders. I would like to simply add a link at the top/bottom of my JF server that people can click/tap on. Not using Docker with JF, by the way.


RE: Where is the config.json file on Windows? - TheDreadPirate - 2024-10-06

C:\Program Files\Jellyfin\Server\jellyfin-web\config.json


RE: Where is the config.json file on Windows? - 4r5hw45twh - 2024-10-06

(2024-10-06, 06:05 PM)TheDreadPirate Wrote: C:\Program Files\Jellyfin\Server\jellyfin-web\config.json

Oh nice, thank you. Overlooked it. Follow-up question: Now, how do I add an actual message with a clickable URL on the server at the top or bottom?

Example: "Click here!" with "here" hyperlinked.


RE: Where is the config.json file on Windows? - TheDreadPirate - 2024-10-06

https://jellyfin.org/docs/general/clients/web-config/#custom-menu-links


RE: Where is the config.json file on Windows? - 4r5hw45twh - 2024-10-07

(2024-10-06, 08:31 PM)TheDreadPirate Wrote: https://jellyfin.org/docs/general/clients/web-config/#custom-menu-links

Code:
"menuLinks": [
    {
        "name": "Custom Link",
        "url": "https://jellyfin.org"
    },
    {
        "name": "Custom Link w. Custom Icon",
        "icon": "attach_money",
        "url": "https://demo.jellyfin.org/stable"
    }
]

Ah, ok. So is that 2 name and URL's for one link or why's there 2 entries here?


RE: Where is the config.json file on Windows? - TheDreadPirate - 2024-10-07

They provided two different examples. The first does not have an icon, the second one does.


RE: Where is the config.json file on Windows? - 4r5hw45twh - 2024-10-07

(2024-10-07, 12:39 PM)TheDreadPirate Wrote: They provided two different examples.  The first does not have an icon, the second one does.

So, it appears that on Desktop and on the browser on a phone, the custom link shows up, but not on the JF app itself. Any idea why?


RE: Where is the config.json file on Windows? - TheDreadPirate - 2024-10-07

Caching? Clear the app cache?


RE: Where is the config.json file on Windows? - 4r5hw45twh - 2025-01-20

(2024-10-07, 04:30 PM)TheDreadPirate Wrote: Caching?  Clear the app cache?

Hi. Where would this be on Ubuntu? I checked my cache/config folders that are my Docker volumes, but don't see a config.json there.
Nor do I have a /jellyfin/ folder at my /usr/share area.

https://jellyfin.org/docs/general/clients/web-config/#custom-menu-links

Since I don't see it anywhere, I made a blank file called "web-config.json" in the path below to bind it to Docker's config.json file.
I added the below to my docker-compose.yml file under the "volumes:" area:

Code:
/mypath/to/config/web-config.json:/jellyfin/jellyfin-web/config.json

I then later found the default config.json at https://github.com/jellyfin/jellyfin-web/blob/release-10.8.z/src/config.json and copy-and-pasted that into my web-config.json file.
I only wanted to add an extra menu link, so I added one with:
Code:
"menuLinks": [
    {
        "name": "menu link",
        "icon": "icon",
        "url": "www.com"
    }
],

After that, I restarted JF, re-ran "docker compose up -d" to be safe, opened JF in a private browser, but I don't see any new menu link showing.


RE: Where is the config.json file on Windows? - TheDreadPirate - 2025-01-21

Check that the user running the container can read the file. Try clearing your browser cache. Also try rebuilding the container.