Ah, unfortunately there is no documentation but I can creates a starting point for you (will take some time toput some up later).
- The connection to the engine is done over a SOA 1.1 XML Serialized interface
- Open the GUI (status.cs) to get an idea how the current Client connects to the engine. (method TryConnect)
- Open Core.cs, at the end all the public interfaces are listed out
- ICore is the interface that contains all the publicly exposed interfaces
- MCEBuddy.Globals in the class that contains global definitions
-
MCEBuddy.Configuration is the class the contains the configuration object
[ServiceContract]
public interface ICore
{
[OperationContract]
void CancelJob(int[] jobList);
[OperationContract]
void Start();
[OperationContract]
void Stop(bool preserveState);
[OperationContract]
void StopBySystem();
[OperationContract]
void Rescan();
[OperationContract]
int NumConversionJobs();
[OperationContract]
JobStatus GetJobStatus(int jobNumber);
[OperationContract]
List<JobStatus> GetAllJobsInQueueStatus();
[OperationContract]
bool Active();
[OperationContract]
bool ServiceShutdownBySystem();
[Obsolete("FileQueue is deprecated, please use GetAllJobsInQueueStatus instead.")]
[OperationContract]
List<string[]> FileQueue();
[OperationContract]
bool UpdateFileQueue(int currentJobNo, int newJobNo);
[OperationContract]
bool EngineRunning();
[OperationContract]
bool EngineCrashed();
[OperationContract]
bool WithinConversionTimes();
[OperationContract]
void SuspendConversion(bool suspend);
[OperationContract]
bool IsSuspended();
[OperationContract]
void ChangePriority(string processPriority);
[OperationContract]
void SetUPnPState(bool enable);
[OperationContract]
bool UpdateConfigParameters(ConfSettings configOptions);
[OperationContract]
ConfSettings GetConfigParameters();
[OperationContract]
List<string[]> GetProfilesSummary();
[OperationContract]
void AddManualJob(string videoFilePath);
[OperationContract]
MediaInfo GetFileInfo(string videoFilePath);
[OperationContract]
void GenerateXML(string fileList);
[OperationContract]
bool ShowAnalyzerInstalled();
[OperationContract]
List<EventLogEntry> GetWindowsEventLogs();
[OperationContract]
bool AllowSuspend();
[OperationContract]
void ClearHistory();
[OperationContract]
Dictionary<string, SortedList<string, string>> GetConversionHistory();
}