Skip to content

Commit

Permalink
Ignore lines in smplayer log
Browse files Browse the repository at this point in the history
  • Loading branch information
smplayer-dev committed Mar 17, 2024
1 parent c4972dd commit 91c1ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpvprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void MPVProcess::parseLine(QByteArray ba) {
#endif
#endif

if (line.contains("IGNORE_")) return;
if (line.contains("IGNORE_THIS")) return;

if (verbose) {
line.replace("[statusline] ", "");
Expand Down
2 changes: 2 additions & 0 deletions src/smplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ void SMPlayer::myMessageOutput( QtMsgType type, const char *msg ) {
#endif
#endif

if (orig_line.contains("IGNORE_THIS")) return;

switch ( type ) {
case QtDebugMsg:
if (rx_log.indexIn(orig_line) > -1) {
Expand Down

0 comments on commit 91c1ffc

Please sign in to comment.