-
Notifications
You must be signed in to change notification settings - Fork 811
Automatic Type Discovery
Emby will discover a number of Types in your plugin project automatically, without you having to do anything to wire them up. All you need to do is implement the appropriate interface and it will become part of the system.
The following interfaces are available for implementation:
If you need to run initialization code at server start-up, implement this interface. The class will remain in memory for the lifetime of the server, so if you need to keep state, this is the place to put it. Keep in mind you can have as many of these as you need, allowing you to break larger plugins into smaller pieces.
Implement this interface to define your own API endpoint. See creating api endpoints.
Implement this interface to create a scheduled task that will appear in the Dashboard's Scheduled Tasks area. You'll define the default triggers that cause the task to run. The user will then be able to re-configure as desired, as well as run the task on demand.
Intros are played before video files. Implement this interface to define your own provider for intro files.
If your plugin requires an html configuration page within the Dashboard, implement this interface. A full guide for this is coming soon.
This interface will allow you to intercept image delivery through the api, if you wish to draw content over or otherwise enhance an image before it's written to the response stream.
Implement IItemResolver to define your own custom media types.
Implement this interface to create a rule allowing certain paths in the media library to be ignored. For example, the Video Backdrops plugin uses a "backdrops" folder within each Movie and Tv Series. It then implements IResolverIgnoreRule to prevent those folders from being displayed by Emby clients.
The server's default weather provider is WorldWeatherOnline.com, but plugins are free to create new ones by implementing this interface.
Implement this to add a new sorting rule to the api's sorting routines. This rule can then be accessed by name when specifying a desired sort order. If a User is required to perform the sort, implement IUserBaseItemComparer.
Implement this interface to add new metadata saving formats (xbmc, plex, etc).
Implement this interface to add operations that execute before and after library scans.
Implement this interface to support custom iso mounting programs, as an alternative to the core's silent mounting.
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