示例#1
0
 public SpotifyWorker()
 {
     this.tts = new TTS();
     base_url = "https://open.spotify.com/";
     //change directory for your chrome driver
     web_driver = new ChromeDriver("D:\\Modality_72645_67432_TP3\\SpotifyApp\\AppGui\\AppGui");
     goToURL("https://accounts.spotify.com/en/login");
     //goToURL(base_url);
     this.volume_percentage = 10; //the volume percentage has to be small apparently
 }
示例#2
0
        public SpotifyWorker()
        {
            this.tts = new TTS();
            base_url = "https://open.spotify.com/";
            //change directory for your chrome driver
            //web_driver = new ChromeDriver("C:\\Users\\filip\\Desktop\\Curso\\IM\\Fusion\\wetransfer-8250d0\\AppGui");
            web_driver = new ChromeDriver("D:\\Modality_72645_67432_Fusion_Final\\AppGui\\AppGui");

            goToURL("https://accounts.spotify.com/en/login");
            //goToURL(base_url);
            this.volume_percentage = 10; //the volume percentage has to be small apparently
        }
示例#3
0
        public MainWindow()
        {
            /* Start API controllers */
            //this.worker = new SpotifyWorker();
            this.local_worker = new SpotifyLocalWorker();
            this.web_worker   = new SpotifyWebWorker();

            /* Start Text to Speech Module - TTS */
            this.tts = new TTS();

            mmiC          = new MmiCommunication("localhost", 8000, "User1", "GUI");
            mmiC.Message += MmiC_Message;
            mmiC.Start();
        }
示例#4
0
 public SpotifyWorker()
 {
     tts        = new TTS();
     base_url   = "https://open.spotify.com/";
     web_driver = new ChromeDriver("C:\\Users\\silva\\OneDrive - Universidade de Aveiro\\IM\\Modality_72645_67432\\SpotifyApp\\AppGui\\AppGui");
 }