|  |  | 
 |  |  |  | 
 |  |  |   private static final Logger logger = Logger.getLogger(MediaSteuerung.class.getName()); | 
 |  |  |  | 
 |  |  |   public static final String PL_CMD_PLAY = "avd/play"; | 
 |  |  |   public static final String PL_CMD_PLAY = "calypso/play"; | 
 |  |  |   public static final String PL_DEFAULT_PARAMS = "?titel="; | 
 |  |  |   public static final String PL_PARAM_RUECK = "&r="; | 
 |  |  |   public static final String PL_API_STRG = "/api/strg/";  | 
 |  |  | 
 |  |  |   public static final String PL_CMD_STOP = "stop"; | 
 |  |  |   public static final String PL_CMD_PAUSE = "pause"; | 
 |  |  |   public static final String PL_CMD_PLAYON = "playon"; | 
 |  |  |   public static final String PL_CMD_AVD_STOP = "avd/stop"; | 
 |  |  |   public static final String PL_CMD_AVD_PAUSE = "avd/pause"; | 
 |  |  |   public static final String PL_CMD_AVD_PLAYON = "avd/playon"; | 
 |  |  |   public static final String PL_CMD_CALYPSO_STOP = "calypso/stop"; | 
 |  |  |   public static final String PL_CMD_CALYPSO_PAUSE = "calypso/pause"; | 
 |  |  |   public static final String PL_CMD_CALYPSO_PLAYON = "calypso/playon"; | 
 |  |  |   public static final String DEFAULT_HOST = "http://localhost:9090"; | 
 |  |  |  | 
 |  |  |   private final Map spielt = new HashMap(); | 
 |  |  | 
 |  |  |           response = naechsterTitel(fs, elems[4]); | 
 |  |  |         } else if(elems[5].equalsIgnoreCase(PL_CMD_STOP)) { | 
 |  |  |           spielt.remove(elems[4]); | 
 |  |  |           response = kommandoSenden(fs, elems[4], PL_CMD_AVD_STOP); | 
 |  |  |           response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_STOP); | 
 |  |  |         } else if(elems[5].equalsIgnoreCase(PL_CMD_PAUSE)) { | 
 |  |  |           response = kommandoSenden(fs, elems[4], PL_CMD_AVD_PAUSE); | 
 |  |  |           response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_PAUSE); | 
 |  |  |         } else if(elems[5].equalsIgnoreCase(PL_CMD_PLAYON)) { | 
 |  |  |           response = kommandoSenden(fs, elems[4], PL_CMD_AVD_PLAYON); | 
 |  |  |           response = kommandoSenden(fs, elems[4], PL_CMD_CALYPSO_PLAYON); | 
 |  |  |         } else { | 
 |  |  |           response = meldung("Ungueltiges Kommando: " + elems[5], AbstractHandler.RTC_NOT_FOUND); | 
 |  |  |         } | 
 |  |  | 
 |  |  |     setReturnCode(code); | 
 |  |  |     return text; | 
 |  |  |   } | 
 |  |  |    | 
 |  |  |   // rpi4-az:9090/avd/play?titel=/Filme/S/sound_city.m4v&th=60&ti=60&o=local | 
 |  |  |   // aUrl http://rpi4-wz:9090/ | 
 |  |  |   // titelUrl /media/test/A/The-Alan-Parsons-Project/I-Robot/02-I-Wouldnt-Want-to-Be-Like-You.mp3 | 
 |  |  | } |