Music bot fix
This commit is contained in:
@@ -875,8 +875,11 @@ command_result ConnectedClient::handleCommandPlaylistSongList(ts::Command &cmd)
|
||||
}
|
||||
if(index > 0)
|
||||
this->sendCommand(result);
|
||||
if(this->getExternalType() == ClientType::CLIENT_TEAMSPEAK)
|
||||
this->sendCommand(ts::command_builder{"notifyplaylistsonglistfinished"});
|
||||
if(this->getExternalType() == ClientType::CLIENT_TEAMSPEAK) {
|
||||
ts::command_builder finish{"notifyplaylistsonglistfinished"};
|
||||
finish.put(0, "playlist_id", playlist->playlist_id());
|
||||
this->sendCommand(finish);
|
||||
}
|
||||
|
||||
return command_result{error::ok};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user