Quantcast
Channel: MCEBuddy 2.x
Viewing all articles
Browse latest Browse all 10715

New Post: Access to MCEBuddy remote server

$
0
0
Ah, unfortunately there is no documentation but I can creates a starting point for you (will take some time toput some up later).
  1. The connection to the engine is done over a SOA 1.1 XML Serialized interface
  2. Open the GUI (status.cs) to get an idea how the current Client connects to the engine. (method TryConnect)
  3. Open Core.cs, at the end all the public interfaces are listed out
  4. ICore is the interface that contains all the publicly exposed interfaces
  5. MCEBuddy.Globals in the class that contains global definitions
  6. MCEBuddy.Configuration is the class the contains the configuration object
Here are a list of interfaces used by clients to connect/control the engine (as of the latest 2.3.13 BETA):
[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();
}

Viewing all articles
Browse latest Browse all 10715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>