Thank you for your donation!


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


multiroom as server
#29
(08-11-2024, 04:16 PM)Tim Curtis Wrote: Its a function library and not a callable script.

Have a look at the function startSpotify() for information on how the librespot command string is built. You can also try searching the source tree for "startSpotify" and "stopSpotify" to see where these functions are called.

i already search the startSpotify in github. i just found the function declare in www/inc/renderer.php
it called in restart-renderer.php, audio.php and worker.php

i got a little change in function startSpotify upload to system, reload nginx and php-fpm, click restart spotify connect or disable reenable from web'

but looks like my change never called. i just add line debugLog('recheck startSpotify') and check /var/log/moode.log for any log in there. but recheck never added in log.


i check nginx config and found that the root page is in the /var/www/ so /var/www/inc/renderer.php is correct path. but after update that file, restart nginx and debugLog is not there after restart spotify i just think cause of cache 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: