https://github.com/samillion/mpv-conf
My mpv configuration files and scripts.
https://github.com/samillion/mpv-conf
mpv mpv-config mpv-player mpv-scripts
Last synced: 7 months ago
JSON representation
My mpv configuration files and scripts.
- Host: GitHub
- URL: https://github.com/samillion/mpv-conf
- Owner: Samillion
- Created: 2018-06-08T09:07:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T06:07:05.000Z (over 1 year ago)
- Last Synced: 2024-10-24T14:03:51.264Z (over 1 year ago)
- Topics: mpv, mpv-config, mpv-player, mpv-scripts
- Language: Lua
- Homepage:
- Size: 885 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## mpv-conf

My personal mpv configuration is minimal and tailored to my simple use case.
#### Noteworthy:
- Hardware decoding disabled: `hwdec=no`
- Default keybinds disabled: `input-default-bindings=no`
- Few custom keybinds are set in [input.conf](https://github.com/Samillion/mpv-conf/blob/master/input.conf)
- Matroska ordered chapters disabled: `ordered-chapters=no`
- `watch-later-dir` set to `~~/cache/watch_later`
- `screenshot-template` saves images to the desktop: `~/Desktop/%F-(%P)-%n`
- `[Media]` and `[Slideshow]` auto-profiles are system-specific, kept for reference.
- Some options are Windows OS specific, in use or value. Such as `sub-file-paths` (separator), `ytdl-raw-options` (value), `taskbar-progress` (use).
Please review the files before using to understand what is included.
> [!IMPORTANT]
> This configuration requires mpv v0.39+, as it utilizes features like `autocreate-playlist` introduced in that version (and some v0.38 nightlies), replacing the `autoload.lua` script as a native function.
## Configuration
- Main configuration [[mpv.conf](./mpv.conf)]
- Input key bindings [[input.conf](./input.conf)]
## Scripts
- BoxToWide ([Source](https://github.com/Samillion/mpv-boxtowide)) [^1]
- Image-Bindings ([Source](https://github.com/guidocella/mpv-image-config/blob/main/scripts/image-bindings.lua)) [[Modified](./scripts/image-bindings.lua)]
- ModernZ OSC ([Source](https://github.com/Samillion/ModernZ)) [[Config](./script-opts/modernz.conf)] [^2]
- Pause Indicator Lite ([Source](https://github.com/Samillion/ModernZ/tree/main/extras/pause-indicator-lite)) [^3]
- SmartCopyPaste ([Source](https://github.com/Eisa01/mpv-scripts?tab=readme-ov-file#smartcopypaste))
- Sponsorblock-minimal ([Source](https://codeberg.org/jouni/mpv_sponsorblock_minimal))
- Thumbfast ([Source](https://github.com/po5/thumbfast)) [[Config](./script-opts/thumbfast.conf)]
- ytdlAutoFormat ([Source](https://github.com/Samillion/mpv-ytdlautoformat)) [^4]
[^1]: `BoxToWide` is a script written and maintained by me.
[^2]: `ModernZ` is a fork maintained by me.
[^3]: `Pause Indicator Lite` is a script written and maintained by me.
[^4]: `ytdlAutoFormat` is a script written and maintained by me.
> [!NOTE]
> Source links lead to the respective repositories of the original authors.
## Config and Scripts Locations
- Windows: `%APPDATA%\mpv\` or `C:\users\USERNAME\AppData\Roaming\mpv\`
- Linux: `~/.config/mpv/` or `/home/USERNAME/.config/mpv/`
- Mac: `~/.config/mpv/` or `/Users/USERNAME/.config/mpv/`
```
conf/mpv
│ input.conf
│ mpv.conf
│
├───fonts
│ fluent-system-icons.ttf
│
├───script-opts
│ modernz.conf
│ thumbfast.conf
│
└───scripts
boxtowide.lua
image-bindings.lua
modernz.lua
pause_indicator_lite.lua
SmartCopyPaste.lua
sponsorblock_minimal.lua
thumbfast.lua
ytdlautoformat.lua
```
> [!NOTE]
> More information about files locations can be found [here](https://mpv.io/manual/master/#files)