vlc-control-io:使用 Node.js 控制您的 VLC。 带套接字的 JS。 IO + vlc-control-node 模块

时间:2021-07-09 12:10:15
【文件属性】:
文件名称:vlc-control-io:使用 Node.js 控制您的 VLC。 带套接字的 JS。 IO + vlc-control-node 模块
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-09 12:10:15
JavaScript vlc-control-io 使用 Node.js 控制您的 VLC。 带有 socket.io + vlc-control-node 模块的 JS 设置 首先,您必须从客户端发出一个名为cfg的 IO。 例子: socket . emit ( 'cfg' , { ip : 'localhost' , port : 8080 , user : '' , password : 'password' } ) ; 使用 要使用你必须发出命令 例子: 添加到播放列表并播放 socket . emit ( 'command' , { command : 'addAndStart' , params : { uri : '/path/to/the/file' , noaudio : false , novideo : false } } )
【文件预览】:
vlc-control-io-master
----.gitignore(32B)
----package.json(696B)
----index.js(4KB)
----README.md(936B)
----example()
--------index.html(2KB)

网友评论