Fixed starting server and creating profiles.

This commit is contained in:
Florian Küpper committed 2014-12-03 11:06:11 +01:00
1 parent b062672dfb
commit 13f6e869c1
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -88,6 +88,8 @@ namespace Vocaluxe.Base.Server
CServer.RemovePlaylist = _RemovePlaylist;
CServer.AddPlaylist = _AddPlaylist;
Start();
//_Discover = new CDiscover(CConfig.ServerPort, CCommands.BroadcastKeyword);
}
+2 -1
View File
@@ -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();