[vlc-devel] give me an example that can really play music by python bindings for VLC

Olivier Aubert olivier.aubert at liris.cnrs.fr
Tue Oct 23 10:29:58 CEST 2012


The code you give works correctly (as long as there is actually a
audio.mp3 file available). 

Olivier

On Tue, 2012-10-23 at 08:35 +0800, iMath wrote:
> hi ,I am using vlc's python binding ,the following code just do
> nothing rather than play the music , why?
>  
> import vlc
> Player =vlc.MediaPlayer('audio.mp3') 
> Player.play()
> 
>  can you give me an  example that can really play music by python
> bindings for VLC ?





More information about the vlc-devel mailing list