Option to suppress warning/error messages that aren't prefixed with [...] without suppressing everything else
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
it's great that mpv has an option to suppress certain messages using the --msg-level= option but there are many warning messages that aren't prefixed so can't suppress without suppressing everything else. An example is the annoying Audio/Video desynchronisation detected warning message. I don't notice any desynchronisation so is not needed for me. One of the others is the audio device underrun message.
Expected behavior of the wanted feature
The ability to suppress terminal message using wildcard matches. E.g. --msg-level="*Audio/Video desynchronisation*=no"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the --msg-level= option is parsed and how terminal warnings such as Audio/Video desynchronisation and audio device underruns are emitted. Determine how wildcard matching could apply to messages without prefixes while leaving other messages visible. Done means a pattern such as *Audio/Video desynchronisation* suppresses only matching terminal output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100