How mediabrowser/emby works
Emby Server is a personal media server offering a REST API and apps across many device types. A typical client workflow is to make an API request and receive server-managed media results; the README documents the API, while the source tree identifies the implementation subsystems. The graph also preserves distinct library, metadata, playback, live-TV, channel, and DLNA capabilities. Evidence is limited: sampled source establishes only some internal calls, so other likely relationships are omitted rather than inferred.
Main entry points: DeviceManager.cs Device management · ProviderManager.cs Metadata providers · PlayToController.cs DLNA playback control · Profiles DLNA profiles
Components 21
Client API
- REST API
MediaBrowser.Api
Media Library
- Library management
Emby.Server.Implementations/Library/LibraryManager.cs - Library search
Emby.Server.Implementations/Library/SearchEngine.cs - Metadata providers
MediaBrowser.Providers/Manager/ProviderManager.cs - Photo metadata
Emby.Photos/PhotoProvider.cs - Playlists
Emby.Server.Implementations/Playlists/PlaylistManager.cs
Playback & Devices
- Playback sessions
Emby.Server.Implementations/Session/SessionManager.cs - Device management
Emby.Server.Implementations/Devices/DeviceManager.cs - Server device ID
Emby.Server.Implementations/Devices/DeviceId.cs - DLNA playback control
Emby.Dlna/PlayTo/PlayToController.cs - DLNA device control
Emby.Dlna/PlayTo/Device.cs - DLNA profiles
Emby.Dlna/Profiles - DLNA descriptions
Emby.Dlna/Server/DescriptionXmlBuilder.cs
Media Services
- Live TV
Emby.Server.Implementations/LiveTv/LiveTvManager.cs - Channels
Emby.Server.Implementations/Channels/ChannelManager.cs - Notifications
Emby.Notifications/NotificationManager.cs - Image processing
Emby.Drawing/ImageProcessor.cs
Server Platform
- Authentication storage
Emby.Server.Implementations/Security/AuthenticationRepository.cs - SQLite base repository
Emby.Server.Implementations/Data/BaseSqliteRepository.cs - HTTP client
Emby.Server.Implementations/HttpClientManager/HttpClientManager.cs
Other components
- Emby apps
Connections 7
- Emby apps → REST API: requests
README.md - Metadata providers → Library management: gets library options
MediaBrowser.Providers/Manager/ProviderManager.cs - DLNA playback control → Playback sessions: reports playback
Emby.Dlna/PlayTo/PlayToController.cs - Device management → Server device ID: uses ID
Emby.Server.Implementations/Devices/DeviceManager.cs - Device management → DLNA device control: uses device
Emby.Server.Implementations/Devices/DeviceManager.cs - Authentication storage → SQLite base repository: uses repository base
Emby.Server.Implementations/Security/AuthenticationRepository.cs - DLNA profiles → DLNA descriptions: builds descriptions