xbmc checker fix (2)

Former-commit-id: 735f8e3e356b0fca0562185f30532860c7879ee3
This commit is contained in:
brindosch 2016-05-25 21:15:49 +02:00
parent 1e319be54a
commit 84d9f4ef80
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ void XBMCVideoChecker::receiveReply()
std::cout << "KODICHECK INFO: Kodi Message: " << reply.toStdString() << std::endl;
if (reply.contains("\"method\":\"Player.OnPlay\""))
if (reply.contains("\"method\":\"Player.OnPlay\"") || reply.contains("\"method\":\"Playlist.OnAdd\""))
{
// send a request for the current player state
_socket.write(_activePlayerRequest.toUtf8());