v0.9.161
This commit is contained in:
@@ -226,6 +226,11 @@ Work is in progress...
|
|||||||
|
|
||||||
---
|
---
|
||||||
## Version history
|
## Version history
|
||||||
|
#### v0.9.161
|
||||||
|
- fixed errors 403 Account already in use, 401 Authorization required
|
||||||
|
- fixed bitrate icon overflow bug
|
||||||
|
- fix html markup errors
|
||||||
|
|
||||||
#### v0.9.156
|
#### v0.9.156
|
||||||
- fixed bug of random change of playback location when playing files from SD card
|
- fixed bug of random change of playback location when playing files from SD card
|
||||||
|
|
||||||
|
|||||||
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, hostwoext);
|
||||||
strcat(rqh, "\r\n");
|
strcat(rqh, "\r\n");
|
||||||
strcat(rqh, "Icy-MetaData:1\r\n");
|
strcat(rqh, "Icy-MetaData:1\r\n");
|
||||||
strcat(rqh, "Authorization: Basic ");
|
if (auth > 0) {
|
||||||
strcat(rqh, authorization);
|
strcat(rqh, "Authorization: Basic ");
|
||||||
strcat(rqh, "\r\n");
|
strcat(rqh, authorization);
|
||||||
|
strcat(rqh, "\r\n");
|
||||||
|
}
|
||||||
strcat(rqh, "Accept-Encoding: identity;q=1,*;q=0\r\n");
|
strcat(rqh, "Accept-Encoding: identity;q=1,*;q=0\r\n");
|
||||||
strcat(rqh, "User-Agent: Mozilla/5.0\r\n");
|
strcat(rqh, "User-Agent: Mozilla/5.0\r\n");
|
||||||
strcat(rqh, "Connection: keep-alive\r\n\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, hostwoext);
|
||||||
strcat(rqh, "\r\n");
|
strcat(rqh, "\r\n");
|
||||||
strcat(rqh, "Icy-MetaData:1\r\n");
|
strcat(rqh, "Icy-MetaData:1\r\n");
|
||||||
strcat(rqh, "Authorization: Basic ");
|
if (auth > 0) {
|
||||||
strcat(rqh, authorization);
|
strcat(rqh, "Authorization: Basic ");
|
||||||
strcat(rqh, "\r\n");
|
strcat(rqh, authorization);
|
||||||
|
strcat(rqh, "\r\n");
|
||||||
|
}
|
||||||
strcat(rqh, "Accept-Encoding: identity;q=1,*;q=0\r\n");
|
strcat(rqh, "Accept-Encoding: identity;q=1,*;q=0\r\n");
|
||||||
strcat(rqh, "User-Agent: Mozilla/5.0\r\n");
|
strcat(rqh, "User-Agent: Mozilla/5.0\r\n");
|
||||||
strcat(rqh, "Connection: keep-alive\r\n\r\n");
|
strcat(rqh, "Connection: keep-alive\r\n\r\n");
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef options_h
|
#ifndef options_h
|
||||||
#define options_h
|
#define options_h
|
||||||
|
|
||||||
#define YOVERSION "0.9.156"
|
#define YOVERSION "0.9.161"
|
||||||
|
|
||||||
/*******************************************************
|
/*******************************************************
|
||||||
DO NOT EDIT THIS FILE.
|
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){
|
void BitrateWidget::setBitrate(uint16_t bitrate){
|
||||||
_bitrate = bitrate;
|
_bitrate = bitrate;
|
||||||
|
if(_bitrate>999) _bitrate=999;
|
||||||
_draw();
|
_draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user