Thank you for your donation!


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


Solved: moOde 9.0.5 and 9.0.7: Adding radio station to playlist does not work
#91
I found a way to repro! Listening to Klara Continuo, who update the meta data every few seconds, triggers the failure.
Testing the fixes, not only have the playlists gone, but I can't create any new ones. The playlist created message comes up, but no playlists appear.
----------------
Robert
Reply
#92
(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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#93
Much better Smile

Working like dream here Tim.
----------------
Robert
Reply
#94
(08-06-2024, 03:47 PM)the_bertrum Wrote: I found a way to repro!  Listening to Klara Continuo, who update the meta data every few seconds, triggers the failure.
...

Thanks for this. I was going crazy trying to repro. Tongue

Regards,
Kent
Reply
#95
@Tim Curtis, now it's working again like a charm! Smile
Reply
#96
(08-06-2024, 05:22 PM)TheOldPresbyope Wrote:
(08-06-2024, 03:47 PM)the_bertrum Wrote: I found a way to repro!  Listening to Klara Continuo, who update the meta data every few seconds, triggers the failure.
...

Thanks for this. I was going crazy trying to repro. Tongue

Regards,
Kent

Yeah, me too.  Even though it was fixed it was doing my head in that I couldn't make it fail.
----------------
Robert
Reply
#97
I was going crazy, as it looked I was the only one on planet earth who was having the issue Smile
Reply
#98
@Tim Curtis Just upgraded my 2 instances to the 9.0.7 release. The bug is back on my 2 instances...

However, after patching 1 instance with your commands above, made it works on the patched instance.
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.txt -O /var/www/command/playlist.php

I patched my 2nd instance with the same commands, and now it works on both instances.
Reply
#99
Also run the secfilter patch. It's in the 9.0.7 Announcement thread.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
@Tim Curtis Did that, but how is that related to the issue of adding a radio station to a playlist?
Reply


Forum Jump: