MP3 programming

Moderators: Sephiroth
Number of threads: 182
Number of posts: 403

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
WRITING PLAYLIST CODE??? HOW IS IT DONE Posted by Minora on 2 Sept 2001 at 3:01 AM
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





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.