consider kodi playing the same as a sound trigger, so that the off command is not executed when kodi is paused for longer than the timeout

This commit is contained in:
Bob 2023-05-21 21:00:17 +02:00
parent 0a5932d7cd
commit b5ecdf7060
3 changed files with 13 additions and 15 deletions

View file

@ -32,7 +32,7 @@ class CAmpSwitch
void Process();
void Cleanup();
void SignalPlayStart();
void SetPlayingState(bool playing);
private:
void PrintHelpMessage();
@ -70,7 +70,7 @@ class CAmpSwitch
bool m_usekodi;
CKodiClient m_kodiclient;
bool m_playstart;
bool m_playing;
};
#endif //AMPSWITCH_H