You've already forked Atomcms-edit
Add radio embed widget, SSE real-time, song history, moderation panel, and Auto DJ
- Embed widget: standalone iframe player with dark/light/transparent themes, copy-paste embed code admin page - Real-time SSE: streaming now-playing/listeners/dj events, replaces polling in radio-player and embed - Song history: auto-records song changes to radio_song_plays table, Filament resource to view - DJ moderation: unified panel for shouts approval, song request queue, DJ applications - Auto DJ: playlist management with round-robin playback when no DJ is live - Refactored radio-player Alpine component to use EventSource API with auto-reconnect
This commit is contained in:
@@ -20,6 +20,12 @@ enum RadioSettings: string
|
||||
case WidgetEnabled = 'radio_widget_enabled';
|
||||
case WidgetShowGlobally = 'radio_widget_show_globally';
|
||||
case WidgetPosition = 'radio_widget_position';
|
||||
case EmbedEnabled = 'radio_embed_enabled';
|
||||
case EmbedAllowedDomains = 'radio_embed_allowed_domains';
|
||||
case EmbedTheme = 'radio_embed_theme';
|
||||
case EmbedHeight = 'radio_embed_height';
|
||||
case EmbedWidth = 'radio_embed_width';
|
||||
case EmbedAutoPlay = 'radio_embed_auto_play';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
@@ -40,6 +46,12 @@ enum RadioSettings: string
|
||||
self::WidgetEnabled => 'Widget Enabled',
|
||||
self::WidgetShowGlobally => 'Widget Show Globally',
|
||||
self::WidgetPosition => 'Widget Position',
|
||||
self::EmbedEnabled => 'Embed Enabled',
|
||||
self::EmbedAllowedDomains => 'Embed Allowed Domains',
|
||||
self::EmbedTheme => 'Embed Theme',
|
||||
self::EmbedHeight => 'Embed Height',
|
||||
self::EmbedWidth => 'Embed Width',
|
||||
self::EmbedAutoPlay => 'Embed Auto Play',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user