节点红色循环音频/声音

问题描述

我有一个流程,可以在其中播放声音/音频。 我现在不想循环播放声音/音频,所以如果是 10 秒。然后它会一遍又一遍地开始。

我可以找到很多关于 DC 循环的信息,但不仅仅是循环声音/音频文件

希望有人能指导我正确的方法

我的流程是:

[{"id":"682d29bd.2348c8","type":"api-call-service","z":"16ec47aa.cb6b58","name":"Play MP3","server":"c8b3e58.9a76e18","version":1,"debugenabled":false,"service_domain":"media_player","service":"play_media","entityId":"media_player.mini","data":"{\"entity_id\":\"media_player.stue_pulse_mini_2i\",\"media_content_id\":\"http://xxx.xxx.xxx.xxx:xxxx/local/sound/mysound.mp3\",\"media_content_type\":\"music\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":360,"y":280,"wires":[[]]},{"id":"5e1244e4.daacbc","type":"inject","name":"Test Knap","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"wires":[["682d29bd.2348c8"]]},{"id":"c8b3e58.9a76e18","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)