- March 24, 2007
- 12,073
- 7,459
- Home Country
- Germany
- Moderator
- #11
Ok, this is in principle the same as our "Media" plugin does, but the backend is different. I'd recommend you to take a look into this plugin first. But on the other hand it's also one of the most complex ones, because of it's generic approach and extensibility.
As a simpler start for your own plugin I'd point to the "Skin Test" plugin (enabled in DEBUG builds only). It shows how to create the basic plugin structure (skin, workflow, language files, code).
Then the "MediaItem" will be important, it refers to any video, image, audio item that can be played back. Also non-playable items exists, like "Series", "Episodes", "Movie Collections" and so on.
The MediaItem then contain so called MetadataAspects, for example the Series/Season information of a series (see "EsisodeAspect").
Finally all players in the system get a MediaItem passed to initialize and start playback.
As a simpler start for your own plugin I'd point to the "Skin Test" plugin (enabled in DEBUG builds only). It shows how to create the basic plugin structure (skin, workflow, language files, code).
Then the "MediaItem" will be important, it refers to any video, image, audio item that can be played back. Also non-playable items exists, like "Series", "Episodes", "Movie Collections" and so on.
The MediaItem then contain so called MetadataAspects, for example the Series/Season information of a series (see "EsisodeAspect").
Finally all players in the system get a MediaItem passed to initialize and start playback.