public Music searchMusic(int codMusic){
        Music mus = new Music();
        for(Music m: musicsList){
            if(m.getMusicCode()==codMusic){
                mus = m;
            }
        }
        return mus;
    }