Screensaver while playing option

This commit is contained in:
darkpoet78
2024-12-29 17:41:24 +09:00
parent c2c1908f96
commit c7eb9cc700
8 changed files with 52 additions and 6 deletions

View File

@@ -46,7 +46,7 @@
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0)
#define ESP_ARDUINO_3 1
#endif
#define CONFIG_VERSION 3
#define CONFIG_VERSION 4
enum playMode_e : uint8_t { PM_WEB=0, PM_SDCARD=1 };
enum BitrateFormat { BF_UNCNOWN, BF_MP3, BF_AAC, BF_FLAC, BF_OGG, BF_WAV };
@@ -136,6 +136,8 @@ struct config_t
bool rotate90;
bool screensaverEnabled;
uint16_t screensaverTimeout;
bool screensaverPlayingEnabled;
uint16_t screensaverPlayingTimeout;
char mdnsname[24];
bool skipPlaylistUpDown;
};
@@ -181,6 +183,7 @@ class Config {
bool emptyFS;
uint16_t vuThreshold;
uint16_t screensaverTicks;
uint16_t screensaverPlayingTicks;
bool isScreensaver;
public:
Config() {};