v0.8.920
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#if __has_include("../../mqttoptions.h")
|
||||
#include "../../mqttoptions.h"
|
||||
#include <AsyncMqttClient.h>
|
||||
#include "../async-mqtt-client/AsyncMqttClient.h"
|
||||
|
||||
|
||||
void mqttInit();
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user