InDashPC.org Forum Index InDashPC.org
In Dash Car PC forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MP3 Player

 
Post new topic   Reply to topic    InDashPC.org Forum Index -> Misc
View previous topic :: View next topic  
Author Message
xlordt



Joined: 19 Jun 2006
Posts: 1

PostPosted: Mon Jun 19, 2006 11:48 am    Post subject: MP3 Player Reply with quote

Hey, sup

I'm new to the forum, and also to this pymedia module, now i was looking for something that i can play mp3 files with. I searched the forum and I found
Code:


import pymedia

player = pymedia.Player( )
player.start( )
player.startPlayback( '/home/xlordt/test.mp3'  )

Now when i run this code i get.
Code:

/usr/local/bin/python -u  "/home/xlordt/programming/python/test.py"
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:

Can anyone share a little light here Smile btw.. are there any complete tutorials on how to go by creating some nice sound apps? I see pymedia is fairly new.
Back to top
View user's profile Send private message
jbors
Site Admin


Joined: 12 Nov 2004
Posts: 1675

PostPosted: Mon Jun 19, 2006 2:48 pm    Post subject: Reply with quote

Just try to use player example. The command line is:
Code:
python player.py <YOU_FILE>.mp3

Here is the tar ball with examples tarball:
http://prdownloads.sourceforge.net/pymedia/pymedia-examples-1.3.7.tgz?download
Back to top
View user's profile Send private message
Rita99



Joined: 14 Jul 2008
Posts: 2

PostPosted: Mon Jul 14, 2008 4:44 am    Post subject: dvd player Reply with quote

Hi guy,should you buy one like dvd player with mp3 player.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    InDashPC.org Forum Index -> Misc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group