public void chargerMusiquesDeBase() {
        String line;
        InputStream is;
        BufferedReader br = null;
        Collection<Piste> pistes = new LinkedList<>();
        String[] curSong = null;
        Artiste curArtiste = null;
        try {
            is = getClass().getClassLoader().getResourceAsStream("data/listeChansons.txt");
            br = new BufferedReader(new InputStreamReader(is));
            while ((line = br.readLine()) != null) {
                if (line.contains("./")) {
                    if (pistes.size() > 0) {
                        creeMusique(curArtiste, curSong[1], 3.99, pistes);
                        pistes = new LinkedList<>();
                    }
                    String strSong = line.replace("./", "");
                    strSong = strSong.replace(":", "");
                    if (strSong.split("-").length == 2) {
                        curSong = strSong.split("-");
                        curArtiste = creeArtiste(curSong[0]);
                    }
                } else {
                    Piste p = null;
                    if (line.contains(".mp3")) {
                        p = new Piste(line.replace(".mp3", ""));
                        pistes.add(p);
                    } else if (line.contains(".ogg")) {
                        p = new Piste(line.replace(".ogg", ""));
                        pistes.add(p);
                    }
                }
            }
        } catch (IOException e) {
            System.out.println(e.getMessage());
        } finally {
            if (br != null) {
                try {
                    br.close();
                } catch (IOException e) {
                    System.out.println(e.getMessage());
                }
            }
        }
    }