08-06-2024, 04:09 PM
(08-06-2024, 03:35 PM)kurt1970 Wrote:(08-06-2024, 12:29 PM)Tim Curtis Wrote: Here's a set of updated files with all the debug logging removed.
Code:sudo wget -q https://moodeaudio.org/test/lib.min.js -O /var/www/js/lib.min.js
sudo wget -q https://moodeaudio.org/test/main.min.js -O /var/www/js/main.min.js
sudo wget -q https://moodeaudio.org/test/playlist.php -O /var/www/command/playlist.php
Hi @Tim Curtis I replaced the files on both a 9.0.5 and 9.0.6 instance, but something seems to break it, as my playlists are gone after the wgets...
Oops. Wget a php file won't work.
Try this
Code:
sudo wget -q https://moodeaudio.org/test/playlist.php.txt -O /var/www/command/playlist.php
You can verify it worked by looking at the file size and time stamp. They should be same as below.
JS files
Code:
pi@moode9:~ $ ls -l /var/www/js/
total 736
-rwxr-xr-x 1 root root 586544 Aug 6 07:28 lib.min.js
-rwxr-xr-x 1 root root 141288 Aug 6 07:28 main.min.js
PHP file
Code:
pi@moode9:~ $ ls -l /var/www/command/
total 80
-rwxr-xr-x 1 root root 11832 Aug 6 12:00 playlist.php