Fixed starting server and creating profiles.
This commit is contained in:
1 parent
b062672dfb
commit
13f6e869c1
2 files changed
+4
-1
No files matched your search
@@ -88,6 +88,8 @@ namespace Vocaluxe.Base.Server
|
||||
CServer.RemovePlaylist = _RemovePlaylist;
|
||||
CServer.AddPlaylist = _AddPlaylist;
|
||||
|
||||
Start();
|
||||
|
||||
//_Discover = new CDiscover(CConfig.ServerPort, CCommands.BroadcastKeyword);
|
||||
}
|
||||
|
||||
|
||||
@@ -139,7 +139,8 @@ namespace VocaluxeLib.Profile
|
||||
if (filename == "")
|
||||
filename = "1";
|
||||
|
||||
FilePath = Path.Combine(CBase.Settings.GetDataPath(), CBase.Settings.GetFolderProfiles(), CHelper.GetUniqueFileName(FilePath, filename + ".xml", false));
|
||||
FilePath = Path.Combine(CBase.Settings.GetDataPath(), CBase.Settings.GetFolderProfiles());
|
||||
FilePath = Path.Combine(FilePath, CHelper.GetUniqueFileName(FilePath, filename + ".xml", false));
|
||||
}
|
||||
|
||||
var xml = new CXmlSerializer();
|
||||
|
||||
Reference in new issue
Block a user