mpv-player / mpv-player/mpv

Move `osc-playlist` to the middle-left of the screen

Open
#7,708 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request scripting:osc
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

I have searched and did not find a feature request similar to mine.

Expected behavior of the wanted feature

script-message osc-playlist is too close to the top of the window, so osd-playing-msg gets hidden by it . Is there a way to move osc-playlist a bit lower?

Since i'm not sure what "a bit lower actually is, a possibility is to move it at middle-left (instead of top-left) of the window?

image

Having OSC visibility (ie. when playing an audio only file): always is also problematic as the pseudo-"window title" is on top of the playlist.

image

Log file

In this case, i believe the log is not needed.

mpv.net conf


input-default-bindings = no
input-ar-delay = 500
input-ar-rate = 20
keep-open-pause = no
script-opts = osc-scalewindowed=1.5
screenshot-directory = '~~desktop/'
cscale = spline36
dscale = spline36
scale = spline36
hwdec = yes
# Editor
slang = 'en'
sub-auto = all
save-position-on-quit = yes
border = no


# osd
osd-duration=3000
osd-on-seek=msg-bar
# osd-level=3 # don't want this
osd-playing-msg = '${filename} - ${media-title}'


[protocol.https]
osd-playing-msg = '${media-title}'

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.

Research direction

Start by locating the OSC implementation that handles script-message osc-playlist and its current top-left placement. Compare it with the osd-playing-msg behavior described in the issue, then verify that the playlist no longer overlaps the OSD message in both the normal and audio-only cases.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.