Customizing Menu Links on Windows Server - 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: Customizing Menu Links on Windows Server (/t-customizing-menu-links-on-windows-server) |
Customizing Menu Links on Windows Server - Ryan W. West - 2024-09-17 This is probably simple, but I'm trying to add a custom link to Jellyfin's web client homepage under the 'My Media' carousel of Movies, Music, <new item>. I think this is close to what I want (maybe not exactly the same): https://jellyfin.org/docs/general/clients/web-config/#custom-menu-links. So I'm trying to change the config.json referenced in the link to change the menuLinks json, but I can't figure out where 'Webroot' is on Windows 10 Jellyfin Server nor where the right config file is (though it might not exist yet). The instructions only list various Linux paths for the file. I've tried creating C:\ProgramData\Jellyfin\Server\jellyfin-web\config.json and populating the default 'stable' config.json provided in a link in the custom menu documentation, then editing it with my own menu link, and also have tried placing the file in various other places like the config\ folder but restarting the service doesn't do anything. I see various XML files in the config\ file that don't seem to match this web-config json, though I wouldn't want to override them if they are important. I'd like to ask for help on how to add these menu links specifically for a Windows Server installation (and if there's a way to put a custom external link under 'My Media' - I'd like to make a visual graphic that lets you click and open up external hostedapp Audiobookshelf. c RE: Customizing Menu Links on Windows Server - SethBacon - 2024-09-17 Those menu links if added will appear under the hamburger menu. The config lives in \Server\Jellyfin Web\config.json. Ive posted mine below, you could copy save. It sounds though, like you're trying to put content on the homepage. Thats trickier, but I could walk you through it if you could be more explicit about what you want there, maybe a mockup. { "includeCorsCredentials": false, "multiserver": false, "themes": [ { "name": "Apple TV", "id": "appletv", "color": "#bcbcbc" }, { "name": "Blue Radiance", "id": "blueradiance", "color": "#011432" }, { "name": "Dark", "id": "dark", "color": "#202020", "default": true }, { "name": "Light", "id": "light", "color": "#303030" }, { "name": "Purple Haze", "id": "purplehaze", "color": "#000420" }, { "name": "WMC", "id": "wmc", "color": "#0c2450" } ], "menuLinks": [ { "name": "Custom Link", "url": "https://jellyfin.org" }, { "name": "Custom Link w. Custom Icon", "icon": "attach_money", "url": "https://demo.jellyfin.org/stable" }], "servers": [], "plugins": [ "playAccessValidation/plugin", "experimentalWarnings/plugin", "htmlAudioPlayer/plugin", "htmlVideoPlayer/plugin", "photoPlayer/plugin", "comicsPlayer/plugin", "bookPlayer/plugin", "youtubePlayer/plugin", "backdropScreensaver/plugin", "pdfPlayer/plugin", "logoScreensaver/plugin", "sessionPlayer/plugin", "chromecastPlayer/plugin", "syncPlay/plugin" ] } RE: Customizing Menu Links on Windows Server - Ryan W. West - 2024-09-18 Thank you! So I copied in the file you provided to "C:\ProgramData\Jellyfin\Server\Jellyfin Web\config.json" and then used the Services program to restart the Jellyfin Server Windows service, then reload jellyfin web on another computer in the browser, but I don't see the 'Custom Link' as it shows in the thumbnail you provided. I also didn't even have a folder "Jellyfin Web" and created both it and the config.json inside it, so I wonder if that is the problem or if I'm actually in the right root folder.. I attached the contents of my \Server folder as a pic. RE: Customizing Menu Links on Windows Server - SethBacon - 2024-09-19 (2024-09-18, 02:53 AM)Ryan W. West Wrote: Thank you! So I copied in the file you provided to "C:\ProgramData\Jellyfin\Server\Jellyfin Web\config.json" and then used the Services program to restart the Jellyfin Server Windows service, then reload jellyfin web on another computer in the browser, but I don't see the 'Custom Link' as it shows in the thumbnail you provided. I also didn't even have a folder "Jellyfin Web" and created both it and the config.json inside it, so I wonder if that is the problem or if I'm actually in the right root folder.. I attached the contents of my \Server folder as a pic. Edit: After re-reading I think theres an issue: you shouldn't need to create the file or folder i think youre in a different settings folder area? You definitely have a jellyfin-web folder somewhere, check where your shortcuts lead and find your actual install. OR Your browser probably still has all the site data in memory from before your changes to jellyfin. f5 will clear cache i think on some browsers, or inspect>application>clear site data To be honest, even clearing your browser cache and site data can seem to take a while to update sometimes. I have no Idea why, maybe just voodoo for me on Brave browser But, that means anytime im testing JF changes: close jellyfin tray, start jf tray, then open a new incognito or private browsing window, and login to try to see your updates there. More often then not I see things in a private session that take a bit to resolve/update in regular browsing. Its annoying. RE: Customizing Menu Links on Windows Server - Ryan W. West - 2024-09-25 Thanks. Yeah force refreshing, clearing and/or disabling cache etc. doesn't fix it, but I think you're right that this is just not the right place. I can't find any documentation or discussions anywhere pointing to the correct folder location on Windows 10 for Jellyfin Server's jellyfin-web folder and this inner config file, so I guess I'm stuck until I find it or switch to Linux. Thanks for the help anyway. |