From ac496f2285d0f79b0124528edd636a732739829a Mon Sep 17 00:00:00 2001 From: undisclosed Date: Sun, 01 Jan 2023 17:29:03 +0000 Subject: [PATCH] Seek fuer VLC eingebaut --- src/de/uhilger/calypso/handler/VLCPlayer.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/de/uhilger/calypso/handler/VLCPlayer.java b/src/de/uhilger/calypso/handler/VLCPlayer.java index 82a495e..a450b81 100644 --- a/src/de/uhilger/calypso/handler/VLCPlayer.java +++ b/src/de/uhilger/calypso/handler/VLCPlayer.java @@ -22,7 +22,9 @@ private static final Logger logger = Logger.getLogger(VLCPlayer.class.getName()); public static final String CMD_STOP = "s"; - public static final String CMD_PAUSE_RESUME = "dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"; + public static final String DBUS_PREFIX = "dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player."; + public static final String CMD_PAUSE_RESUME = "PlayPause"; + public static final String CMD_SEEK = "Seek"; @Override public String abspielen(String urlStr, String parameter, String meldeUrlStr, String token) { -- Gitblit v1.9.3