v0.9.155
This commit is contained in:
@@ -11,10 +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, "format is aac") != NULL) { config.setBitrateFormat(BF_AAC); display.putRequest(DBITRATE); }
|
||||
if (strstr(info, "format is flac") != NULL) { config.setBitrateFormat(BF_FLAC); display.putRequest(DBITRATE); }
|
||||
if (strstr(info, "format is mp3") != NULL) { config.setBitrateFormat(BF_MP3); display.putRequest(DBITRATE); }
|
||||
if (strstr(info, "format is wav") != NULL) { config.setBitrateFormat(BF_WAV); display.putRequest(DBITRATE); }
|
||||
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);
|
||||
|
||||
@@ -24,7 +24,7 @@ Page *pages[] = { new Page(), new Page(), new Page() };
|
||||
#ifndef DSP_TASK_DELAY
|
||||
#define DSP_TASK_DELAY 2
|
||||
#endif
|
||||
#if !((DSP_MODEL==DSP_ST7735 && DTYPE==INITR_BLACKTAB) || DSP_MODEL==DSP_ST7789)
|
||||
#if !((DSP_MODEL==DSP_ST7735 && DTYPE==INITR_BLACKTAB) || DSP_MODEL==DSP_ST7789 || DSP_MODEL==DSP_ST7796 || DSP_MODEL==DSP_ILI9488 || DSP_MODEL==DSP_ILI9486 || DSP_MODEL==DSP_ILI9341 || DSP_MODEL==DSP_ILI9225)
|
||||
#undef BITRATE_FULL
|
||||
#define BITRATE_FULL false
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define YOVERSION "0.9.150"
|
||||
#define YOVERSION "0.9.155"
|
||||
|
||||
/*******************************************************
|
||||
DO NOT EDIT THIS FILE.
|
||||
@@ -306,7 +306,7 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
#define MAX_AUDIO_SOCKET_TIMEOUT false // max audio socket timeout?
|
||||
#endif
|
||||
#ifndef BITRATE_FULL
|
||||
#define BITRATE_FULL false
|
||||
#define BITRATE_FULL true
|
||||
#endif
|
||||
/*
|
||||
*** ST7735 display submodel ***
|
||||
|
||||
Reference in New Issue
Block a user