public void updateSeekMax(Track t) {
        String lengthString = (String) t.get("length");

        if(lengthString != null && lengthString instanceof String) {
            try {
                double length = Double.parseDouble(lengthString);
                seek_slider.setMax(length);
                seek_slider.setDisable(false);
            } catch (NumberFormatException e) {
                seek_slider.setDisable(true);
            }
        }
    }