How wimwamwom/jellyfin-plugin-custom-logo works
Custom Logo is a Jellyfin plugin that replaces selected web-client branding using administrator settings and uploaded or URL-based images. The main path is configuration, asset resolution, HTML/CSS transformation, then middleware rewriting the served index page. Upload management is a separate branch. The README documents the branding targets and dashboard workflow; some UI-to-endpoint wiring is not shown in the excerpts, so that relationship is marked unverified.
Main entry points: IndexHtmlTransformer.cs Index transformer · CustomLogoController.cs Image upload API · CustomLogoMiddleware.cs HTML middleware · PluginConfiguration.cs Plugin configuration
Components 14
Administration
- Dashboard settings
Jellyfin.Plugin.CustomLogo/Configuration/configPage.html - Plugin configuration
Jellyfin.Plugin.CustomLogo/Configuration/PluginConfiguration.cs - Plugin host
Jellyfin.Plugin.CustomLogo/Plugin.cs
Image assets
- Image upload API
Jellyfin.Plugin.CustomLogo/Controllers/CustomLogoController.cs - Image slots
Jellyfin.Plugin.CustomLogo/Configuration/BrandingImageSlot.cs - Uploaded image files
- Asset resolver
Jellyfin.Plugin.CustomLogo/Injection/BrandingAssetResolver.cs
Branding transformation
- Index transformer
Jellyfin.Plugin.CustomLogo/Injection/IndexHtmlTransformer.cs - Custom CSS builder
Jellyfin.Plugin.CustomLogo/Injection/CustomCssBuilder.cs
Web delivery
- Service registration
Jellyfin.Plugin.CustomLogo/PluginServiceRegistrator.cs - Startup filter
Jellyfin.Plugin.CustomLogo/Injection/CustomLogoStartupFilter.cs - HTML middleware
Jellyfin.Plugin.CustomLogo/Injection/CustomLogoMiddleware.cs
Other components
- Administrator
- Jellyfin web client
Connections 17
- Administrator → Dashboard settings: configures
README.md - Dashboard settings → Plugin configuration: sets options
- Dashboard settings → Image upload API: uploads images
- Image upload API → Image slots: selects slot
Jellyfin.Plugin.CustomLogo/Controllers/CustomLogoController.cs - Image upload API → Uploaded image files: writes files
Jellyfin.Plugin.CustomLogo/Controllers/CustomLogoController.cs - Image upload API → Plugin configuration: updates metadata
Jellyfin.Plugin.CustomLogo/Controllers/CustomLogoController.cs - Plugin host → Plugin configuration: owns settings
Jellyfin.Plugin.CustomLogo/Plugin.cs - Service registration → Startup filter: registers filter
Jellyfin.Plugin.CustomLogo/PluginServiceRegistrator.cs - Service registration → Index transformer: registers service
Jellyfin.Plugin.CustomLogo/PluginServiceRegistrator.cs - Startup filter → HTML middleware: adds middleware
Jellyfin.Plugin.CustomLogo/Injection/CustomLogoStartupFilter.cs - Jellyfin web client → HTML middleware: requests index
- HTML middleware → Index transformer: transforms HTML
Jellyfin.Plugin.CustomLogo/Injection/CustomLogoMiddleware.cs - Index transformer → Plugin configuration: reads settings
Jellyfin.Plugin.CustomLogo/Injection/IndexHtmlTransformer.cs - Index transformer → Asset resolver: resolves assets
Jellyfin.Plugin.CustomLogo/Injection/IndexHtmlTransformer.cs - Index transformer → Custom CSS builder: builds styles
Jellyfin.Plugin.CustomLogo/Injection/IndexHtmlTransformer.cs - Asset resolver → Uploaded image files: reads uploads
Jellyfin.Plugin.CustomLogo/Injection/BrandingAssetResolver.cs - HTML middleware → Jellyfin web client: serves branded page
Jellyfin.Plugin.CustomLogo/Injection/CustomLogoMiddleware.cs