public void playTrack(TrackType track)
    {
        try {
            player = new Player(new BufferedInputStream(new FileInputStream(track.getTrackURL())));
        } catch (JavaLayerException e) {
            e.printStackTrace();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        
        // Lo reproducimos en un nuevo hilo para que no corte el movimiento
        new Thread() {
            public void run()
            {
                try {    
                    player.play();
                } catch (Exception e) {
                    System.out.println(e);
                }
            }
        }.start();
    }