SokoloffA / radiola

MIT License
136 stars 4 forks source link

No song title on Radio Gameplay #35

Open denilsonsa opened 3 months ago

denilsonsa commented 3 months ago

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:

SokoloffA commented 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.

denilsonsa commented 3 months ago

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:

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       :