Thank you for your donation!


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


multiroom as server
#32
(08-12-2024, 10:49 AM)Tim Curtis Wrote: If you want to add something to the command string that starts librespot then modify the function startSpotify() in /inc/renderer.php.

worker.php gets started in the /etc/rc.local script. Its a daemon (server) that performs the moode startup sequence and then goes into a 3 second polling loop waiting for a job to be placed in its queue by one of the config screens and then does whatever the job requires. The polling loop is also where renderer active states are checked.

watchdog.sh is started by worker, php at the end of the startup sequence. Its a daemon that runs a 6 second polling loop that checks for and logs PHP, MPD and TRX crashes (rare) and also performs the "Wake display on play" action.

nah...
i already change some, like i added debugLog statement and i modify device parameter in the librespot. and it is hardcoded
i try with restart spotify connect in renderer config page. i even stop and start it again. 

but debugLog string is not show in the log at all. and device parameter is not changing at all.
thats why i asked if moode use cache before.
i make sure opcache is enable=0 and restart the php8.2-fpm service
i also restart the nginx

but the renderer looks like cached. still not change at all. the thing that i not try yet is reboot the system. cause i run the snapcast still manually

if i added debugLog in submitJob function in /inc/common.php it will state in the debug log (check with tail /var/log/moode.log)


ren-config --> submitJob
                          |
                     create session to read by worker
                          |
                     worker.php call startSpotify() (<-- in event restart and make spotify connect on)

what i missed Sad
Reply


Messages In This Thread
multiroom as server - by lifeform - 06-10-2024, 11:06 AM
RE: multiroom as server - by Tim Curtis - 06-10-2024, 11:21 AM
RE: multiroom as server - by lifeform - 06-10-2024, 12:00 PM
RE: multiroom as server - by Tim Curtis - 06-10-2024, 02:00 PM
RE: multiroom as server - by lifeform - 06-26-2024, 12:40 PM
RE: multiroom as server - by Tim Curtis - 06-27-2024, 01:04 PM
RE: multiroom as server - by lifeform - 06-30-2024, 04:34 AM
RE: multiroom as server - by Tim Curtis - 06-26-2024, 01:37 PM
RE: multiroom as server - by Tim Curtis - 06-27-2024, 10:54 PM
RE: multiroom as server - by lifeform - 07-24-2024, 12:34 PM
RE: multiroom as server - by Tim Curtis - 07-24-2024, 02:49 PM
RE: multiroom as server - by lifeform - 07-25-2024, 06:07 AM
RE: multiroom as server - by Tim Curtis - 07-25-2024, 10:45 AM
RE: multiroom as server - by lifeform - 07-26-2024, 11:39 AM
RE: multiroom as server - by Tim Curtis - 07-26-2024, 12:01 PM
RE: multiroom as server - by lifeform - 07-26-2024, 01:29 PM
RE: multiroom as server - by lifeform - 08-04-2024, 04:05 AM
RE: multiroom as server - by DRONE7 - 08-04-2024, 05:28 AM
RE: multiroom as server - by lifeform - 08-04-2024, 06:11 AM
RE: multiroom as server - by Falco - 08-04-2024, 11:55 AM
RE: multiroom as server - by lifeform - 08-04-2024, 03:26 PM
RE: multiroom as server - by pschellenbach - 08-05-2024, 01:04 AM
RE: multiroom as server - by lifeform - 08-05-2024, 04:42 AM
RE: multiroom as server - by Tim Curtis - 08-05-2024, 10:24 AM
RE: multiroom as server - by lifeform - 08-08-2024, 06:34 AM
RE: multiroom as server - by Tim Curtis - 08-08-2024, 11:30 AM
RE: multiroom as server - by lifeform - 08-11-2024, 03:21 PM
RE: multiroom as server - by Tim Curtis - 08-11-2024, 04:16 PM
RE: multiroom as server - by lifeform - 08-11-2024, 04:39 PM
RE: multiroom as server - by lifeform - 08-12-2024, 04:40 AM
RE: multiroom as server - by Tim Curtis - 08-12-2024, 10:49 AM
RE: multiroom as server - by lifeform - 08-12-2024, 11:11 AM
RE: multiroom as server - by lifeform - 08-17-2024, 03:19 PM
RE: multiroom as server - by lifeform - 08-12-2024, 11:17 AM
RE: multiroom as server - by Tim Curtis - 08-12-2024, 12:12 PM
RE: multiroom as server - by lifeform - 08-12-2024, 02:00 PM
RE: multiroom as server - by Tim Curtis - 08-12-2024, 02:36 PM
RE: multiroom as server - by lifeform - 08-12-2024, 03:17 PM
RE: multiroom as server - by TheOldPresbyope - 08-12-2024, 03:09 PM
RE: multiroom as server - by lifeform - 08-12-2024, 03:15 PM
RE: multiroom as server - by Tim Curtis - 08-17-2024, 03:33 PM
RE: multiroom as server - by lifeform - 08-18-2024, 01:58 PM

Forum Jump: