WRITING PLAYLIST CODE??? HOW IS IT DONE - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

WRITING PLAYLIST CODE??? HOW IS IT DONE

I have written/borrowed some code from a small mp3 player program i wanted to make it also be able to read M3u's which are winamps playlists Or make my own extention and someway for it to recognise the playlist : here is a lil piece of my code

Private Sub playlist(index As Integer)
x.FileName = "1.mp3"
MP3Play1.FileName = x.FileName
End Sub
Private Sub functions(index As Integer)
Select Case index
Case 0
x.DialogTitle = "Load mp3/wma-file"
x.InitDir = "d:Mp3"
x.Filter = "mp3/wma-files/M3u|*.mp3;*.wma;*.m3u"
x.FileName = ".mp3"
x.ShowOpen
If x.FileName = "999.mp3" Then
playlist index
Else
If x.FileName <> "" Then MP3Play1.FileName = x.FileName
End If

Case 1
MP3Play1.mmPlay
Case 2
MP3Play1.mmPause
Case 3
MP3Play1.mmStop
End Select
End Sub


HELP PLEASE


Sign In or Register to comment.