change to api, making WEB

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-11 00:44:08 +03:00
1 parent 97dc183bdf
commit e7573fbcd0
6 files changed
+193 -22

No files matched your search

+2 -12
View File
@@ -102,7 +102,7 @@ namespace Echoion::Api::Events
struct PlaylistLoadStarted {
std::string playlistId;
uint64_t requestedByClientId;
uint64_t databasePlaylistId;
uint64_t databasePlaylistId = 0;
};
struct PlaylistTrackLoaded {
@@ -110,7 +110,7 @@ namespace Echoion::Api::Events
TrackInfo track;
uint32_t loadedCount;
uint32_t totalCount;
uint64_t databasePlaylistId;
uint64_t databasePlaylistId = 0;
};
struct PlaylistLoadCompleted {
@@ -133,16 +133,6 @@ namespace Echoion::Api::Events
uint64_t clientId;
};
// Connection events
struct ClientConnected {
ClientInfo client;
};
struct ClientDisconnected {
uint64_t clientId;
std::string reason;
};
// Error events
struct PlaybackError {
ErrorCode code;