/// <summary>
        /// Spiel die Aufnahme auf dem Clienten (DVBViewer) ab, sofern dieser connected ist.
        /// Plays the recording on the client (DVBViewer), if it is connected.
        /// </summary>
        /// <param name="recordingItem"></param>
        /// <returns></returns>
        public Task <HttpStatusCode> PlayRecordingAsync(RecordingItem recordingItem)
        {
            var dvbApi = DVBViewerServerApi.GetCurrentInstance();

            if (dvbApi != null)
            {
                return(dvbApi.SendApiDataAsync("dvbcommand", new List <Helper.UriParameter>
                {
                    new Helper.UriParameter("target", Name),
                    new Helper.UriParameter("cmd", recordingItem.File)
                }));
            }
            else
            {
                return(Task.FromResult <HttpStatusCode>(0));
            }
        }
 /// <summary>
 /// Spiel die Aufnahme auf dem Clienten (DVBViewer) ab, sofern dieser connected ist.
 /// Plays the recording on the client (DVBViewer), if it is connected.
 /// </summary>
 /// <param name="recordingItem"></param>
 /// <returns></returns>
 public HttpStatusCode PlayRecording(RecordingItem recordingItem)
 {
     return(PlayRecordingAsync(recordingItem).Result);
 }