headless, yes, again
#1
ok, i'm trying to use an Rpi4 to host an headless session of kodi, useful for timed updates of the library, and correctly applied the 'headless' patches to matrix (once adapted, of course), but i end with the system doing what i want it to do but with the log flooded by 
Code:
WARNING <general>: CActiveAE::StateMachine - signal: 23 from port: timer not handled for state: 1
which is undestandable, as i have no audio output at all on that computer.
So, here is the question: is it possible to completely disable the audio engine (of course, only if running headless) somewhere in the code?

thanks for the help
Reply
#2
ok, found, at least the way not to log that error Smile

thanks
Reply
#3
(2020-09-11, 15:23)succo Wrote: ok, found, at least the way not to log that error Smile
An chance you could share how?

I'm running the linuxserver/kodi-headless Docker container and it's log file gets flooded with those things so it would be nice to silence them:

Code:
2020-10-26 17:19:48.871 T:140619944814336 WARNING: CActiveAE::StateMachine - signal: 22 from port: timer not handled for state: 1
2020-10-26 20:00:01.016 T:140618743478016 WARNING: Previous line repeats 9619 times.
2020-10-26 20:00:01.017 T:140618743478016 NOTICE: VideoInfoScanner: Starting scan ..
2020-10-26 20:00:01.282 T:140619944814336 WARNING: CActiveAE::StateMachine - signal: 22 from port: timer not handled for state: 1
2020-10-26 20:00:11.226 T:140618743478016 WARNING: Previous line repeats 9 times.

Thanks.
Reply
#4
(2020-09-11, 15:23)succo Wrote: ok, found, at least the way not to log that error Smile

thanks

I don't suppose you recall how you did this do you, @succo? Not a major deal at all, I've just been tidying things up and this log spam/entry has been a minor annoyance to me for a number of years!
Reply
#5
i really don't remember the exact location, but it was a crude edit, commenting the line where that log is generated
looking at the code, it must be in xbmc/xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp line 445
 
Code:
std::string portName = port == NULL ? "timer" : port->portName;
# CLog::Log(LOGWARNING, "CActiveAE::{} - signal: {} from port: {} not handled for state: {}",
__FUNCTION__, signal, portName, m_state);
Reply

Logout Mark Read Team Forum Stats Members Help
headless, yes, again0