App zur Steuerung des mpv Mediaplayers auf einem Raspberry Pi über HTTP
undisclosed
2022-12-30 8771ec89633aff2040c8e9c9b25c98778f19bedb
src/de/uhilger/calypso/Server.java
@@ -69,6 +69,9 @@
    server.createContext(contextName + "/seek", new SeekHandler(OMXPlayer.F_SEEK));
    server.createContext(contextName + "/stop", new CmdHandler(OMXPlayer.CMD_STOP));
    server.createContext(contextName + "/pause", new CmdHandler(OMXPlayer.CMD_PAUSE_RESUME));
    server.createContext(contextName + "/vol-inc", new CmdHandler(OMXPlayer.CMD_INC_VOL));
    server.createContext(contextName + "/vol-dec", new CmdHandler(OMXPlayer.CMD_DEC_VOL));
    server.createContext(contextName + "/info", new CmdHandler(OMXPlayer.CMD_TOGGLE_INFO));
    server.createContext(contextName + "/ping", new PingHandler(OMXPlayer.F_PING));
    server.createContext(contextName + "/server/stop", new StopServerHandler());
    server.createContext(contextName + "/log", new LogHandler());