Skip to content

About

mpv config

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

180 Commits

Folders and files

Repository files navigation

mpv configuration — Oleks Edition

A Windows-focused mpv config based on tuilakhanh/mpv-conf, with a right-click wheel menu, Explorer-matching playlist order and a safer delete.

thumb

Install

Put the contents of this repository in a folder named portable_config next to mpv.exe (or in %APPDATA%\mpv). Tested with a portable mpv build on Windows 10.

What this edition adds

Right-click wheel menu (scripts/radial-menu.lua)

  • Hold right-click and point; folders fan out as a new ring beyond the slice, no click needed. The rings you came through stay visible, with your path highlighted.
  • Release on an entry to run it. A quick right-click keeps the wheel open for clicking.
  • Options that are on (toggles, loaded shaders, the chosen sort order) show in amber with a dot.
  • Built from the Folder > Item menu entries in input.conf, the same ones the uosc menu uses.
  • Ctrl+right-click opens the uosc list menu, which has search.

Keyboard shortcuts screen — press ? (or Tools › Keyboard Shortcuts) for every key on one screen.

Playlist order that matches Explorer (scripts/sort-playlist.lua)

  • Match Explorer (default): sorts by the same column and direction as the Explorer window showing the folder (name, date modified, date created, size or type).
  • Name sorting reproduces Windows' own comparison: Ep 2 before Ep 10, punctuation before digits.
  • Also Name A–Z / Z–A and Newest / Oldest first. The choice is remembered.
  • Include Subfolders toggle; off by default, remembered in script-opts/autoload.conf.
  • Available in the wheel (Sort), the button next to the playlist controls, and Alt+P.

Safer delete (scripts/trash-file.lua)

  • Del → Recycle Bin, Shift+Del → permanent; both confirm with Enter, cancel with Esc.
  • Playback pauses while the dialog is open and resumes afterwards if it was playing.
  • Ctrl+Z restores the last trashed files (up to 5).

Music-player style playback (wheel › Play)

  • Loop This File (L), Loop Playlist, Auto-Play Next, A-B Loop (l) and speed presets (Backspace = normal). The active ones show a dot.
  • Shuffle: press again to go back to the order you had.
  • Loop and auto-play settings are remembered between sessions.
  • With Auto-Play Next off, Space or a click on a finished video plays it again from the start, and moving to another file with the arrows starts it playing.

Window

  • No Windows title bar: drag the video to move the window, use the top bar buttons to minimise / maximise / close; edges still resize. A click pauses, a drag does not.
  • Drag the video or the top bar title to move the window in any state; from fullscreen it pops out maximised and follows the cursor, like dragging a Windows title bar.
  • mpv reopens the way you left it: fullscreen, maximised, or a window at the same position and size (scripts/remember.lua).

Other changes

  • Up / Down go to the previous / next file. Hold to keep skipping: it starts at about 8 files a second and speeds up to 40. At the top or end they stop, or wrap round with Sort › Wrap Up/Down. A press made while a new folder is still being sorted waits for it.
  • Resuming a file restores position, tracks and volume, but never zoom or pan.
  • HDR video (iPhone .MOV / Dolby Vision, HLG, PQ) is tone-mapped to proper SDR colours unless Windows HDR is on, instead of looking washed out.
  • Only one folder scanner (autoload.lua); uosc's own autoload is off.
  • ytsub works when mpv is started from Explorer (it used to require %HOME%).
  • The uosc subtitle download tool (ziggy) is not included, as antivirus software flags it.

Scripts and shaders credits

thumb

Scripts

Shaders

About

mpv config

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages