954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Play a playlist

Do any of you know a function to play a playlist in PyGame? The music files on the playlist should be played one after the other in the order they occur. Any type of help would be appreciate it.

leb
Newbie Poster
7 posts since Oct 2005
Reputation Points: 10
Solved Threads: 0
 

What kind of music files do you want to play?

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

MIDI and OGG files.

leb
Newbie Poster
7 posts since Oct 2005
Reputation Points: 10
Solved Threads: 0
 

if it was a unix/linux system, you could call a command line program like mplayer or mpg123.

shanenin
Posting Whiz in Training
217 posts since May 2005
Reputation Points: 10
Solved Threads: 17
 

I solved this problem, thank you for the concern and suggestion.

leb
Newbie Poster
7 posts since Oct 2005
Reputation Points: 10
Solved Threads: 0
 
I solved this problem, thank you for the concern and suggestion.

let us know your solution, we are curious :-)

shanenin
Posting Whiz in Training
217 posts since May 2005
Reputation Points: 10
Solved Threads: 17
 

I played around with the MS Windows Media Player on XP. Could not get it to go with command line arguments.

Luckily, I had written a small (32k) embedded media player (for .mid .mp3 .wma files) with BCX basic/C a long time ago and changed it to accept command line arguments. If anyone wants to use it, the zip file is attached. The zip file also contains the Python test file and a few domained sample midi files.

Attachments Mplay.zip (52.88KB)
vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

hi vegaseat!
I want to use Python language for writting a media-player which ca play mp3,wav... Mplay is file.exe
Can you sent me the source of Mplay
my e-mail address: [email]ngdttin@yahoo.com.vn[/email]
Thank you very much

hupa_nguyendinh
Newbie Poster
1 post since Dec 2008
Reputation Points: 10
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You