Music bot fix

This commit is contained in:
WolverinDEV 2020-04-04 11:59:33 +02:00
parent f830a8023d
commit a1ea11a196
3 changed files with 7 additions and 4 deletions

@ -1 +1 @@
Subproject commit f7d60a93a2c2c5a1e4cd87717d89f014a74e97ef Subproject commit 15e54314da1903c0a70845180898e41b75749dbd

View File

@ -875,8 +875,11 @@ command_result ConnectedClient::handleCommandPlaylistSongList(ts::Command &cmd)
} }
if(index > 0) if(index > 0)
this->sendCommand(result); this->sendCommand(result);
if(this->getExternalType() == ClientType::CLIENT_TEAMSPEAK) if(this->getExternalType() == ClientType::CLIENT_TEAMSPEAK) {
this->sendCommand(ts::command_builder{"notifyplaylistsonglistfinished"}); ts::command_builder finish{"notifyplaylistsonglistfinished"};
finish.put(0, "playlist_id", playlist->playlist_id());
this->sendCommand(finish);
}
return command_result{error::ok}; return command_result{error::ok};
} }

2
shared

@ -1 +1 @@
Subproject commit e1e946ca359f65fff5e19583ff1c9711a3143460 Subproject commit 9063e17efb1b1d837e771da6c8262b477b39cbb3