Play audio at quantity – not working

Play audio at quantity – not working

Hello,

I’ve a chromecast as an audio sink.

In Blockly I take advantage of “play mp3 on audio sink at quantity”.

However for each quantity apart from 100 audio just isn’t performed and on the console I get the next error:

16:40:01.496 [ERROR] [.internal.handler.ScriptActionHandler] - Script execution of rule with UID 'alarm_weekday' failed: org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (playSound) on org.openhab.core.mannequin.script.actions.Audio failed because of: no relevant overload discovered (overloads: [Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,org.openhab.core.library.types.PercentType)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,float)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,java.lang.String)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,java.lang.String,org.openhab.core.library.types.PercentType)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String,java.lang.String,float)], Method[public static void org.openhab.core.model.script.actions.Audio.playSound(java.lang.String)]], arguments: [chromecast:chromecast:efa514a004bc725f6ea62842cb9ad564 (String), birds.mp3 (String), 0.6 (Double)])

How can I set a quantity for audio output?

thanks
Daniel

2 posts – 2 members

Read full subject

HI-FI News

by way of openHAB Community – Latest matters https://ift.tt/Ztmwdb8

December 27, 2023 at 04:47PM