开发者

Control VLC from Python in Windows

开发者 https://www.devze.com 2022-12-26 00:22 出处:网络
I\'m running VLC (a media player) in Windows 7. Is there way to control (as in: play, pause, 开发者_StackOverflow社区set volume) a running instance of VLC from Python?Yes, you can control it via telne

I'm running VLC (a media player) in Windows 7. Is there way to control (as in: play, pause, 开发者_StackOverflow社区set volume) a running instance of VLC from Python?


Yes, you can control it via telnet (with telnetlib). There are also libvlc bindings, but I'm not sure you can use that to control an existing VLC instance.


As a general alternative to already mentioned solutions it's good to know about pywinauto

UPDATE:

Check out swapy for a way to with pywinauto more easily.

0

精彩评论

暂无评论...
验证码 换一张
取 消