BITRATE_FULL_150
This commit is contained in:
@@ -11,6 +11,10 @@ void audio_info(const char *info) {
|
||||
#ifdef USE_NEXTION
|
||||
nextion.audioinfo(info);
|
||||
#endif
|
||||
if (strstr(info, "format is aac") != NULL) config.setBitrateFormat(BF_AAC);
|
||||
if (strstr(info, "format is flac") != NULL) config.setBitrateFormat(BF_FLAC);
|
||||
if (strstr(info, "format is mp3") != NULL) config.setBitrateFormat(BF_MP3);
|
||||
if (strstr(info, "format is wav") != NULL) config.setBitrateFormat(BF_WAV);
|
||||
if (strstr(info, "skip metadata") != NULL) config.setTitle(config.station.name);
|
||||
if (strstr(info, "Account already in use") != NULL || strstr(info, "HTTP/1.0 401") != NULL) {
|
||||
player.setError(info);
|
||||
|
||||
Reference in New Issue
Block a user