App zur Steuerung des mpv Mediaplayers auf einem Raspberry Pi über HTTP
undisclosed
2023-01-03 7a79ba8b70e8541b6d4413a46061b2c03ecddc9b
src/de/uhilger/calypso/App.java
@@ -18,6 +18,7 @@
package de.uhilger.calypso;
import de.uhilger.calypso.handler.MPlayer;
import de.uhilger.calypso.handler.OMXPlayer;
import de.uhilger.calypso.handler.Player;
import de.uhilger.calypso.handler.VLCPlayer;
@@ -57,6 +58,7 @@
  public static final String IP_PLAYER = "player";
  public static final String VLC_PLAYER = "vlc";
  public static final String OMX_PLAYER = "omx";
  public static final String M_PLAYER = "mpl";
  public static final String OMX_WD = "omx.wd";
  public static final String CTX = "ctx";
  
@@ -78,6 +80,9 @@
        
    String playerType = getInitParameter(IP_PLAYER);
    switch(playerType) {
      case M_PLAYER:
        player = new MPlayer();
        break;
      case VLC_PLAYER:
        player = new VLCPlayer();
        break;