From: <kro...@us...> - 2007-04-10 11:48:35
|
Revision: 300 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=300&view=rev Author: kroko_koenig Date: 2007-04-10 04:42:31 -0700 (Tue, 10 Apr 2007) Log Message: ----------- Add a small waiting time after clearing the playlist to give the dll enought time. (Multitask) Modified Paths: -------------- trunk/plugins/VideoLAN/VideoLanPlugin.cs Modified: trunk/plugins/VideoLAN/VideoLanPlugin.cs =================================================================== --- trunk/plugins/VideoLAN/VideoLanPlugin.cs 2007-04-09 16:35:53 UTC (rev 299) +++ trunk/plugins/VideoLAN/VideoLanPlugin.cs 2007-04-10 11:42:31 UTC (rev 300) @@ -161,6 +161,10 @@ vlcControl.Stop(); vlcControl.ClearPlayList(); + + System.Threading.Thread.Sleep(1000); + //wait for vlc strange playlist problem + vlcControl.AddToPlayList(strFile, null, option); vlcControl.Play(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <soa...@us...> - 2007-05-02 09:37:51
|
Revision: 369 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=369&view=rev Author: soapskyway Date: 2007-05-02 02:36:55 -0700 (Wed, 02 May 2007) Log Message: ----------- Fixed small problem with new configuration form. Changed the order of the initialization, so that it is positioned before it is visible. Added support for the Visible property. Modified Paths: -------------- trunk/plugins/VideoLAN/VideoLanPlugin.cs Modified: trunk/plugins/VideoLAN/VideoLanPlugin.cs =================================================================== --- trunk/plugins/VideoLAN/VideoLanPlugin.cs 2007-05-01 15:59:15 UTC (rev 368) +++ trunk/plugins/VideoLAN/VideoLanPlugin.cs 2007-05-02 09:36:55 UTC (rev 369) @@ -130,7 +130,7 @@ { vlcControl = VlcUserControl.Instance; vlcControl.Enabled = false; - vlcControl.Visible = true; + vlcControl.Visible = false; GUIGraphicsContext.form.Controls.Add(vlcControl); } @@ -167,17 +167,17 @@ vlcControl.Stop(); vlcControl.ClearPlayList(); - + SetWindows(); + vlcControl.Visible = true; System.Threading.Thread.Sleep(1000); //wait for vlc strange playlist problem - vlcControl.AddToPlayList(strFile, null, (string[]) options.ToArray()); + vlcControl.AddToPlayList(strFile, null, (string[])options.ToArray(typeof(String))); vlcControl.Play(); GUIGraphicsContext.form.Focus(); Player_playEvent(); - SetWindows(); UpdateStatus(); return true; @@ -682,6 +682,28 @@ return deinterlace.ToLowerInvariant(); } } + + public override bool Visible + { + get + { + if (vlcControl != null) + { + return vlcControl.Visible; + } + else + { + return false; + } + } + set + { + if (vlcControl != null) + { + vlcControl.Visible = value; + } + } + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <soa...@us...> - 2007-05-03 08:25:36
|
Revision: 370 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=370&view=rev Author: soapskyway Date: 2007-05-03 01:25:35 -0700 (Thu, 03 May 2007) Log Message: ----------- Removed Visible property because of unwanted effects. Modified Paths: -------------- trunk/plugins/VideoLAN/VideoLanPlugin.cs Modified: trunk/plugins/VideoLAN/VideoLanPlugin.cs =================================================================== --- trunk/plugins/VideoLAN/VideoLanPlugin.cs 2007-05-02 09:36:55 UTC (rev 369) +++ trunk/plugins/VideoLAN/VideoLanPlugin.cs 2007-05-03 08:25:35 UTC (rev 370) @@ -683,7 +683,7 @@ } } - public override bool Visible + /*public override bool Visible { get { @@ -703,7 +703,7 @@ vlcControl.Visible = value; } } - } + }*/ } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |