This repository was archived by the owner on May 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 132132APP_FZF = "Settings for the FZF selector interface."
133133APP_ROFI = "Settings for the Rofi selector interface."
134134APP_MPV = "Configuration for the MPV media player."
135+ APP_VLC = "Configuration for the VLC media player."
135136APP_MEDIA_REGISTRY = "Configuration for the media registry."
136137APP_SESSIONS = "Configuration for sessions."
137138
Original file line number Diff line number Diff line change @@ -534,6 +534,7 @@ class AppConfig(BaseModel):
534534 description = desc .APP_ROFI ,
535535 )
536536 mpv : MpvConfig = Field (default_factory = MpvConfig , description = desc .APP_MPV )
537+ vlc : VlcConfig = Field (default_factory = VlcConfig , description = desc .APP_VLC )
537538 media_registry : MediaRegistryConfig = Field (
538539 default_factory = MediaRegistryConfig , description = desc .APP_MEDIA_REGISTRY
539540 )
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ def create(config: AppConfig) -> BasePlayer:
4141 from .mpv .player import MpvPlayer
4242
4343 return MpvPlayer (config .mpv )
44+ elif player_name == "vlc" :
45+ from .vlc .player import VlcPlayer
46+
47+ return VlcPlayer (config .vlc )
4448 raise NotImplementedError (
4549 f"Configuration logic for player '{ player_name } ' not implemented in factory."
4650 )
You can’t perform that action at this time.
0 commit comments