Thank you for your donation!


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


Problem: Moode 9.0.1 Web-Radio Issue
#1
I met a strange situation in listening web-radio.

I registered a new web as followings.

Playable URL :  http://serpent0.duckdns.org:8088/kbsfm.pls

   


When I clicked to play the web radio, I met a strange screen.
There is no cover art.
There is no item in in the queue.
The selected web radio is playing and I can hear the sound via my audio system.
But, sometimes it stop unexpectedly. 

   
Reply
#2
(06-08-2024, 12:34 AM)eroica Wrote: I met a strange situation in listening web-radio.

I registered a new web as followings.

Playable URL :  http://serpent0.duckdns.org:8088/kbsfm.pls




When I clicked to play the web radio, I met a strange screen.
There is no cover art.
There is no item in in the queue.
The selected web radio is playing and I can hear the sound via my audio system.
But, sometimes it stop unexpectedly. 

The note under the Playable URL entry line says " Enter the URL to the actual stream and not to a playlist of stream links."

The endpoint of the URL you provided is, in fact, a playlist (in .pls format). I downloaded and examined it. It, in turn, points to a playlist in .m3u8 format (Title1: KBS Classic FM) but with "Expires", "Policy" and "Key-pair tags.

Accessing the station a different way via browser I see the network traffic is actually a continuous succession of short .aac files.

All, in all, not what moOde expects.

Regards,
Kent
Reply
#3
In moode 8.x.x, there is no problem in playing and queueing the web-radio with playable URL http://serpent0.duckdns.org:8088/kbsfm.pls.
Once the web-radio plays, it never stops.
The only problem is that moode doesn't show the cover art in the screen.
After upgrade to 9.0.1, whenever I try to listen the web-radio, I meet the strange situation - No cover, no queueing, unexpected stop......
I hope the 9.0.2 update includes the fix of this issue.
Reply
#4
Couple of issues.

1. The URL you posted is not the playable URL, it's a playlist file containing one or more playable URL's. The playable URL is what is required when creating a radio station otherwise no cover art or metadata from the New station screen will be shown when playing the station.

2. The actual playable URL is super long and will be truncated when entering it in the New station URL input field which is currently set to max length = 200. 

Code:
# Download the pls file

pi@moode9:~ $ wget http://serpent0.duckdns.org:8088/kbsfm.pls
--2024-06-10 15:35:25--  http://serpent0.duckdns.org:8088/kbsfm.pls
Resolving serpent0.duckdns.org (serpent0.duckdns.org)... 116.39.207.4
Connecting to serpent0.duckdns.org (serpent0.duckdns.org)|116.39.207.4|:8088... connected.
HTTP request sent, awaiting response... 200 OK
Length: 703 [audio/x-scpls]
Saving to: ‘kbsfm.pls’

kbsfm.pls                             100%[=========================================================================>]     703  --.-KB/s    in 0s      

2024-06-10 15:35:27 (122 MB/s) - ‘kbsfm.pls’ saved [703/703]

# Show the file. The Playable URL is after the "File1=" param.

pi@moode9:~ $ cat kbsfm.pls
[playlist]
File1=https://1fm.gscdn.kbs.co.kr/1fm_192_2.m3u8?Expires=1718219910&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly8xZm0uZ3NjZG4ua2JzLmNvLmtyLzFmbV8xOTJfMi5tM3U4IiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzE4MjE5OTEwfX19XX0_&Signature=Jlf4eLA94kHBTOYdtcEvsgT~czXD7XYR4zhWvOuCNQ1ajhfhS~BU4F3RqWUL3jr2vRdBb1sp8tiAMs~RBRbj1glV~HAIT4kl3dqWS0hpXp9JPWcR1viEnMedbe0PG~x961dFPvytTrHakJSOgkhCR3AHP4AWxxeUkPQrPbHVYhrymbp9W8nuqLPAaO556qVFNa7e9A5OTWj01eCxqF01wmmHd8dMqZSrL8Wri~VeWU~DqvU6xVlg8i8UvMnVcNCCIAr7cHPbiYd8Pl8hVBTyKnE3PjSR13V85MnWRp7TC311jfKAt72zYC8ozZgw0QFqEY5JxmS7ZjVm6P4vVbK4ug__&Key-Pair-Id=APKAICDSGT3Y7IXGJ3TA
Title1=KBS Classic FM
Length1=-1

NumberOfEntries=1

I bump the max length to 2048 so these long URL's can be used. It will be included in upcoming 9.0.2

   
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: