Open denilsonsa opened 3 months ago
It takes me a while to figure out how the guys get the metadata. I'm using metadata from the audio stream, your streams don't have it. Looks like the guys are doing it another way.
Small update: I think the old version of KDE/Plasma Advanced Radio Player shows the current song, bit apparently not anymore. I may as well be misremembering things.
But I can confirm:
ffplay
(from ffmpeg
) also shows it as part of the StreamTitle
metadata. In fact, it displays even more metadata (but it never refreshes the metadata upon change):
Input #0, mp3, from 'https://c22.radioboss.fm:8144/GamePlay':=0/0
Metadata:
icy-br : 128
icy-description : Video Games Music
icy-genre : Game Music
icy-name : Radio GamePlay
icy-pub : 0
icy-url : https://www.radiogameplay.ru
StreamTitle : Golden Axe III - Bloody Street (Stage 4B) (Naofumi Hataya, 1993, SEGA)
Interestingly, preroll ads have their own metadata:
Input #0, mp3, from 'https://stream.classic.nl/classicnl.mp3':0/0
Metadata:
icy-description : Unspecified description
icy-pub : 0
icy-audio-info : ice-samplerate=44100;ice-bitrate=192;ice-channels=2
icy-url :
icy-name : CLASSICNL
icy-genre : various
icy-br : 192
StreamTitle :
StreamUrl :
adw_ad : true
durationMilliseconds: 25103
adId : 0
insertionType : preroll
And the real music:
Input #0, mp3, from 'https://stream.classic.nl/classicnl.mp3':0/0
Metadata:
icy-description : Unspecified description
icy-pub : 0
icy-audio-info : ice-samplerate=44100;ice-bitrate=192;ice-channels=2
icy-url :
icy-name : CLASSICNL
icy-genre : various
icy-br : 192
StreamTitle : Beethoven - Isabelle Faust - Vioolsonate no.5 op.24 (4)
StreamUrl :
This is Radio GamePlay:
When playing on RadioDroid or on KDE/Plasma Advanced Radio Player, it correctly shows the song title and author/composer. When playing on VLC on Mac, or on Radiola, no information is shown.
Sample URLs: