Examples of saveSong()


Examples of us.jyg.freshet.manager.SongManager.saveSong()

                            while( (f=miner.next()) != null) {
                                if (f.getName().matches(".*[mM][pP]3")) {
                                    if (!finalSongManager.songIsInDb(f)) {
                                        try {
                                            SongData songData = new SongData(f);
                                            Song song = finalSongManager.saveSong(songData);
                                            log.debug("Added: " + song.getName() + " ("+song.getId() +")"+
                                                    ", " + song.getAlbum().getName() +
                                                    ", " + song.getArtist().getName() +
                                                    ", " + song.getGenre().getName());
                                        } catch (SongDataException sdE) {
View Full Code Here

Examples of us.jyg.freshet.manager.SongManager.saveSong()

    int count = 0;
    while( (f=miner.next()) != null) {
      try {
        if (f.getName().matches(".*[mM][pP]3")) {
          SongData songData = new SongData(f);
          Song song = songManager.saveSong(songData);
          count++;
          log.debug("Saved: " + song.getName() + " ("+song.getId() +")"+
              ", " + song.getAlbum().getName() +
              ", " + song.getArtist().getName() +
              ", " + song.getGenre().getName());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.