Thank you for your donation!


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


multiroom as server
#37
@lifeform 

Just a WAG but doesn't it seem like there's a syntax error in your modified PHP code?

When I added debugLog statements at the beginning and end of the startSpotify function and enabled debug logging, I got the following output in moode.log when I enabled the Spotify renderer:


Code:
20240812 105944 worker: Job spotifysvc
20240812 105944 KAR:startSpotify: entry
20240812 105944 startSpotify(): (librespot --name "Purple Spotify" --bitrate 320 --format S16 --ap-port 13561  --mixer softvol --initial-volume 0 --volume-ctrl log --volume-range 60 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "_audioout" --onevent /var/local/www/commandw/spotevent.sh -v > /var/log/moode_librespot.log 2>&1 &)
20240812 105944 KAR:startSpotify: exit


where KAR are my initials.

Please post code fragments in a code box rather than a screen capture. In this forum software the code-box icon looks like a plus sign on a paper scroll.

Regards,
Kent

PS - You can take this with a grain of salt. I'm not a PHP maven.
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: