12
259
1014
金牌会员
使用道具 举报
14
266
1642
论坛技术达人
airhog 发表于 2018-9-2 21:15 HA内置的dlna_dmr,搜索识别设备的道理也是一样的,大家一起上,把它拿下。 ...
2018-09-02 16:36:03 INFO (MainThread) [homeassistant.components.http.view] Serving /api/tts_proxy/90761a0d36bdd79e444c93ecb94db172bd9bd9d9_zh_2185045404723587088_baidu.mp3 to 172.17.0.3 (auth: False) 2018-09-02 16:36:03 DEBUG (MainThread) [async_upnp_client.traffic] Got response: 200 Content-Type: audio/mpeg Content-Length: 14700 Date: Sun, 02 Sep 2018 16:36:03 GMT Server: Python/3.6 aiohttp/3.4.0
async_upnp_client: OMITTING BODY 2018-09-02 16:36:03 DEBUG (MainThread) [async_upnp_client.traffic] Sending request: POST http://10.0.0.200:8000/5528cf72a1b1718e59940238d6369a7e/upnporg/AVTransport/1/control SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#SetAVTransportURI" Host: 10.0.0.200:8000 Content-Type: text/xml Content-Length: 1173 <?xml version="1.0"?> <s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <u:SetAVTransportURI xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"> <InstanceID>0</InstanceID> <CurrentURI>http://172.17.0.3:8123/api/tts_proxy/90761a0d36bdd79e444c93ecb94db172bd9bd9d9_zh_2185045404723587088_baidu.mp3</CurrentURI> <CurrentURIMetaData><DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns1="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0" parentID="0" restricted="1"><dc:title>Home Assistant</dc:title><ns1:class>object.item.audioItem</ns1:class><res protocolInfo="http-get:*:audio/mpegLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=00000000000000000000000000000000">http://172.17.0.3:8123/api/tts_proxy/90761a0d36bdd79e444c93ecb94db172bd9bd9d9_zh_2185045404723587088_baidu.mp3</res></item></DIDL-Lite></CurrentURIMetaData> </u:SetAVTransportURI> </s:Body> </s:Envelope>
2018-09-02 16:36:04 DEBUG (MainThread) [async_upnp_client.traffic] Got response: 200 Connection: close Content-Length: 273 Content-Type: text/xml; charset="utf-8" Date: Sun, 02 Sep 2018 16:36:03 GMT Server: Posix/200809.0 UPnP/1.0 rock/1.0
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <u:SetAVTransportURIResponse xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
</u:SetAVTransportURIResponse> </s:Body> </s:Envelope>
547
2049
3
173
1582
x01673 发表于 2018-9-3 09:29 请问楼主访问HA开启SSL了吗?
9
216
2300
tang5275 发表于 2018-9-3 00:43 还有就是,小度可以了,家里有一千买的品胜音乐云盒,自带airplay和dlan,这个自动添加后,播放无反应 ...
潇洒哥er 发表于 2018-9-3 09:18 神,楼主的探索与动手能力真强。
本版积分规则 发表回复 回帖后跳转到最后一页
教程高产大神,简直就是为了教程而生~
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-24 00:30 , Processed in 0.254684 second(s), 32 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.