From 15ed25a13d5f8340dfecef50d23173aef45af125 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 31 Mar 2021 19:34:01 +0000
Subject: [PATCH] OMXPlayer Log (in Arbeit)

---
 src/de/uhilger/avdirektor/handler/PlayHandler.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/de/uhilger/avdirektor/handler/PlayHandler.java b/src/de/uhilger/avdirektor/handler/PlayHandler.java
index 61658bd..aa32fcd 100644
--- a/src/de/uhilger/avdirektor/handler/PlayHandler.java
+++ b/src/de/uhilger/avdirektor/handler/PlayHandler.java
@@ -67,6 +67,10 @@
     params.append(getParam(map, "th"));
     params.append(" --timeout ");
     params.append(getParam(map, "ti"));
+    String log = getParam(map, "log");
+    if(log != null && log.equalsIgnoreCase("true")) {
+      params.append(" --genlog");
+    }
     return params;
   }
   

--
Gitblit v1.9.3