02-26-2024, 12:46 PM
Good day everyone in the community,
I'm having my best days with the moOde audio system but recently I've found that for some internet radio addresses in South Korea, seems like the information about the radio does not display on the webpage appropriately.
The list of URLs of trouble-marking internet radios is the following:
Explaining the problem in detail, it seems like if I try to add and play those internet radio streams, while mpd plays the stream correctly, the webpage does not update the information itself. The title and the station information are stuck with what I've played just right before adding that troublemaker, and also the station entry was not added to the queue. The only way to get the queue and the information about the station displayed correctly is by adding another element after this tricky radio stream.
I've inspected what's going on the web UI with the developer tool of the Chrome browser, then found that there's an unhandled exception on playerlib.js, which seems like the code tries to access the non-existing MPD.json['file']['format'] field. Not sure but in my opinion, it might be related to the characteristics of the stream pls files listed above, which all try to broker continuously changing streaming URLs due to the ever-changing security keys of the radio station.
There might be more works to inspect, but I think this is a simple problem that can handled by adding an exception handler in the failing section of the playerlib.js.
I've attached screenshots and console error logs from the developer tool below, feel free to ask me for more details regarding this problem.
Best regards,
Stephen
Console Log
Screenshots
1. Everyting clean and okay.
2. When I try to add (or play) the tricky one...
3. The page is not displaying information of the radio stream correctly. (lookng same with the first screenshot, but the audio is playing!)
4. Only way to display the information correctly is adding another element just right after...
5. Then as you can see the information of the failing element is showing up on the queue.
I'm having my best days with the moOde audio system but recently I've found that for some internet radio addresses in South Korea, seems like the information about the radio does not display on the webpage appropriately.
The list of URLs of trouble-marking internet radios is the following:
- http://serpent0.duckdns.org:8088/kbsfm.pls
- http://serpent0.duckdns.org:8088/kbs2fm.pls
- http://serpent0.duckdns.org:8088/kbs1radio.pls
- http://serpent0.duckdns.org:8088/kbs2radio.pls
- http://serpent0.duckdns.org:8088/mbcfm.pls
- http://serpent0.duckdns.org:8088/mbcsfm.pls
Explaining the problem in detail, it seems like if I try to add and play those internet radio streams, while mpd plays the stream correctly, the webpage does not update the information itself. The title and the station information are stuck with what I've played just right before adding that troublemaker, and also the station entry was not added to the queue. The only way to get the queue and the information about the station displayed correctly is by adding another element after this tricky radio stream.
I've inspected what's going on the web UI with the developer tool of the Chrome browser, then found that there's an unhandled exception on playerlib.js, which seems like the code tries to access the non-existing MPD.json['file']['format'] field. Not sure but in my opinion, it might be related to the characteristics of the stream pls files listed above, which all try to broker continuously changing streaming URLs due to the ever-changing security keys of the radio station.
There might be more works to inspect, but I think this is a simple problem that can handled by adding an exception handler in the failing section of the playerlib.js.
I've attached screenshots and console error logs from the developer tool below, feel free to ask me for more details regarding this problem.
Best regards,
Stephen
Console Log
Code:
Uncaught TypeError: Cannot read properties of undefined (reading 'format')
at Object.success (playerlib.js:1044:75)
at u (jquery-1.8.2.js:974:30)
at Object.fireWith [as resolveWith] (jquery-1.8.2.js:1082:7)
at N (jquery-1.8.2.js:7788:14)
at XMLHttpRequest.n (jquery-1.8.2.js:8500:8)
Screenshots
1. Everyting clean and okay.
2. When I try to add (or play) the tricky one...
3. The page is not displaying information of the radio stream correctly. (lookng same with the first screenshot, but the audio is playing!)
4. Only way to display the information correctly is adding another element just right after...
5. Then as you can see the information of the failing element is showing up on the queue.