From: <nic...@us...> - 2014-04-12 09:49:25
|
Revision: 4785 http://sourceforge.net/p/mp-plugins/code/4785 Author: nicsergio Date: 2014-04-12 09:49:22 +0000 (Sat, 12 Apr 2014) Log Message: ----------- Modified Paths: -------------- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.cs Modified: trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.cs =================================================================== --- trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.cs 2014-04-04 11:16:26 UTC (rev 4784) +++ trunk/plugins/ShortCuter&SkinEditor/Source/ShortCuter/ShortCuter.cs 2014-04-12 09:49:22 UTC (rev 4785) @@ -5,6 +5,7 @@ using MediaPortal.Configuration; using MediaPortal.GUI.Library; using MediaPortal.Util; +using MediaPortal.Player; //using Action = MediaPortal.GUI.Library.Action; using My.Common; @@ -80,9 +81,9 @@ MpLog(false, "Go to screen accepted, " + sc.ToString()); GUIGraphicsContext.ResetLastActivity(); - if (sc.SoundEffect.Length > 0) + if (sc.SoundEffect.Length > 0 && !g_Player.Playing) Utils.PlaySound(sc.SoundEffect, false, true); //--> eventuale effetto sonoro - + if (sc.LoadParameter.Length > 0) //Se richiesti parametri di caricamento { bool loadParameterChange = false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |