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
MediaPortal 1 Plugins
help with nongui plugin
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="lar282" data-source="post: 8356" data-attributes="member: 10326"><p><strong>Tack</strong></p><p></p><p>Thanks for the help. I'm sure this is basic stuff for u, so I really appriciate it. I got it to work but the problem was (is) that the windows init doesn't work. Tried music playback instead and that works? Must be something special here with WINDOWS_INIT. Do u know??</p><p>I also tried to add ALL messages and write to the log but when a Windows is opened NO message is sent. </p><p></p><p> private void OnThreadMessage(GUIMessage message) </p><p> { </p><p> // string lasse= </p><p> switch (message.Message) </p><p> { </p><p> case GUIMessage.MessageType.GUI_MSG_WINDOW_INIT: </p><p> //int lasse= GUIWindowManager.ActiveWindow; </p><p> Log.Write("Windows just opened.This comes from switch message"); </p><p> break; </p><p></p><p> case GUIMessage.MessageType.GUI_MSG_PLAYBACK_STARTED: </p><p> Log.Write("Playback started.This comes from switch message");</p><p> break;</p><p></p><p> } </p><p> Log.Write("alla GUIMess" + (message.Message)); </p><p> }</p><p></p><p></p><p></p><p>log file</p><p></p><p>2005-01-11 09:22:40 window:MediaPortal.GUI.Music.GUIMusicFiles init</p><p>2005-01-11 09:22:40 open folderdatabase</p><p>2005-01-11 09:22:40 texturemanager:added:skin\mce\media\defaultFolderBack.png total:53 mem left:307232768</p><p>2005-01-11 09:22:42 key:13 0xD</p><p>2005-01-11 09:22:42 alla GUIMessGUI_MSG_CLICKED</p><p>2005-01-11 09:22:42 texturemanager:added:skin\mce\media\defaultHardDisk.png total:54 mem left:307232768</p><p>2005-01-11 09:22:42 texturemanager:added:skin\mce\media\defaultDVDRom.png total:55 mem left:307232768</p><p>2005-01-11 09:22:42 texturemanager:added:skin\mce\media\defaultFolder.png total:56 mem left:307232768</p><p>2005-01-11 09:22:43 key:13 0xD</p><p>2005-01-11 09:22:43 alla GUIMessGUI_MSG_CLICKED</p><p>2005-01-11 09:22:45 key:121 0x79</p><p>2005-01-11 09:22:45 alla GUIMessGUI_MSG_CLICKED</p><p>2005-01-11 09:22:45 Player.Play(F:\mp3\Aerosmith\-Aerosmith-Young Lust The Anthology\Cd1\01 - Let The Music Do The Talking.mp3)</p><p>2005-01-11 09:22:45 Loading external players plugins</p><p>2005-01-11 09:22:45 found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>2005-01-11 09:22:45 player:Foobar2000. author: int_20h</p><p>2005-01-11 09:22:45 found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll</p><p>2005-01-11 09:22:45 player:Winamp. author: int_20h</p><p>2005-01-11 09:22:45 AudioPlayerVMR7.play F:\mp3\Aerosmith\-Aerosmith-Young Lust The Anthology\Cd1\01 - Let The Music Do The Talking.mp3</p><p>2005-01-11 09:22:46 Playback started.This comes from switch message</p><p>2005-01-11 09:22:46 alla GUIMessGUI_MSG_PLAYBACK_STARTED</p><p></p><p>//Lasse</p></blockquote><p></p>
[QUOTE="lar282, post: 8356, member: 10326"] [b]Tack[/b] Thanks for the help. I'm sure this is basic stuff for u, so I really appriciate it. I got it to work but the problem was (is) that the windows init doesn't work. Tried music playback instead and that works? Must be something special here with WINDOWS_INIT. Do u know?? I also tried to add ALL messages and write to the log but when a Windows is opened NO message is sent. private void OnThreadMessage(GUIMessage message) { // string lasse= switch (message.Message) { case GUIMessage.MessageType.GUI_MSG_WINDOW_INIT: //int lasse= GUIWindowManager.ActiveWindow; Log.Write("Windows just opened.This comes from switch message"); break; case GUIMessage.MessageType.GUI_MSG_PLAYBACK_STARTED: Log.Write("Playback started.This comes from switch message"); break; } Log.Write("alla GUIMess" + (message.Message)); } log file 2005-01-11 09:22:40 window:MediaPortal.GUI.Music.GUIMusicFiles init 2005-01-11 09:22:40 open folderdatabase 2005-01-11 09:22:40 texturemanager:added:skin\mce\media\defaultFolderBack.png total:53 mem left:307232768 2005-01-11 09:22:42 key:13 0xD 2005-01-11 09:22:42 alla GUIMessGUI_MSG_CLICKED 2005-01-11 09:22:42 texturemanager:added:skin\mce\media\defaultHardDisk.png total:54 mem left:307232768 2005-01-11 09:22:42 texturemanager:added:skin\mce\media\defaultDVDRom.png total:55 mem left:307232768 2005-01-11 09:22:42 texturemanager:added:skin\mce\media\defaultFolder.png total:56 mem left:307232768 2005-01-11 09:22:43 key:13 0xD 2005-01-11 09:22:43 alla GUIMessGUI_MSG_CLICKED 2005-01-11 09:22:45 key:121 0x79 2005-01-11 09:22:45 alla GUIMessGUI_MSG_CLICKED 2005-01-11 09:22:45 Player.Play(F:\mp3\Aerosmith\-Aerosmith-Young Lust The Anthology\Cd1\01 - Let The Music Do The Talking.mp3) 2005-01-11 09:22:45 Loading external players plugins 2005-01-11 09:22:45 found plugin:MediaPortal.FoobarPlugin.FoobarPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 2005-01-11 09:22:45 player:Foobar2000. author: int_20h 2005-01-11 09:22:45 found plugin:MediaPortal.WinampPlayer.WinampPlugin in plugins\ExternalPlayers\ExternalPlayers.dll 2005-01-11 09:22:45 player:Winamp. author: int_20h 2005-01-11 09:22:45 AudioPlayerVMR7.play F:\mp3\Aerosmith\-Aerosmith-Young Lust The Anthology\Cd1\01 - Let The Music Do The Talking.mp3 2005-01-11 09:22:46 Playback started.This comes from switch message 2005-01-11 09:22:46 alla GUIMessGUI_MSG_PLAYBACK_STARTED //Lasse [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
help with nongui plugin
Contact us
RSS
Top
Bottom