1 parent
01362d2e51
commit
39aff68d8d
29 files changed
+2061
-1818
No files matched your search
@@ -46,16 +46,10 @@ namespace Echoion::Core
|
||||
std::string lastActivity; // ISO 8601
|
||||
};
|
||||
|
||||
struct ListeningRoomState {
|
||||
struct ExtensionPluginState {
|
||||
std::string name;
|
||||
uint64_t ownerId = 0;
|
||||
std::vector<uint64_t> members;
|
||||
Echoion::Api::PlaybackState playback;
|
||||
std::vector<QueueEntry> queue;
|
||||
std::optional<std::string> currentStreamUrl;
|
||||
int64_t playbackPositionMs = 0;
|
||||
BotConfig config;
|
||||
bool autoplay = false;
|
||||
std::string json;
|
||||
std::uint32_t version = 0;
|
||||
};
|
||||
|
||||
// Main state
|
||||
@@ -65,7 +59,7 @@ namespace Echoion::Core
|
||||
bool autoplay = false; // Radio mode on/off (persisted for restart)
|
||||
std::vector<QueueEntryState> queue;
|
||||
std::vector<SessionState> sessions;
|
||||
std::vector<ListeningRoomState> listeningRooms;
|
||||
std::vector<ExtensionPluginState> extensionPlugins;
|
||||
|
||||
// Version info
|
||||
uint32_t version = 1;
|
||||
|
||||
Reference in new issue
Block a user