home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
MP2 Plugin - Getting Started (Directory Tree and Player)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1276558" data-attributes="member: 48495"><p>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.</p><p></p><p>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). </p><p></p><p>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.</p><p></p><p>The MediaItem then contain so called MetadataAspects, for example the Series/Season information of a series (see "<a href="https://github.com/MediaPortal/MediaPortal-2/search?q=EpisodeAspect&unscoped_q=EpisodeAspect" target="_blank">EsisodeAspect</a>").</p><p></p><p>Finally all players in the system get a MediaItem passed to initialize and start playback.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1276558, member: 48495"] 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 "[URL='https://github.com/MediaPortal/MediaPortal-2/search?q=EpisodeAspect&unscoped_q=EpisodeAspect']EsisodeAspect[/URL]"). Finally all players in the system get a MediaItem passed to initialize and start playback. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
MP2 Plugin - Getting Started (Directory Tree and Player)
Contact us
RSS
Top
Bottom