05-25-2022, 10:48 AM
(This post was last modified: 05-25-2022, 10:51 AM by Tim Curtis.
Edit Reason: eta
)
I tested the symlink yesterday and no issues after 8 hours. It's not obvious to me what might be happening on your end.
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.
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.