mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
xbmc checker fix (2)
Former-commit-id: 735f8e3e356b0fca0562185f30532860c7879ee3
This commit is contained in:
parent
1e319be54a
commit
84d9f4ef80
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user