Code: Select all
import vlc
i = vlc.Instance('--verbose 3')
p = i.media_player_new()
p.set_mrl('/Users/me/Movies/Movie.mp4')
p.play()
Code: Select all
Traceback (most recent call last):
File "/Users/me/PythonScripts/testVLC.py", line 3, in <module>
p = i.media_player_new()
AttributeError: 'NoneType' object has no attribute 'media_player_new'
Python 2.7.11