Add default icons to repo, wire in changing them when stream is live and album art is found

This commit is contained in:
iamdoubz committed 2026-07-24 13:46:14 -05:00
1 parent 4ec346f020
commit 919f8c19b6
11 files changed
+188 -1

No files matched your search

+3
View File
@@ -222,6 +222,8 @@ if (!defined('RADIO_CONFIG_LOADED')) {
'autoplay' => radio_env_bool('PLAYER_AUTOPLAY', false),
// Show OS/lock-screen media controls via the MediaSession API.
'mediasession' => radio_env_bool('MEDIASESSION', true),
// Swap the OpenGraph image + favicon to the current album art.
'dynamic_meta' => radio_env_bool('DYNAMIC_META', true),
],
// ---- Listeners / extras ---------------------------------------
@@ -291,6 +293,7 @@ function radio_client_config() {
'autoplay' => cfg('player.autoplay'),
'dynamicBg' => cfg('theme.dynamic_bg'),
'mediaSession' => cfg('player.mediasession'),
'dynamicMeta' => cfg('player.dynamic_meta'),
'siteName' => cfg('site.name'),
'tagline' => cfg('site.tagline'),
'offlineStreamUrl' => cfg('offline.stream_url'),