package fr.ExiaGeek;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

import javazoom.jl.decoder.JavaLayerException;
import javazoom.jl.player.Player;
import fr.ExiaGeek.BDD.*;

public class ExiaGeek {
	
	public static void main(String[] args) {
		

		Lanceur launcher = new Lanceur();
		BDDConnexion bdd = new BDDConnexion();
		bdd.open();
		bdd.insertTest();
		bdd.close();

		try {

		File file = new File("C:\\Users\\Martin\\git\\MPYMtowerJava\\ExiaGeek\\src\\fr\\ExiaGeek\\BDD\\Deorro x Chris Brown - Five More Hours.mp3");
		FileInputStream fis = new FileInputStream(file);
		BufferedInputStream bis = new BufferedInputStream(fis);
		
		try {
			Player player = new Player(bis);
			player.play();
		}catch(JavaLayerException ex){
			
		}
		}catch(IOException e){
		
		}
		}
	}


@@ -442,16 +442,18 @@
 e();%0A%0A%09%09
+/*
 try %7B%0A%0A%09
@@ -836,21 +836,23 @@
 n e)%7B%0A%09%09%0A%09%09%7D
+*/
 %0A%09%09%7D%0A%09%7D%0A%0A

stop music