From 94c45ccb52cff4fe8e4fc8b31cef9eb16da80c85 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 31 Mar 2021 21:32:43 +0000
Subject: [PATCH] OMXPlayer Log verarbeiten

---
 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