omano
Member
Hi all! I'm using the latest Sinusbot beta build. I have a problem with a script. I would like to know if it is possible to control the volume at which a track plays with the ephemeral parameter on true?
I mean when I play a track with my script
it plays the track with the sound volume which is set in the bot (let say 15%). That's is what I want.
But when I play a track with my script with ?ephemeral=true
the track which is playing has the sound volume set to maximum from what I ear, it does not use the parameter for the sound volume set in the bot.
Is it possible to add a parameter to the play command to force the volume of the ephemeral=true track to the same of the general sound volume parameter of the bot? Something like that
Here is what we have for information in the bot help /help/scripting :
Maybe it is just a bug which need fixing?
Anyway I hope someone can help. Thank you!
I mean when I play a track with my script
Code:
play('track://de440f2a-74df-40df-acc7-b3704b1d0052');
But when I play a track with my script with ?ephemeral=true
Code:
play('track://de440f2a-74df-40df-acc7-b3704b1d0052?ephemeral=true');
Is it possible to add a parameter to the play command to force the volume of the ephemeral=true track to the same of the general sound volume parameter of the bot? Something like that
Code:
play('track://de440f2a-74df-40df-acc7-b3704b1d0052?ephemeral=true?volume=15');
Here is what we have for information in the bot help /help/scripting :
track:// urls may contain additional parameters that can affect the playback (e.g. track://uuid?ephemeral=true)
parameter value
ephemeral (bool) if set to true, this will play the track "on top" of the current track
loop the track will be looped until another track is being started; this will work almost gapless
callback this will specify a string that will be added to the trackEnd event - using this you can be informed on the end of playback of a specific file
Maybe it is just a bug which need fixing?
Anyway I hope someone can help. Thank you!