Reply To: [SOLVED] Fade-In-Out script

8. April 2017 at 9:23 #28033

I’m actually looking for something similar, just a way to fade in and out the music, but possibly simpler than that.
I’m new to coding, and I’d mostly just like to know if there’s a way to tell the squeezebox server to fade in and out (assuming the other squeezelite players will have volume synced, which I have found the setting for). Then, I can figure out the coding for delay time between volume levels to turn it up and down.
The only thing I’ve found so far is by digging through the javascript from the server’s web interface, I’ve found:

SqueezeJS.Strings['volumeup'] = "Louder";

SqueezeJS.Strings['volumedown'] = "Softer";

Although I’m just not sure how to implement this as code, or how to basically „send“ commands to the Squeezebox server.
I feel like this is probably a dumb question for any developer, but it’s over my head.