Moode Forum
[SOLVED] moOde 9.0.5 and 9.0.7: Adding radio station to playlist does not work - 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] moOde 9.0.5 and 9.0.7: Adding radio station to playlist does not work (/showthread.php?tid=6770)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: moOde 9.0.5: Adding radio station to playlist does not work - the_bertrum - 08-06-2024

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.


RE: moOde 9.0.5: Adding radio station to playlist does not work - Tim Curtis - 08-06-2024

(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



RE: moOde 9.0.5: Adding radio station to playlist does not work - the_bertrum - 08-06-2024

Much better Smile

Working like dream here Tim.


RE: moOde 9.0.5: Adding radio station to playlist does not work - TheOldPresbyope - 08-06-2024

(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


RE: moOde 9.0.5: Adding radio station to playlist does not work - kurt1970 - 08-06-2024

@Tim Curtis, now it's working again like a charm! Smile


RE: moOde 9.0.5: Adding radio station to playlist does not work - the_bertrum - 08-06-2024

(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.


RE: moOde 9.0.5: Adding radio station to playlist does not work - kurt1970 - 08-06-2024

I was going crazy, as it looked I was the only one on planet earth who was having the issue Smile


RE: moOde 9.0.5: Adding radio station to playlist does not work - kurt1970 - 08-15-2024

@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.


RE: moOde 9.0.5 and 9.0.7: Adding radio station to playlist does not work - Tim Curtis - 08-15-2024

Also run the secfilter patch. It's in the 9.0.7 Announcement thread.


RE: moOde 9.0.5 and 9.0.7: Adding radio station to playlist does not work - kurt1970 - 08-15-2024

@Tim Curtis Did that, but how is that related to the issue of adding a radio station to a playlist?