stream name maybe icy-name or ice-name in the http headers
git-svn-id: https://svn.musicpd.org/mpd/trunk@2339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
fececcea3c
commit
61a88f1692
|
@ -570,7 +570,9 @@ static int getHTTPHello(InputStream * inStream) {
|
|||
else if(0 == strncmp(cur, "\r\nicy-metaint:", 14)) {
|
||||
data->icyMetaint = atoi(cur+14);
|
||||
}
|
||||
else if(0 == strncmp(cur, "\r\nicy-name:", 11)) {
|
||||
else if(0 == strncmp(cur, "\r\nicy-name:", 11) ||
|
||||
0 == strncmp(cur, "\r\nice-name:", 11))
|
||||
{
|
||||
int incr = 11;
|
||||
char * temp = strstr(cur+incr,"\r\n");
|
||||
if(!temp) break;
|
||||
|
|
Loading…
Reference in New Issue