Add reload capability for the musiclist
This commit is contained in:
parent
00da956ec8
commit
3f212aeb35
@ -462,6 +462,7 @@ void AOClient::cmdReload(int argc, QStringList argv)
|
|||||||
emit server->reloadRequest(ConfigManager::serverName(), ConfigManager::serverDescription());
|
emit server->reloadRequest(ConfigManager::serverName(), ConfigManager::serverDescription());
|
||||||
server->updateHTTPAdvertiserConfig();
|
server->updateHTTPAdvertiserConfig();
|
||||||
server->handleDiscordIntegration();
|
server->handleDiscordIntegration();
|
||||||
|
server->m_music_list = ConfigManager::musiclist();
|
||||||
sendServerMessage("Reloaded configurations");
|
sendServerMessage("Reloaded configurations");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user