From c97e242a10c034e319b41782035dfeaf2cae1821 Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Thu, 18 Jun 2015 02:49:06 +0200 Subject: [PATCH] Added timer to ini --- ini/base.ini | 6 ++++++ python/clockcontroller.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ini/base.ini b/ini/base.ini index 10419a5..4ed42a2 100644 --- a/ini/base.ini +++ b/ini/base.ini @@ -92,9 +92,15 @@ image place 0 0 0 0 image load 1 images/logo.png image place 1 1 24 24 +text font 1 Source Code Pro Bold 40 +text string 1 00:00:00 +text place 1 1 1 200 630 1.0 1.0 1.0 + command create ShowAll overlay image 0 vfeed overlay 4..6 + text overlay 1 + loop command end diff --git a/python/clockcontroller.py b/python/clockcontroller.py index 45dcdbe..4cd3962 100644 --- a/python/clockcontroller.py +++ b/python/clockcontroller.py @@ -6,7 +6,7 @@ from datetime import datetime class ClockController(object): - TEXT_ID = 0 + TEXT_ID = 1 def __init__(self, socket): self.snowmix_socket = socket