python-vlc icon indicating copy to clipboard operation
python-vlc copied to clipboard

One instance - two outputs

Open 20flint12 opened this issue 5 years ago • 2 comments

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 avatar May 13 '19 06:05 20flint12

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?

20flint12 avatar May 15 '19 07:05 20flint12

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.

oaubert avatar May 15 '19 09:05 oaubert