Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/1-minute-to-midnight/mpv-modern-x-compact
Compact version of modern-x osc for mpv with a neat web-player type UI
https://github.com/1-minute-to-midnight/mpv-modern-x-compact
mpv mpv-osc mpv-osc-script mpv-player mpv-script
Last synced: 3 months ago
JSON representation
Compact version of modern-x osc for mpv with a neat web-player type UI
- Host: GitHub
- URL: https://github.com/1-minute-to-midnight/mpv-modern-x-compact
- Owner: 1-minute-to-midnight
- Created: 2022-06-29T12:40:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T16:55:50.000Z (6 months ago)
- Last Synced: 2024-08-10T20:45:26.383Z (6 months ago)
- Topics: mpv, mpv-osc, mpv-osc-script, mpv-player, mpv-script
- Language: Lua
- Homepage:
- Size: 4.4 MB
- Stars: 87
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpv - modern-x-compact - Compact version of modern-x. (On Screen Controller)
README
# mpv-modern-x-compact
Compact version of modern-x osc for mpv with a neat web-player type UI![preview](https://raw.githubusercontent.com/1-minute-to-midnight/mpv-morden-x-compact/main/preview.png)
# How to install
Put the .lua file into "~~/scripts/" folder, and remove other osc scripts.Set the following setting in mpv.conf :
`osc=no`
:warning: **Important**: Install [dexeonify's](https://github.com/dexeonify/mpv-config/) custom-made [ModernX OSC font](https://github.com/1-minute-to-midnight/mpv-morden-x-compact/raw/main/modernx-osc-icon.ttf) for the OSC icons or create a folder named `fonts` in the mpv config folder and drop the ttf file in there.
# Configuration
You can change various options like accent color by editing osc.conf which should be put in the "~~/script-opts/" folder. The usage/creation of this file is optional if you want to use the config as is.
```
# Accent of the OSC and the title bar
osc_color=000000# Color of the seekbar progress and handle
seekbarfg_color=E39C42# Color of the remaining seekbar
seekbarbg_color=FFFFFF
```
If you want to change the height of the seekbar or want to change the positions of various elements:
By line 1675 you will see various titles indicating each element (Seekbar, Title, Playback control buttons etc.). To move the elements horizontally (along x-axis), add or subtract values to refX or x values. Similar process can be done for y values to move it vertically (along y-axis).## Thumbnail Support
Go to [thumbfast](https://github.com/po5/thumbfast) and drop thumbfast.lua into scripts folder
# Fonts
- [Manrope](https://github.com/sharanda/manrope)(Change osd-font in "~~mpv.conf" to get like it is in the screenshot)
# Credits
- [Dexeonify's Personal Config](https://github.com/dexeonify/mpv-config)- [Maoiscat's Modern Layout](https://github.com/maoiscat/mpv-osc-morden)
- [po5's Thumbfast Thumbnailer](https://github.com/po5/thumbfast)