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 1
Development
General Development (no feature request here!)
Inter-Plugin messages
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: 1062735" data-attributes="member: 48495"><p>MediaPortal <strong>2</strong> has a fully featured messaging system that can be used by any plugin. So if you like to develop plugins you should consider to look into MP<strong>2</strong>, as it is the future... (IMHO)</p><p></p><p>Edit: some related quote from another thread:</p><p></p><p>MP2 has two MQ implementation: Synchronous- and AsynchronousMessageQueue ("AMQ"):</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/Messaging/AsynchronousMessageQueue.cs" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/Messaging/AsynchronousMessageQueue.cs</a></p><p>(see folder <a href="https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/Core/MediaPortal.Common/Messaging" target="_blank">https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/Core/MediaPortal.Common/Messaging</a> for related classes)</p><p></p><p>And this are some few examples for wrapping messages and access to the AMQ:</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/ContentDirectoryMessaging.cs" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/ContentDirectoryMessaging.cs</a></p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/ImporterWorkerMessaging.cs" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/ImporterWorkerMessaging.cs</a></p><p></p><p>And one of the many examples how messages are received and handled:</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/UI/UiComponents/Media/Models/ShowPlaylistModel.cs#L95-L142" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/UI/UiComponents/Media/Models/ShowPlaylistModel.cs#L95-L142</a></p><p></p><p>I hope this gives you a first overview. (A)MQs are very widely used inside MP2 and provide a great flexibility.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1062735, member: 48495"] MediaPortal [B]2[/B] has a fully featured messaging system that can be used by any plugin. So if you like to develop plugins you should consider to look into MP[B]2[/B], as it is the future... (IMHO) Edit: some related quote from another thread: MP2 has two MQ implementation: Synchronous- and AsynchronousMessageQueue ("AMQ"): [url]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/Messaging/AsynchronousMessageQueue.cs[/url] (see folder [url]https://github.com/MediaPortal/MediaPortal-2/tree/master/MediaPortal/Source/Core/MediaPortal.Common/Messaging[/url] for related classes) And this are some few examples for wrapping messages and access to the AMQ: [url]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/ContentDirectoryMessaging.cs[/url] [url]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/Core/MediaPortal.Common/MediaManagement/ImporterWorkerMessaging.cs[/url] And one of the many examples how messages are received and handled: [url]https://github.com/MediaPortal/MediaPortal-2/blob/master/MediaPortal/Source/UI/UiComponents/Media/Models/ShowPlaylistModel.cs#L95-L142[/url] I hope this gives you a first overview. (A)MQs are very widely used inside MP2 and provide a great flexibility. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Inter-Plugin messages
Contact us
RSS
Top
Bottom