diff -r 5770478e1fe3 -r 0e8c6c2f4777 Server/Actions/ActionCecPowerOnTv.cs --- a/Server/Actions/ActionCecPowerOnTv.cs Tue Jul 26 15:30:46 2016 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -using CecSharp; -using SharpLib.Ear; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.Serialization; -using System.Text; -using System.Threading.Tasks; - -namespace SharpDisplayManager -{ - [DataContract] - [AttributeAction(Id = "Cec.PowerOnTv", Name = "CEC Power On TV", Description = "Power on TVs on your CEC HDMI network.")] - class ActionCecPowerOnTv : SharpLib.Ear.Action - { - public override void Execute() - { - if (Cec.Client.Static == null) - { - Console.WriteLine("WARNING: No CEC client installed."); - } - - Cec.Client.Static.Lib.PowerOnDevices(CecLogicalAddress.Tv); - } - } -}