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
ISDN CallerID and MP1.2
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="RoChess" data-source="post: 822340" data-attributes="member: 18896"><p>Installation via MPEI went smooth, but problem did not go away. I did notice that when IMDb+ plugin popped up notify dialog right when I did a YAC test, that another error showed up in log. To be sure I disabled the IMDb+ plugin and re-ran test, but it made no difference (well aside from the extra error being gone), but it still flashed 9x and not once as expected.</p><p></p><p>However I'm hoping that the error that happened when IMDb+ popped up its own notify dialog might help you debug it more (the IMDb+ plugin for example showed no error, nor does it freak out like this when another plugin shows a dialog at the same time). Perhaps you can take a peek at the way IMDb+ plugin handles notify dialogs (doubt it helps, but I had a lot of help on that code -- <a href="http://code.google.com/p/imdbplus/source/browse/trunk/IMDb%2B/GUIUtils.cs#188" target="_blank">Function to display notify dialog</a>).</p><p></p><p>[collapse]</p><p>2011-12-19 00:14:59.848632 [Debug][BassAudio(7)]: BASS: Finished loading DSP plugins ...</p><p>2011-12-19 00:14:59.868632 [Info.][BassAudio(7)]: BASS: Initializing BASS environment done.</p><p>2011-12-19 00:15:04.875632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:04 AM *****</p><p>2011-12-19 00:15:04.876632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:04.876632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:04.876632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:04.962632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:05.153632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:11.783632 [Info.][YAC Listener(15)]: GUIWindow: Dispose exception - System.InvalidOperationException: Collection was modified; enumeration operation may not execute.</p><p> at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)</p><p> at System.Collections.Generic.List`1.Enumerator.MoveNextRare()</p><p> at System.Collections.Generic.List`1.Enumerator.MoveNext()</p><p> at MediaPortal.ExtensionMethods.ListExtMethods.DisposeAndClearCollection[T](ICollection`1 listInterface)</p><p> at MediaPortal.GUI.Library.GUIWindow.Dispose()</p><p>2011-12-19 00:15:11.784632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:11.930632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:11 AM *****</p><p>2011-12-19 00:15:11.931632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:11.931632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:11.931632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:11.939632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:12.153632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:13.317632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:13.447632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:13 AM *****</p><p>2011-12-19 00:15:13.447632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:13.448632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:13.448632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:13.459632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:13.638632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:14.347632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:14.481632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:14 AM *****</p><p>2011-12-19 00:15:14.481632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:14.482632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:14.482632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:14.507632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:14.748632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:15.384632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:15.517632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:15 AM *****</p><p>2011-12-19 00:15:15.518632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:15.518632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:15.518632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:15.588632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:15.748632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:16.249632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:16.432632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:16 AM *****</p><p>2011-12-19 00:15:16.432632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:16.432632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:16.433632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:16.451632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:16.667632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:17.128632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:17 AM *****</p><p>2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:17.356632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:17.540632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:17.959632 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:18.060632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:18 AM *****</p><p>2011-12-19 00:15:18.060632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:18.061632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:18.061632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:18.124632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:18.337632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:18.834632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:18.969632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:18 AM *****</p><p>2011-12-19 00:15:18.969632 [Info.][YAC Listener(15)]: Name: YAC Test Call</p><p>2011-12-19 00:15:18.970632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am</p><p>2011-12-19 00:15:18.970632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg</p><p>2011-12-19 00:15:18.985632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016</p><p>2011-12-19 00:15:19.080632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init</p><p>2011-12-19 00:15:19.535632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35</p><p>2011-12-19 00:15:21.933632 [Debug][MPMain(1)]: GUIFont:texture disposing:0 debug</p><p>[/collapse]</p><p></p><p>Thanks for all the help, I know how irritating it can be when it works fine for you and others are complaining it doesn't work for them <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p><p></p><p>PS: I finally got a look at the source code you provided, and I noticed that the main hook you have is a loop that has a "Thread.Sleep(100);" to add a delay. However I don't see any flags to prevent the same loop from re-activating itself immediatly afterwards if things are asynchrone and with such a small delay it could very well be simply a matter that it fires up the same loop again, as I got a feeling that the only condition being checked "server.Pending()" is still valid at that moment.</p><p></p><p>The function doing the actual displaying of the notify dialog seems to be purely "PostYACDialog" and unless I overlooked it in the quick skim, doesn't seem to be referencing itself.</p><p></p><p>I'll have a closer look at the source another day and add it to Visual Studio, so I can actually see if my trial and error guesses pay off <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>I would think adding a debug log entry in the main loop would add a ton of log entries, but at least clear up the mystery if the loop is executed synchrone or asynchrone and if the latter then add a second delay that will properly wait for "server.Pending()" to be cleared when a single call is done.</p></blockquote><p></p>
[QUOTE="RoChess, post: 822340, member: 18896"] Installation via MPEI went smooth, but problem did not go away. I did notice that when IMDb+ plugin popped up notify dialog right when I did a YAC test, that another error showed up in log. To be sure I disabled the IMDb+ plugin and re-ran test, but it made no difference (well aside from the extra error being gone), but it still flashed 9x and not once as expected. However I'm hoping that the error that happened when IMDb+ popped up its own notify dialog might help you debug it more (the IMDb+ plugin for example showed no error, nor does it freak out like this when another plugin shows a dialog at the same time). Perhaps you can take a peek at the way IMDb+ plugin handles notify dialogs (doubt it helps, but I had a lot of help on that code -- [url=http://code.google.com/p/imdbplus/source/browse/trunk/IMDb%2B/GUIUtils.cs#188]Function to display notify dialog[/url]). [collapse] 2011-12-19 00:14:59.848632 [Debug][BassAudio(7)]: BASS: Finished loading DSP plugins ... 2011-12-19 00:14:59.868632 [Info.][BassAudio(7)]: BASS: Initializing BASS environment done. 2011-12-19 00:15:04.875632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:04 AM ***** 2011-12-19 00:15:04.876632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:04.876632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:04.876632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:04.962632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:05.153632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:11.783632 [Info.][YAC Listener(15)]: GUIWindow: Dispose exception - System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at MediaPortal.ExtensionMethods.ListExtMethods.DisposeAndClearCollection[T](ICollection`1 listInterface) at MediaPortal.GUI.Library.GUIWindow.Dispose() 2011-12-19 00:15:11.784632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:11.930632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:11 AM ***** 2011-12-19 00:15:11.931632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:11.931632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:11.931632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:11.939632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:12.153632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:13.317632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:13.447632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:13 AM ***** 2011-12-19 00:15:13.447632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:13.448632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:13.448632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:13.459632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:13.638632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:14.347632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:14.481632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:14 AM ***** 2011-12-19 00:15:14.481632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:14.482632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:14.482632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:14.507632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:14.748632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:15.384632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:15.517632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:15 AM ***** 2011-12-19 00:15:15.518632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:15.518632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:15.518632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:15.588632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:15.748632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:16.249632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:16.432632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:16 AM ***** 2011-12-19 00:15:16.432632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:16.432632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:16.433632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:16.451632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:16.667632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:17.128632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:17 AM ***** 2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:17.346632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:17.356632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:17.540632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:17.959632 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:18.060632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:18 AM ***** 2011-12-19 00:15:18.060632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:18.061632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:18.061632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:18.124632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:18.337632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:18.834632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:18.969632 [Info.][YAC Listener(15)]: ***** INCOMING CALL: Monday, December 19, 2011 12:15:18 AM ***** 2011-12-19 00:15:18.969632 [Info.][YAC Listener(15)]: Name: YAC Test Call 2011-12-19 00:15:18.970632 [Info.][YAC Listener(15)]: Number: Call from (425) 555-1212 at 12:15 am 2011-12-19 00:15:18.970632 [Info.][YAC Listener(15)]: Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\4255551212.jpg 2011-12-19 00:15:18.985632 [Debug][YAC Listener(15)]: WindowManager: route WindowPlugins.home.GUIBasicHome:35->MediaPortal.Dialogs.GUIDialogNotify:2016 2011-12-19 00:15:19.080632 [Debug][YAC Listener(15)]: DialogWindow: MediaPortal.Dialogs.GUIDialogNotify init 2011-12-19 00:15:19.535632 [Debug][YAC Listener(15)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogNotify:2016->WindowPlugins.home.GUIBasicHome:35 2011-12-19 00:15:21.933632 [Debug][MPMain(1)]: GUIFont:texture disposing:0 debug [/collapse] Thanks for all the help, I know how irritating it can be when it works fine for you and others are complaining it doesn't work for them :D PS: I finally got a look at the source code you provided, and I noticed that the main hook you have is a loop that has a "Thread.Sleep(100);" to add a delay. However I don't see any flags to prevent the same loop from re-activating itself immediatly afterwards if things are asynchrone and with such a small delay it could very well be simply a matter that it fires up the same loop again, as I got a feeling that the only condition being checked "server.Pending()" is still valid at that moment. The function doing the actual displaying of the notify dialog seems to be purely "PostYACDialog" and unless I overlooked it in the quick skim, doesn't seem to be referencing itself. I'll have a closer look at the source another day and add it to Visual Studio, so I can actually see if my trial and error guesses pay off :) I would think adding a debug log entry in the main loop would add a ton of log entries, but at least clear up the mystery if the loop is executed synchrone or asynchrone and if the latter then add a second delay that will properly wait for "server.Pending()" to be cleared when a single call is done. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
ISDN CallerID and MP1.2
Contact us
RSS
Top
Bottom