-
Notifications
You must be signed in to change notification settings - Fork 811
Dependency Injection
While you're building your classes for automatic discovery, many of these classes will require access to the core's internal services.
If your class depends on one of our services, all you have to do is add it to your constructor and an instance will be passed in that you can work with.
The following services are available for insertion into your constructors:
Create your own named logger. Log entries will appear in the application log file and will be prefixed with the name of the logger for ease of reading.
Contains a list of various application data paths
Read and write server configuration data (and the above app paths)
Get access to the core's json serializer.
Get access to the core's xml serializer.
Queue, execute and cancel scheduled tasks
Get information about the media library in a user-less fashion
Get information about each user as well as their customized media libraries
Get lists of countries, localized display strings, parental ratings, etc.
Get information about bluray folder structures
Mounts and unmounts iso files
Get information about the user's computer network
Unzip files and streams
Create dto's from domain objects
Add entries to a user's notifications inbox
Emby Home | Latest News | Emby Downloads | Emby Community Forums | © 2019 Emby LLC
- Locating the Server
- Emby Connect
- Browsing the Library
- Latest Items
- Item Information
- Item Types
- Images
- Items by Name
- Web Socket
- Remote Control
- Live TV
- Playlists
- Parental Control
- Filtering
- Sync
- Playback Guidelines
- Audio Streaming
- Video Streaming
- HTTP Live Streaming (HLS)
- Subtitles
- Playback Check-ins