(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