Problems with single quotes in metadata transmission

Steamcast is a stand alone server that combines the features of SHOUTcast and Icecast2 and more to make one mega awesome server.
Post Reply
goodmusic
Posts: 1
Joined: Sat Nov 26, 2016 6:03 pm

Problems with single quotes in metadata transmission

Post by goodmusic » Sat Nov 26, 2016 7:39 pm

When track title has single quote character ' (aka apostrophe, hex code 27), then it is transmitted incorrectly: on server web page is not displayed, on StreamTitle in raw stream single quote is replaced by right single quote mark (hex code 92) and adds a empty StreamUrl tag; in VLC player is not recognized and not displayed, in winamp not recognized as current title but displayed.
Icecast2 with the same source is working ok.
When relaying from icecast2, on server web page - displayed, in raw stream not replaced, in VLC recognized and displayed, in winamp still shown but not recognized as "Stream Info -> Current title".
Please help to fix!

User avatar
Max
Posts: 70
Joined: Fri Oct 21, 2011 1:39 am

Re: Problems with single quotes in metadata transmission

Post by Max » Wed Nov 30, 2016 8:19 pm

Hi,

I'm looking into this. However, what is likely happening is that we have code that replaces the single quote with another single quote that doesn't interfere with ICY metadata. We have to do this due to ICY metadata reserving to itself the single quote to specify the length of the string for whatever parameter is being defined.

Regards,
- Max

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests