Thank you for your donation!


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


HA integration render and others.
#13
I tested the symlink yesterday and no issues after 8 hours. It's not obvious to me what might be happening on your end.

Code:
1. Comment out or delete the code block in worker.php chkMaintenance() function
2. Reboot
3. Setup the symlink
  sudo ln -s /var/local/www/currentsong.txt /var/www/currentsong.txt
4. Turn on the metadata file in System Config
5. Start a radio station playing
6. Query the metadata file (currentsong.txt)
  http://moode/currentsong.txt

It might be worthwhile to add a TODO list item to create a Web API command to return currentsong.txt. This would eliminate the need to mess with symlinks.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
HA integration render and others. - by kuduacz - 05-23-2022, 11:37 AM
RE: HA integration render and others. - by Tim Curtis - 05-25-2022, 10:48 AM
RE: HA integration render and others. - by Nutul - 06-24-2022, 09:08 PM
RE: HA integration render and others. - by Nutul - 06-24-2022, 10:24 PM
RE: HA integration render and others. - by Nutul - 06-24-2022, 11:58 PM

Forum Jump: