I just started working with this promising set up for a music player application. I'm using 64 bit python 2.7 and the latest version of VLC and the python bindings. In my application I will want two outputs, but I am having trouble even seeing them. I've tried using the documentation but am still a little confused. Thanks!
Here is my attempted:
Code: Select all
import vlc
i = vlc.Instance()
a = i.audio_output_list_get()
a.contents
Out[4]: vlc.AudioOutput(adummy:Dummy audio output)
b = i.audio_output_enumerate_devices()
Traceback (most recent call last):
File "<ipython-input-5-164cb5d2744c>", line 1, in <module>
b = i.audio_output_enumerate_devices()
File "C:\Users\Conner\Anaconda2\lib\vlc.py", line 1563, in audio_output_enumerate_devices
for d in range(libvlc_audio_output_device_count (self, i.name))]
NameError: global name 'libvlc_audio_output_device_count' is not defined