Example #1
0
        void TestLoad()
        {
            PS8 ps8 = PS8Reader.Read(Application.StartupPath + @"/playlist2.txt");

            Console.WriteLine(ps8.Files[0].filename + ":" + ps8.Files[0].path);
            Console.WriteLine(ps8.Speed);
        }
Example #2
0
        void LoadPlaylist(string _playlistfile, bool append)
        {
            try
            {
                imageList.Files.Clear();

                imageList = PS8Reader.Read(_playlistfile);

                this.timer1.Interval        = imageList.Speed;
                this.toolStriptxtSpeed.Text = this.timer1.Interval.ToString();
                ListFiles();

                //set the default delay
                defaultDelay = imageList.Speed;
                fileIndex    = 0;
            }
            catch (PS8Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            GC.Collect();
        }