![]() |
[SOLVED] Restart Renderer through HTTP commands - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] Restart Renderer through HTTP commands (/showthread.php?tid=5478) |
Restart Renderer through HTTP commands - tdubb - 04-03-2023 I am still plagued with the issue of librespot quitting when my DAC input is changed from USB. I can't change the habits of my partner, so I am trying to find work-arounds until Librespot releases the next rev (which is supposed to have a fix) and Moode integrates the update. Is it possible to restart a renderer through the HTTP commands, something like Code: http://moode/command/?cmd=restart-renderer --spotify RE: Restart Renderer through HTTP commands - Tim Curtis - 04-04-2023 You could try editing /var/www/command/index.php and adding a code block like below in the section // PHP and BASH scripts Code: } else if (stripos($_GET['cmd'], 'restart-renderer.php') !== false) { Then Code: http://moode/command/?cmd=restart-renderer.php --spotify RE: Restart Renderer through HTTP commands - tdubb - 04-04-2023 Thanks Tim! This works perfectly. |