From 73a6f387e1c3fbd7663750deda269d59645f994b Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Sat, 28 Feb 2026 11:03:46 +0300 Subject: [PATCH] Add friendly media source names with brand icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Registry of 17 popular media apps (browsers, players, streaming) - Substring matching resolves raw process names to friendly names - Brand-colored SVG icons displayed inline next to source name - Russian locale support for Yandex Music (Яндекс Музыка) - Unknown sources fall back to .exe-stripped name Co-Authored-By: Claude Opus 4.6 --- media_server/static/css/styles.css | 16 ++++++ media_server/static/index.html | 2 +- media_server/static/js/app.js | 90 +++++++++++++++++++++++++++++- 3 files changed, 105 insertions(+), 3 deletions(-) diff --git a/media_server/static/css/styles.css b/media_server/static/css/styles.css index ed46777..435e262 100644 --- a/media_server/static/css/styles.css +++ b/media_server/static/css/styles.css @@ -924,6 +924,22 @@ button:disabled { gap: 0.75rem; } +.source-label { + display: inline-flex; + align-items: center; + gap: 0.35rem; +} + +.source-icon { + display: inline-flex; + align-items: center; +} + +.source-icon svg { + width: 14px; + height: 14px; +} + .player-toggles { display: flex; align-items: center; diff --git a/media_server/static/index.html b/media_server/static/index.html index 580ecf6..a5bc6c9 100644 --- a/media_server/static/index.html +++ b/media_server/static/index.html @@ -189,7 +189,7 @@
- Source: Unknown + Unknown