v0.9.161
This commit is contained in:
Binary file not shown.
@@ -461,9 +461,11 @@ bool Audio::connecttohost(const char* host, const char* user, const char* pwd) {
|
||||
strcat(rqh, hostwoext);
|
||||
strcat(rqh, "\r\n");
|
||||
strcat(rqh, "Icy-MetaData:1\r\n");
|
||||
strcat(rqh, "Authorization: Basic ");
|
||||
strcat(rqh, authorization);
|
||||
strcat(rqh, "\r\n");
|
||||
if (auth > 0) {
|
||||
strcat(rqh, "Authorization: Basic ");
|
||||
strcat(rqh, authorization);
|
||||
strcat(rqh, "\r\n");
|
||||
}
|
||||
strcat(rqh, "Accept-Encoding: identity;q=1,*;q=0\r\n");
|
||||
strcat(rqh, "User-Agent: Mozilla/5.0\r\n");
|
||||
strcat(rqh, "Connection: keep-alive\r\n\r\n");
|
||||
|
||||
@@ -1787,9 +1787,11 @@ bool Audio::connecttohost(const char* host, const char* user, const char* pwd) {
|
||||
strcat(rqh, hostwoext);
|
||||
strcat(rqh, "\r\n");
|
||||
strcat(rqh, "Icy-MetaData:1\r\n");
|
||||
strcat(rqh, "Authorization: Basic ");
|
||||
strcat(rqh, authorization);
|
||||
strcat(rqh, "\r\n");
|
||||
if (auth > 0) {
|
||||
strcat(rqh, "Authorization: Basic ");
|
||||
strcat(rqh, authorization);
|
||||
strcat(rqh, "\r\n");
|
||||
}
|
||||
strcat(rqh, "Accept-Encoding: identity;q=1,*;q=0\r\n");
|
||||
strcat(rqh, "User-Agent: Mozilla/5.0\r\n");
|
||||
strcat(rqh, "Connection: keep-alive\r\n\r\n");
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define YOVERSION "0.9.156"
|
||||
#define YOVERSION "0.9.161"
|
||||
|
||||
/*******************************************************
|
||||
DO NOT EDIT THIS FILE.
|
||||
|
||||
@@ -467,6 +467,7 @@ void BitrateWidget::init(BitrateConfig bconf, uint16_t fgcolor, uint16_t bgcolor
|
||||
|
||||
void BitrateWidget::setBitrate(uint16_t bitrate){
|
||||
_bitrate = bitrate;
|
||||
if(_bitrate>999) _bitrate=999;
|
||||
_draw();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user