Hi!

This is a little tricky. Mp3 format does not specify how to send metadata. 
Thus, there has been many layers added over the years, id3v1, id3v3, etc.. 

For streaming with icecast, the format for metadata was introduced in the 
antiquity of the internet by shoutcast, it's explained here: 
https://cast.readme.io/docs/icy

> Metadata
> If the client sends the Icy-MetaData:1 header this means the client supports 
> ICY-metadata. The server should respond icy-metaint: 8192. 8192 is the number 
> of bytes between 2 metadata chunks. It is suggested to use this value as some 
> players might have issues parsing other values. In these chunks 
> StreamTitle='title of the song'; send the new song title. There also is a 
> StreamURL field which should be able to also send album art links or more 
> info. The exact implementation is however unknown.

As you can see, the only fields accepted is are title and url. Most client 
split the title along the format `$(title) - $(artist)` or something like that 
but this is not reliable.

Long story short: I'm afraid that passing specifically a `COMMENT` tag won't be 
possible. Alternatives would be to pass this comment tag inside the title or 
artist . Alternatively, you can use formats with more structured support for 
metadata such as any one using the `ogg` container.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/582#issuecomment-408274856
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to