oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
387 stars 111 forks source link

One instance - two outputs #86

Open 20flint12 opened 5 years ago

20flint12 commented 5 years ago

Hello. We use python binding with vlc. We create only one instance of vlc (as in axamples). Player works well, but when we connect to this instance through http ext interface we have two outputs with different videos. What is settings for single outputs from different interfaces? Thanks

20flint12 commented 5 years ago

Initially playlist contains 'vlc' item. After playing with the commands player.play() track does not appear in the playlist. When we start playback through http, the track is added to the playlist. What is the reason for this?

oaubert commented 5 years ago

This is an issue of collaboration between libvlc and the httpd control interface. I do not know if they are supposed to work jointly. Since it is not python-specific, I would advise you to ask your question on forum.videolan.org where you will have a larger audience.

And in any case, I personally would not try to control vlc through both python bindings and http interface at the same time. I would rather implement a http server with python, and control the vlc instance through it.