Exemple #1
0
        public void SetGDriveUrls1()
        {
            var    gDriveService = new GDriveService();
            string search        = "title contains '.mp3'";

            gDriveService.ProcessFiles(search, SetGDriveUrl, null);
        }
Exemple #2
0
        public void InsertRecentSongs()
        {
            var    gDriveConsole = new GDriveConsole.GDriveConsole();
            string search        = "mimeType = 'audio/mpeg'";
            var    gDriveService = new GDriveService();

            gDriveService.ProcessFiles(search, gDriveConsole.DownloadAndInsert, 100);
        }
Exemple #3
0
        public void PopulateGDriveQueue()
        {
            Debug.WriteLine("PopulateGDriveQueue starting");

            var    gDriveService = new GDriveService();
            string search        = "";

            gDriveService.ProcessFiles(search, PopulateQueue, null);
        }
Exemple #4
0
        static void Main(string[] args)
        {
            Debug.WriteLine("Starting");
            var gDriveService = new GDriveService();
//            string search = "title contains '.mp3'";
            string search = "";

            gDriveService.ProcessFiles(search, SetGDriveUrl, null);
            Debug.WriteLine("Finished");
        }
Exemple #5
0
        public void CountGDriveFiles()
        {
            var gDriveService = new GDriveService();
            //            string search = "title contains '.mp3'";
            //            string search = "mimeType contains 'mp3'";
            string search = "";

            gDriveService.ProcessFiles(search, CountFile, null);
            testContextInstance.WriteLine("Count: {0}", gDriveFileCount);
        }