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

osd-clock: Display 12 Hour time format #5

Open
caslicco opened this issue Jan 21, 2022 · 1 comment
Open

osd-clock: Display 12 Hour time format #5

caslicco opened this issue Jan 21, 2022 · 1 comment

Comments

@caslicco
Copy link

caslicco commented Jan 21, 2022

I'm new to coding and to mpv. I want to make 2 modifications to the osd-clock script:

  1. Display time in the 12 Hour format.
  2. Toggle the clock ON at startup, and define a key to toggle the clock OFF
@Cananbolt
Copy link

I can help you with your first request.

Go to line 24 where it states
format = "%H:%M",

Change the H to I (uppercase i)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants