Package us.jyg.freshet.manager

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


                            Miner miner = new Miner(paths[i]);
                            log.debug("Seeker mining at: " + paths[i]);
                            File f;
                            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() +
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.