From 933ccd346f0a38218491e95a0c8dc28ff667db78 Mon Sep 17 00:00:00 2001 From: undisclosed Date: Sun, 08 Jan 2023 14:03:01 +0000 Subject: [PATCH] Kleinere Anpassungen --- src/de/uhilger/calypso/neu/actor/PlayActor.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/de/uhilger/calypso/neu/actor/PlayActor.java b/src/de/uhilger/calypso/neu/actor/PlayActor.java index d8a7a67..d060ffb 100644 --- a/src/de/uhilger/calypso/neu/actor/PlayActor.java +++ b/src/de/uhilger/calypso/neu/actor/PlayActor.java @@ -54,12 +54,10 @@ o = parameter.get("titel"); if (o instanceof String) { String titel = (String) o; + kommando.append("mpv --input-ipc-server=/tmp/mpvsocket --no-terminal "); if (titel.toLowerCase().endsWith(".mp3")) { - kommando.append("mpv --input-ipc-server=/tmp/mpvsocket --no-terminal --vo=null "); - } else { - kommando.append("mpv --input-ipc-server=/tmp/mpvsocket --no-terminal "); + kommando.append("--vo=null "); } - kommando.append(Server.BLANK); kommando.append(titel); Logger.getLogger(PlayActor.class.getName()).log(Level.FINE, kommando.toString()); Process player_process; -- Gitblit v1.9.3