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
AtmoLight 2.1.0.0 for MediaPortal2 [2015-01-21]
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="Rick164" data-source="post: 1077163" data-attributes="member: 17766"><p><span style="font-size: 18px"><strong>Overview</strong></span></p><p><span style="font-size: 18px"></span></p><p>AtmoLight is a process plugin that interfaces with different ambilight solutions and brings Ambilight to MediaPortal.</p><p>The main function is to send the needed data directly to your ambilight solution to reduce the CPU load drastically, making Ambilight and smooth playback possible.</p><p>This is the MediaPortal2 Version of AtmoLight. You can find the version for MediaPortal <a href="https://forum.team-mediaportal.com/threads/atmolight-1-13-0-0-2014-06-17.125633/" target="_blank">here</a>.</p><p></p><p><span style="font-size: 18px"><strong>Installation</strong></span></p><p><span style="font-size: 18px"></span></p><p>Extract the rar to C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins</p><p></p><p></p><p>If you have been using a test version older than Beta 1, please manually delete the AtmoLight.Settings.xml before using Beta 1 or newer. The xml is located in C:\ProgramData\Team MediaPortal\MP2-Client\Config\{USER_NAME}\.</p><p></p><p>Beta 2 is only compatible to MP2 10th AE Update 1 or newer and all AtmoLight 2.0 version before that are only compatible to MP2 10th AE or older.</p><p></p><p>2.0.0.0 Final is only compatible to <a href="https://forum.team-mediaportal.com/threads/mediaportal-2-development-snapshot-2014-11-15.128419/" target="_blank">MP2 Weekly 2014-11-15</a> or newer.</p><p></p><p></p><p><span style="font-size: 18px"><strong>Useful Links</strong></span></p><ul> <li data-xf-list-type="ul"><strong><span style="font-size: 18px"><a href="https://ambilight-4-mediaportal.googlecode.com/git/MPEI%20Release/AtmoLight%202/AtmoLight_2.1.0.0.rar" target="_blank">Download latest Release</a></span></strong></li> <li data-xf-list-type="ul"><a href="https://www.team-mediaportal.com/extensions/mp2-plugins/atmolight" target="_blank">Plugin Page on Team-MediaPortal.com</a></li> <li data-xf-list-type="ul"><a href="https://github.com/ambilight-4-mediaportal/" target="_blank">GitHub project page</a></li> <li data-xf-list-type="ul"><a href="https://github.com/ambilight-4-mediaportal/AtmoLight/wiki/Frequently-Asked-Questions" target="_blank">Frequently Asked Questions</a></li> <li data-xf-list-type="ul"><a href="https://ambilight-4-mediaportal.googlecode.com/git/MPEI Release/AtmoLight 2/" target="_blank">Download Archive</a></li> <li data-xf-list-type="ul"><a href="http://webchat.freenode.net/" target="_blank">IRC Webchat (Channel #ambilight4mediaportal)</a></li> <li data-xf-list-type="ul"><a href="https://forum.team-mediaportal.com/threads/atmolight-1-13-0-0-2014-06-17.125633/" target="_blank">AtmoLight 1.x for MediaPortal</a></li> <li data-xf-list-type="ul"><a href="https://forum.team-mediaportal.com/threads/atmowin-release-thread-no-bug-support.125361/" target="_blank">AtmoWin thread</a></li> <li data-xf-list-type="ul"><a href="https://forum.team-mediaportal.com/threads/solution-for-auto-com-reconnect-on-sleep-resume-beta4.126160/" target="_blank">AtmoWakeHelper thread</a></li> <li data-xf-list-type="ul"><a href="https://forum.team-mediaportal.com/threads/atmohue-beta-philips-hue-support-for-atmolight-atmowin.128252/" target="_blank">AtmoHue thread</a></li> </ul><p></p><p><span style="font-size: 18px"><strong>Changelog</strong></span></p><p><span style="font-size: 18px"></span></p><p>[code]</p><p>Version 2.1.0.0</p><p>- Fixed bug where data would be send to target handler even if handler is disconnected from target</p><p>- Improved average color calculation for Hue handler</p><p>- Improved VUMeter and VUMeter Rainbow effects</p><p>- Fixed bug where GIFReader was case sensitive for the file extensions</p><p>- Fixed a bug where connecting to AtmoWin would fail</p><p>- Fixed bug where some effects would not be set properly on MediaPortal2 start up</p><p>- Added possibility to use hostnames/multicast dns with Hyperion</p><p>- Added AmbiBox handler</p><p></p><p>Version 2.0.0.0</p><p>- Added interface to support other targets (not just AtmoWin)</p><p>- Added Hyperion as target software</p><p>- Added Hue as target (AtmoHue needed)</p><p>- Added Boblight as target software</p><p>- Added possibility to use more then one target software (e.g. AtmoWin and Hyperion at the same time)</p><p>- Added "MediaPortal exit" effect (effect that gets set when MediaPortal gets closed)</p><p>- Added possibility to change every setting on the fly (no MediaPortal2 restart for specific settings required anymore)</p><p>- Added VU Meter and VU Meter Rainbow effects</p><p>- Added blackbar detection and removal</p><p>- Fixed bug where AtmoLight would do nothing when a player ends</p><p>- Added support for Picture-in-Picture mode</p><p>- Various small bug fixes</p><p></p><p>Version 2.0.0.0 Beta 2</p><p>- Fixed bug where MediaPortal could crash to Desktop</p><p>- Fixed issue where AtmoLight would always disable LEDs after reconnect</p><p>- Fixed bug with deactivate between time</p><p>- Added GIF Reader effect (adds support for custom effects made by users)</p><p></p><p>Version 2.0.0.0 Beta 1</p><p>- Added delay feature</p><p>- Added AtmoLight configuration within MP2</p><p>- Added notification if connection to AtmoWin is lost</p><p>- Added possibility to reconnect to AtmoWin using the remote buttons</p><p></p><p>Version 2.0.0.0 Alpha 5</p><p>- Fixed bug where AtmoWin would not be stopped on MP2 exit</p><p>- Added color button support</p><p> * Default: Red=ContextMenu (not implemented yet), Green=Toggle LEDs, Yellow=Change AtmoWin Profile</p><p>- Changed some types in the settings. Please delete current settings file before using this version!</p><p></p><p>Version 2.0.0.0 Alpha 4</p><p>- Changed UICapture to use player surface on videoplayback (faster and no blackbar problems)</p><p>- Added settings</p><p>- Added automatic mode</p><p> * Video effect, Music effect and Menu effect</p><p> * Timeframe where leds should be off (exclude time)</p><p> * Manual Mode (currently no way to change effects manually)</p><p>- Added Low CPU feature</p><p></p><p>Version 2.0.0.0 Alpha 3</p><p>- Fixed memory leak</p><p>- Added possibility to use MediaPortal liveview mode for the whole UI</p><p></p><p>Version 2.0.0.0 Alpha 2</p><p>- Added MediaPortal liveview mode</p><p></p><p>Version 2.0.0.0 Alpha 1</p><p>- Initial Release[/code]</p><p></p><p></p><p><span style="font-size: 18px"><strong>Active developers</strong></span></p><p><span style="font-size: 18px"></span></p><p>[USER=17766]@Rick164[/USER]</p><p></p><p><span style="font-size: 18px"><strong>Thanks</strong></span></p><p><span style="font-size: 18px"></span></p><p>We would like to thank everybody who has worked on and contributed to AtmoLight in the past.</p><p>@[USER=26324]gemx[/USER], @[USER=103460]angie05[/USER], @[USER=115719]legnod[/USER], @[USER=50482]azzuro[/USER], @[USER=48781]BassFan[/USER], @[USER=68365]HomeY[/USER], @[USER=60104]Sebastiii[/USER], [USER=97876]@Lightning303[/USER]</p><p></p><p><span style="font-size: 10px">If i forgot someone please let me know.</span></p><p></p><p></p><p><span style="font-size: 9px">Original Post:</span></p><p>[spoiler]Hey,</p><p>im currently trying to make a AtmoLight plugin for MP2. At the moment its just a skeleton and im trying to get all the tools ready i need.</p><p>I already figgured out how i can set up an event handler for PlayerStarted aswell as PlayerStopped.</p><p></p><p>[CODE=C#] void SubscribeToMessages()</p><p> {</p><p> messageQueue = new AsynchronousMessageQueue(this, new string[] { PlayerManagerMessaging.CHANNEL });</p><p> messageQueue.MessageReceived += OnMessageReceived;</p><p> messageQueue.Start();</p><p> }</p><p></p><p> void OnMessageReceived(AsynchronousMessageQueue queue, SystemMessage message)</p><p> {</p><p> if (message.ChannelName == PlayerManagerMessaging.CHANNEL)</p><p> {</p><p> PlayerManagerMessaging.MessageType messageType = (PlayerManagerMessaging.MessageType)message.MessageType;</p><p> if (messageType == PlayerManagerMessaging.MessageType.PlayerStarted)</p><p> {</p><p> Log.Info("AtmoLight: Playback started.");</p><p> }</p><p> else if (messageType == PlayerManagerMessaging.MessageType.PlayerStopped)</p><p> {</p><p> Log.Info("AtmoLight: Playback stopped.");</p><p> }</p><p> }</p><p> }[/CODE]</p><p></p><p>Please let me know if there is a better way to do that.</p><p></p><p>What i dont know at the moment is how i can figure out what kind of media is playing. In MP1 i could use something like g_Player.IsVideo, or i would get the mediatype as parameter in the PlaybackStarted eventhandler.</p><p></p><p>Also, what i dont know yet is how to get the video frames (surfaces) to work with them and send them to AtmoWin. This would be the counter part to mp1's framegrabber. [USER=48495]@morpheus_xx[/USER] said <a href="https://forum.team-mediaportal.com/threads/atmowin-atmolight-plugin-system-f%C3%BCr-sedu-und-arduino-basiertes-ambilight.122528/page-23#post-1076665" target="_blank">here</a> that this is possible, but i just dont know how <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" />.</p><p></p><p>I would highly appreciate any help. And please be patient with me, i consider myself a beginner <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.[/spoiler]</p></blockquote><p></p>
[QUOTE="Rick164, post: 1077163, member: 17766"] [SIZE=5][B]Overview[/B] [B][/B][/SIZE] AtmoLight is a process plugin that interfaces with different ambilight solutions and brings Ambilight to MediaPortal. The main function is to send the needed data directly to your ambilight solution to reduce the CPU load drastically, making Ambilight and smooth playback possible. This is the MediaPortal2 Version of AtmoLight. You can find the version for MediaPortal [URL='https://forum.team-mediaportal.com/threads/atmolight-1-13-0-0-2014-06-17.125633/']here[/URL]. [SIZE=5][B]Installation[/B] [B][/B][/SIZE] Extract the rar to C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins If you have been using a test version older than Beta 1, please manually delete the AtmoLight.Settings.xml before using Beta 1 or newer. The xml is located in C:\ProgramData\Team MediaPortal\MP2-Client\Config\{USER_NAME}\. Beta 2 is only compatible to MP2 10th AE Update 1 or newer and all AtmoLight 2.0 version before that are only compatible to MP2 10th AE or older. 2.0.0.0 Final is only compatible to [URL='https://forum.team-mediaportal.com/threads/mediaportal-2-development-snapshot-2014-11-15.128419/']MP2 Weekly 2014-11-15[/URL] or newer. [SIZE=5][B]Useful Links[/B][/SIZE] [LIST] [*][B][SIZE=5][URL='https://ambilight-4-mediaportal.googlecode.com/git/MPEI%20Release/AtmoLight%202/AtmoLight_2.1.0.0.rar']Download latest Release[/URL][/SIZE][/B] [*][URL='https://www.team-mediaportal.com/extensions/mp2-plugins/atmolight']Plugin Page on Team-MediaPortal.com[/URL] [*][URL='https://github.com/ambilight-4-mediaportal/']GitHub project page[/URL] [*][URL='https://github.com/ambilight-4-mediaportal/AtmoLight/wiki/Frequently-Asked-Questions']Frequently Asked Questions[/URL] [*][URL='https://ambilight-4-mediaportal.googlecode.com/git/MPEI Release/AtmoLight 2/']Download Archive[/URL] [*][URL='http://webchat.freenode.net/']IRC Webchat (Channel #ambilight4mediaportal)[/URL] [*][URL='https://forum.team-mediaportal.com/threads/atmolight-1-13-0-0-2014-06-17.125633/']AtmoLight 1.x for MediaPortal[/URL] [*][URL='https://forum.team-mediaportal.com/threads/atmowin-release-thread-no-bug-support.125361/']AtmoWin thread[/URL] [*][URL='https://forum.team-mediaportal.com/threads/solution-for-auto-com-reconnect-on-sleep-resume-beta4.126160/']AtmoWakeHelper thread[/URL] [*][URL='https://forum.team-mediaportal.com/threads/atmohue-beta-philips-hue-support-for-atmolight-atmowin.128252/']AtmoHue thread[/URL] [/LIST] [SIZE=5][B]Changelog[/B] [B][/B][/SIZE] [code] Version 2.1.0.0 - Fixed bug where data would be send to target handler even if handler is disconnected from target - Improved average color calculation for Hue handler - Improved VUMeter and VUMeter Rainbow effects - Fixed bug where GIFReader was case sensitive for the file extensions - Fixed a bug where connecting to AtmoWin would fail - Fixed bug where some effects would not be set properly on MediaPortal2 start up - Added possibility to use hostnames/multicast dns with Hyperion - Added AmbiBox handler Version 2.0.0.0 - Added interface to support other targets (not just AtmoWin) - Added Hyperion as target software - Added Hue as target (AtmoHue needed) - Added Boblight as target software - Added possibility to use more then one target software (e.g. AtmoWin and Hyperion at the same time) - Added "MediaPortal exit" effect (effect that gets set when MediaPortal gets closed) - Added possibility to change every setting on the fly (no MediaPortal2 restart for specific settings required anymore) - Added VU Meter and VU Meter Rainbow effects - Added blackbar detection and removal - Fixed bug where AtmoLight would do nothing when a player ends - Added support for Picture-in-Picture mode - Various small bug fixes Version 2.0.0.0 Beta 2 - Fixed bug where MediaPortal could crash to Desktop - Fixed issue where AtmoLight would always disable LEDs after reconnect - Fixed bug with deactivate between time - Added GIF Reader effect (adds support for custom effects made by users) Version 2.0.0.0 Beta 1 - Added delay feature - Added AtmoLight configuration within MP2 - Added notification if connection to AtmoWin is lost - Added possibility to reconnect to AtmoWin using the remote buttons Version 2.0.0.0 Alpha 5 - Fixed bug where AtmoWin would not be stopped on MP2 exit - Added color button support * Default: Red=ContextMenu (not implemented yet), Green=Toggle LEDs, Yellow=Change AtmoWin Profile - Changed some types in the settings. Please delete current settings file before using this version! Version 2.0.0.0 Alpha 4 - Changed UICapture to use player surface on videoplayback (faster and no blackbar problems) - Added settings - Added automatic mode * Video effect, Music effect and Menu effect * Timeframe where leds should be off (exclude time) * Manual Mode (currently no way to change effects manually) - Added Low CPU feature Version 2.0.0.0 Alpha 3 - Fixed memory leak - Added possibility to use MediaPortal liveview mode for the whole UI Version 2.0.0.0 Alpha 2 - Added MediaPortal liveview mode Version 2.0.0.0 Alpha 1 - Initial Release[/code] [SIZE=5][B]Active developers[/B] [B][/B][/SIZE] [USER=17766]@Rick164[/USER] [SIZE=5][B]Thanks[/B] [B][/B][/SIZE] We would like to thank everybody who has worked on and contributed to AtmoLight in the past. @[USER=26324]gemx[/USER], @[USER=103460]angie05[/USER], @[USER=115719]legnod[/USER], @[USER=50482]azzuro[/USER], @[USER=48781]BassFan[/USER], @[USER=68365]HomeY[/USER], @[USER=60104]Sebastiii[/USER], [USER=97876]@Lightning303[/USER] [SIZE=2]If i forgot someone please let me know.[/SIZE] [SIZE=1]Original Post:[/SIZE] [spoiler]Hey, im currently trying to make a AtmoLight plugin for MP2. At the moment its just a skeleton and im trying to get all the tools ready i need. I already figgured out how i can set up an event handler for PlayerStarted aswell as PlayerStopped. [CODE=C#] void SubscribeToMessages() { messageQueue = new AsynchronousMessageQueue(this, new string[] { PlayerManagerMessaging.CHANNEL }); messageQueue.MessageReceived += OnMessageReceived; messageQueue.Start(); } void OnMessageReceived(AsynchronousMessageQueue queue, SystemMessage message) { if (message.ChannelName == PlayerManagerMessaging.CHANNEL) { PlayerManagerMessaging.MessageType messageType = (PlayerManagerMessaging.MessageType)message.MessageType; if (messageType == PlayerManagerMessaging.MessageType.PlayerStarted) { Log.Info("AtmoLight: Playback started."); } else if (messageType == PlayerManagerMessaging.MessageType.PlayerStopped) { Log.Info("AtmoLight: Playback stopped."); } } }[/CODE] Please let me know if there is a better way to do that. What i dont know at the moment is how i can figure out what kind of media is playing. In MP1 i could use something like g_Player.IsVideo, or i would get the mediatype as parameter in the PlaybackStarted eventhandler. Also, what i dont know yet is how to get the video frames (surfaces) to work with them and send them to AtmoWin. This would be the counter part to mp1's framegrabber. [USER=48495]@morpheus_xx[/USER] said [URL='https://forum.team-mediaportal.com/threads/atmowin-atmolight-plugin-system-f%C3%BCr-sedu-und-arduino-basiertes-ambilight.122528/page-23#post-1076665']here[/URL] that this is possible, but i just dont know how :(. I would highly appreciate any help. And please be patient with me, i consider myself a beginner :).[/spoiler] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
AtmoLight 2.1.0.0 for MediaPortal2 [2015-01-21]
Contact us
RSS
Top
Bottom