public static void ScanFolder(String path) {
		try {
			System.out.println("Scan " + path);
			
			File folder = new File(path);
			File[] fList = folder.listFiles();
			for (File file : fList){
				if(file.isFile()) {
		            String fileName = file.getName();
		            String extension = fileName.substring(fileName.lastIndexOf('.')).trim().toLowerCase();
		            
		            if(extension.equals(".mp3")) {
		            	MusicItem m = new MusicItem();
		            	
		            	MP3File mp3file = new MP3File(file);
		            	if(mp3file.hasID3v1Tag()) {
		            		m.album = mp3file.getID3v1Tag().getAlbum();
		            		m.artist = mp3file.getID3v1Tag().getArtist();
		            		m.title = mp3file.getID3v1Tag().getTitle();
		            	}
		            	else if(mp3file.hasID3v2Tag()) {
		            		m.album = mp3file.getID3v2Tag().getAlbumTitle();
		            		m.artist = mp3file.getID3v2Tag().getLeadArtist();
		            		m.title = mp3file.getID3v2Tag().getSongTitle();
		            	}
		            	else if(mp3file.hasFilenameTag()) {
		            		m.album = mp3file.getFilenameTag().getAlbumTitle();
		            		m.artist = mp3file.getFilenameTag().getLeadArtist();
		            		m.title = mp3file.getFilenameTag().getSongTitle();
		            	}
		            	
		            	m.localuri = file.getAbsolutePath();
		            	m.type = "local";

		            	DbHelper.AddMusicItem(m);
		            }
		            else {
		            	
		            }
				}
				else if(file.isDirectory() && !file.isHidden()){
					ScanFolder(file.getAbsolutePath());
				}
	        }
		}
		catch(Exception e) {
			e.printStackTrace();
		}
	}