store inactive source setting
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 6 Oct 2012 18:39:41 +0000 (20:39 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 6 Oct 2012 18:39:41 +0000 (20:39 +0200)
src/LibCecTray/controller/applications/internal/XBMCController.cs

index 5ab82833d8079e17a3d071e803aacba0347f0cce..b2dfc20455973408970b258a79a136a0218c9663 100644 (file)
@@ -281,8 +281,7 @@ namespace LibCECTray.controller.applications.@internal
 
         // only supported by 1.5.1+ clients
         output.AppendLine("<!-- the following lines are only supported by v1.5.1+ clients -->");
-        //TODO
-        //output.AppendLine("<setting id=\"send_inactive_source\" value=\"" + (config.SendInactiveSource ? 1 : 0) + "\" />");
+        output.AppendLine("<setting id=\"send_inactive_source\" value=\"" + (SendInactiveSource.Value ? 1 : 0) + "\" />");
 
         output.AppendLine("</settings>");
         writer.Write(output.ToString());