02-21-2023, 11:19 PM
(02-21-2023, 10:02 PM)chanthing Wrote: QQ: How can I run librespot as a moode renderer and get debug output somewhere where I can examine it after the fact?
1. sudo nano /var/www/inc/renderer.php
2. Page down to function startSpotify()
3. Near the end of the function you will see the two lines below. Comment out the first line and un-comment the second line.
Original
Code:
' > /dev/null 2>&1 &';
//' -v > /home/pi/librespot.txt 2>&1 &'; // For debug
Modified
Code:
//' > /dev/null 2>&1 &';
' -v > /home/pi/librespot.txt 2>&1 &'; // For debug
4. Save the edit
5. Open Renderer Config and restart Spotify Connect
6. The log will be /home/pi/librespot.txt