How to Play a Playlist (1 Viewer)

darick_c

Portal Member
July 10, 2008
13
1
Idaho
Home Country
United States of America United States of America
Sorry, I combined a few methods that I use to come up with the above result, but is essentially the same as the other link, but the other is a little more concise. One thing to remember is to use the correct IPlayListIO for the file ext:

Code:
            IPlayListIO io;

            switch (playlistfileextension)
            {
                case ".m3u":
                    io = new PlayListM3uIO();
                    break;
                case ".pls":
                    io = new PlayListPLSIO();
                    break;
                case ".b4s":
                    io = new PlayListB4sIO();
                    break;
                case ".wpl":
                    io = new PlayListWPLIO();
                    break;
            }
 

Users who are viewing this thread

Top Bottom