Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stats.conf not working #10503

Closed
ahloiscreamo opened this issue Aug 9, 2022 · 1 comment
Closed

stats.conf not working #10503

ahloiscreamo opened this issue Aug 9, 2022 · 1 comment
Labels

Comments

@ahloiscreamo
Copy link

Hello,

I followed this line on wiki

This script can be customized through a config file script-opts/stats.conf placed in mpv's user directory and through the --script-opts command-line option. The configuration syntax is described in ON SCREEN CONTROLLER.

I create stats.conf and put it in .config/mpv/scripts-opts/stats.conf
stats.conf containing-
#Text style
font = "LexendDeca"
font_mono = "monospace", -- monospaced digits are sufficient
font_size = 12,
font_color = "FFFFFF",
border_size = 3,
border_color = "242d4f",
shadow_x_offset = 0.0,
shadow_y_offset = 0.0,
shadow_color = "242d4f",
alpha = "11",

i fired up mpv and nothing change, i expected the stat's font and border color to change.

  • mpv 0.34.1-dirty Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
  • Linux artix 5.18.16-zen1-1-zen The big pull request of pending changes #1 ZEN SMP PREEMPT_DYNAMIC Thu, 04 Aug 2022 18:20:10 +0000 x86_64 GNU/Linux
  • Artix repo
  • i3 version 4.20.1 (2021-11-03) © 2009 Michael Stapelberg and contributors
@avih
Copy link
Member

avih commented Aug 9, 2022

I followed this line on wiki

This script can be customized through a config file script-opts/stats.conf ...

no, you didn't:

I create stats.conf and put it in .config/mpv/scripts-opts/stats.conf

script-opts, not scripts-opts

@avih avih closed this as completed Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants