This commit is contained in:
e2002
2023-01-17 15:31:22 +03:00
parent 5e5db0c9a8
commit f90718f2f0
75 changed files with 10961 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
#if __has_include("../../mqttoptions.h")
#include "../../mqttoptions.h"
#include <AsyncMqttClient.h>
#include "../async-mqtt-client/AsyncMqttClient.h"
void mqttInit();

View File

@@ -2,7 +2,7 @@
#define netserver_h
#include "Arduino.h"
#include "ESPAsyncWebServer.h"
#include "../AsyncWebServer/ESPAsyncWebServer.h"
#include "AsyncUDP.h"
enum requestType_e : uint8_t { PLAYLIST=1, STATION=2, STATIONNAME=3, ITEM=4, TITLE=5, VOLUME=6, NRSSI=7, BITRATE=8, MODE=9, EQUALIZER=10, BALANCE=11, PLAYLISTSAVED=12, GETMODE=13, GETINDEX=14, GETACTIVE=15, GETSYSTEM=16, GETSCREEN=17, GETTIMEZONE=18, GETWEATHER=19, GETCONTROLS=20, DSPON=21, SDPOS=22, SDLEN=23, SDSNUFFLE=24 };
@@ -27,8 +27,8 @@ class NetServer {
void setRSSI(int val) { rssi = val; };
void chunkedHtmlPage(const String& contentType, AsyncWebServerRequest *request, const char * path, bool gzip = false);
void onWsMessage(void *arg, uint8_t *data, size_t len, uint8_t clientId);
#if IR_PIN!=255
bool irRecordEnable;
#if IR_PIN!=255
void irToWs(const char* protocol, uint64_t irvalue);
void irValsToWs();
#endif

View File

@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h
#define YOVERSION "0.8.901"
#define YOVERSION "0.8.920"
/*******************************************************
DO NOT EDIT THIS FILE.

View File

@@ -78,7 +78,8 @@ void Player::stop(const char *nttl){
netserver.requestOnChange(BITRATE, 0);
display.putRequest(DBITRATE);
display.putRequest(PSTOP);
setDefaults();
//setDefaults();
stopSong();
stopInfo();
if (player_on_stop_play) player_on_stop_play();
}