ChriD / RaumkernelLib

C/C++ library to control the Raumfeld Multiroom System
3 stars 0 forks source link

'LoadUri' method on virtual renderer should load metaData when possible #2

Closed ChriD closed 8 years ago

ChriD commented 8 years ago

the loadUri method on the virtual media renderer works nice but maybe should load the metaData of for example a radio link

ChriD commented 8 years ago

The metadata link should be available in the header of the url?! I have to check this.

ChriD commented 8 years ago

eg. response return from icecast when callinf the webradio

Status: HTTP/1.0 200 OK
Content-Type:   audio/mpeg
icy-br: 128
ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2
icy-br: 128
icy-description:    ROCK ANTENNE Heavy Metal
icy-genre:  Rock
icy-name:   ROCK ANTENNE Heavy Metal
icy-pub:    1
icy-url:    http://heavymetal.rockantenne.de/heavymetal 
Server: Icecast 2.3.2-kh31
Cache-Control:  no-cache
Expires:    Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache

if there would be metadata there would be a header key with Icy-MetaData: [linktoMeta]

The meta information is also embedded in the audio stream. To read this would be the best solution but this is handled by the raumfeld system :-(

Well i coud implement the streaming from the url in the kernel and check for metadata and then set it (metadata streaming), but is it worth it?

ChriD commented 8 years ago

I'll close this issue. It would be too much effort for the results

holli73 commented 8 years ago

hello,

so there is no quick win just to pass on a parameter (url) to a png for the station icon? further is there any way how i can save a loadeduri to the available station buttons? i can not save loaduri to the station buttons on the rf device - any idea how this could be possible?

thanks holli