From: <an...@us...> - 2008-03-26 16:12:44
|
Revision: 1537 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=1537&view=rev Author: and-81 Date: 2008-03-26 09:12:29 -0700 (Wed, 26 Mar 2008) Log Message: ----------- Modified Paths: -------------- trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs Modified: trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs =================================================================== --- trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2008-03-26 15:54:50 UTC (rev 1536) +++ trunk/plugins/IR Server Suite/Applications/IR Server/IRServer.cs 2008-03-26 16:12:29 UTC (rev 1537) @@ -56,7 +56,6 @@ static readonly string ConfigurationFile = Path.Combine(Common.FolderAppData, "IR Server\\IR Server.xml"); static readonly string AbstractRemoteMapFolder = Path.Combine(Common.FolderAppData, "Input Service\\Abstract Remote Maps"); - static readonly string AbstractRemoteSchemaFile = Path.Combine(Common.FolderAppData, "Input Service\\Abstract Remote Maps\\RemoteTable.xsd"); #endregion Constants @@ -1825,9 +1824,14 @@ if (String.IsNullOrEmpty(device)) return false; + IrssLog.Info("Load Abstract Device Files: {0}", device); + string path = Path.Combine(AbstractRemoteMapFolder, device); - if (Directory.Exists(path)) + if (!Directory.Exists(path)) + { + IrssLog.Debug("No Abstract Remote Tables for \"{0}\" were found", device); return false; + } try { Modified: trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs =================================================================== --- trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs 2008-03-26 15:54:50 UTC (rev 1536) +++ trunk/plugins/IR Server Suite/Input Service/Input Service/InputService.cs 2008-03-26 16:12:29 UTC (rev 1537) @@ -1313,7 +1313,7 @@ if ((combo.Message.Flags & MessageFlags.Request) == MessageFlags.Request) { IrssLog.Info("Shutdown command received"); - this.Stop(); + Stop(); } break; #endregion ServerShutdown @@ -1764,9 +1764,14 @@ if (String.IsNullOrEmpty(device)) return false; + IrssLog.Info("Load Abstract Device Files: {0}", device); + string path = Path.Combine(AbstractRemoteMapFolder, device); - if (Directory.Exists(path)) + if (!Directory.Exists(path)) + { + IrssLog.Debug("No Abstract Remote Tables for \"{0}\" were found", device); return false; + } try { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |