Allow frontends/GUIs to write log messages

Open
#14,551 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
cli

Research direction

No file, test, or entry point is named. Trace how input commands reach the on-screen console and how log levels, module names, and messages are handled; done means a frontend can submit all three values and the messages appear in mpv’s on-screen console without a terminal.

Written by the indexing model from the issue text.

Description

meta:feature-request
Expected behavior of the wanted feature

Allow frontends/GUIs to write log messages, support a new input command with three parameters:

  1. Log level
  2. Module name
  3. Log message

This way errors from mpv.net and mpv.net extensions can be seen directly in the on-screen console, no need to have a terminal attached.

Alternative behavior of the wanted feature

No response

Log File

No response

Sample Files

No response

Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mpv-player/mpv

All issues in mpv-player/mpv

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.