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:
parent
0a5932d7cd
commit
b5ecdf7060
3 changed files with 13 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue