| | |
| | | |
| | | @Override |
| | | protected String process(HttpExchange t, String params) { |
| | | String antwort = App.getPlayer().abspielen( |
| | | getParam(map, "titel"), params, getParam(map, "r"), "1"); |
| | | Player player = App.getPlayer(); |
| | | String antwort = player.abspielen( |
| | | player.getParam(map, "titel"), params, player.getParam(map, "r"), "1"); |
| | | logger.log(Level.FINE, antwort); |
| | | return antwort; |
| | | } |
| | |
| | | Select the hotkey to use to swap paused state. |
| | | */ |
| | | protected StringBuilder buildParams(HttpExchange t) { |
| | | Player player = App.getPlayer(); |
| | | StringBuilder params = super.buildParams(t); |
| | | params.append(" --pos "); |
| | | params.append(getParam(map, "pos")); |
| | | if(player instanceof OMXPlayer) { |
| | | params.append(" --pos "); |
| | | params.append(player.getParam(map, "pos")); |
| | | } |
| | | return params; |
| | | } |
| | | |