python的dlna模块

时间:2023-04-29 17:03:10
【文件属性】:

文件名称:python的dlna模块

文件大小:26KB

文件格式:PY

更新时间:2023-04-29 17:03:10

python dlna

试试用python控制电视 # @file dlnap.py # @author cherezov.pavel@gmail.com # @brief Python over the network media player to playback on DLNA UPnP devices. dlnap.py [--ip ] [-d[evice] ] [--all] [-t[imeout] ] [--play ] [--pause] [--stop] [--proxy] --ip - ip address for faster access to the known device --device - discover devices with this name as substring --all - flag to discover all upnp devices, not only devices with AVTransport ability --play - set current url for play and start playback it. In case of url is empty -continue playing recent media. --pause - pause current playback --stop - stop current playback --mute - mute playback --unmute - unmute playback --volume - set current volume for playback --seek - set current position for playback --timeout - discover timeout --ssdp-version - discover devices by protocol version, default 1 --proxy - use local proxy on proxy port --proxy-port - proxy port to listen incomming connections from devices, default 8000 --help - this help


网友评论