Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Volume is set to 0 after reboot
#14
(09-06-2024, 03:56 PM)Aureli1 Wrote:
(09-06-2024, 03:06 PM)Tim Curtis Wrote: If the system is rebooted while a renderer is running the renderer event script that resets the player state when the renderer disconnects never gets executed. This leaves things like the renderer active flag still showing as active.
Could you show me where is this part of code?


(09-06-2024, 03:06 PM)Tim Curtis Wrote: During moode startup this condition is checked and the flags are reset and volume is set to 0 to be safe since the assumption is that an abrupt reboot or power off occurred.
Do you think that an option to specify the Volume at startup is a good idea?
And where is this code part?

Thx

The renderer event scripts are located in /var/local/www/commandw/

There has never been a need for a startup volume because the last volume level is retained, except in the case where conditions warrant setting it to 0 during startup, like the "reboot when renderer active" scenario.

It might be convenient to have options for autoplay and volume level after startup but in practice they are not safe. What happens if you set autoplay on and level at 80 but forgot that your amp was really cranked up the last time you listened to another audio source :-0

The startup sequence is in the file /var/www/daemon/worker.php
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Volume is set to 0 after reboot - by Aureli1 - 03-15-2024, 03:36 PM
RE: Volume is set to 0 after reboot - by Aureli1 - 09-06-2024, 03:56 PM
RE: Volume is set to 0 after reboot - by Tim Curtis - 09-06-2024, 06:07 PM
RE: Volume is set to 0 after reboot - by Aureli1 - 09-06-2024, 12:13 PM
RE: Volume is set to 0 after reboot - by Aureli1 - 09-06-2024, 02:04 PM
RE: Volume is set to 0 after reboot - by Aureli1 - 09-06-2024, 03:48 PM

Forum Jump: