Merge pull request #120 from flokuep/develop

Fixed starting server and creating profiles.
This commit is contained in:
Stephan Sundermann committed 2014-12-03 11:14:40 +01:00
commit ade556c8ae
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();