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

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.