fix(camera): do not log ffmpeg app field decode errors, close #1480
This commit is contained in:
1 parent
bdfdac9fb6
commit
9fb17ee17f
1 file changed
+6
-1
+6
-1
@@ -97,5 +97,10 @@ class Panel(ScreenPanel):
|
||||
|
||||
def log(self, loglevel, component, message):
|
||||
logging.debug(f'[{loglevel}] {component}: {message}')
|
||||
if loglevel == 'error' and 'No Xvideo support found' not in message and 'youtube-dl' not in message:
|
||||
if (
|
||||
loglevel == 'error'
|
||||
and 'unable to decode' not in message # skip proprietary app fields errors
|
||||
and 'No Xvideo support found' not in message # will fall back automatically
|
||||
and 'youtube-dl' not in message # needed for some streams, not relevant for our case
|
||||
):
|
||||
self._screen.show_popup_message(f'{message}')
|
||||
Reference in new issue
Block a user