@@ -148,7 +148,7 @@ bool ESP32_VS1053_Stream::startDecoder(const uint8_t CS, const uint8_t DCS, cons
148148 _vs1053->switchToMp3Mode ();
149149 if (_vs1053->getChipVersion () == 4 )
150150 {
151- log_i (" Patching vs1053 firmware" );
151+ log_d (" Patching vs1053 firmware" );
152152 _vs1053->loadUserCode (PATCHES_FLAC, PATCHES_FLAC_SIZE);
153153 }
154154 setVolume (_volume);
@@ -340,7 +340,7 @@ bool ESP32_VS1053_Stream::connectToHost(const char *url, const char *username,
340340 const char *newUrl = _parsePlaylist ();
341341 if (newUrl)
342342 {
343- log_i (" playlist redirection to: %s" , newUrl);
343+ log_d (" playlist redirection to: %s" , newUrl);
344344 stopSong ();
345345 return connectToHost (newUrl, username, pwd, offset);
346346 }
@@ -356,7 +356,7 @@ bool ESP32_VS1053_Stream::connectToHost(const char *url, const char *username,
356356
357357 _remainingBytes = _http->getSize (); // -1 when Server sends no Content-Length header (chunked streams)
358358 _chunkedResponse = _http->header (ENCODING).equalsIgnoreCase (" chunked" ) ? true : false ;
359- log_i ( " stream is %s " , _chunkedResponse ? " chunked" : " normal " );
359+ log_d ( " %s stream " , _chunkedResponse ? " chunked" : " http " );
360360 _offset = (_remainingBytes == -1 ) ? 0 : offset;
361361 _metaDataStart = _http->header (ICY_METAINT).toInt ();
362362 _musicDataPosition = _metaDataStart ? 0 : -1 ;
@@ -391,7 +391,7 @@ bool ESP32_VS1053_Stream::connectToHost(const char *url, const char *username,
391391 const String location = _http->header (LOCATION);
392392
393393 stopSong ();
394- log_i (" %i redirection to: %s" , HTTPresult, location.c_str ());
394+ log_d (" %i redirection to: %s" , HTTPresult, location.c_str ());
395395 return connectToHost (location.c_str (), username, pwd, 0 );
396396 }
397397
0 commit comments