Playback Commands
Copy a command and save it as a playback button. Works with both Exo and mpv.
Adding a command button
- While playing, open Commands in the control bar.
- Tap Add, enter a name and paste the command.
- Save it, then tap once to run it.
On mpv: Scripts → Buttons → Add → Add command button. One command per button; do not wrap it in mp.commandv(...).
Playback and loop
Supported by: Exo and mpv. Play, pause, change speed and loop the current file.
pause: yes paused, no playing; supports set, cycle-values and cycle. cycle pause toggles play/pause.
speed: 0.1–5×, 1 is normal; supports set, add and cycle-values. add clamps to the valid range.
loop-file: inf or yes on, no off; supports set and cycle-values. Loops a single file indefinitely; no repeat count or playlist loop.
Volume and sync
Supported by: Exo and mpv. Adjust player volume and audio synchronization.
volume: 0–100, 0 is muted; supports set, add and cycle-values. Affects player volume only, not system volume; add clamps.
audio-delay: seconds, decimals allowed, 0 clears; supports set, add and cycle-values. Positive delays audio, negative advances it.
Audio track selection
Supported by: Exo and mpv. Switch audio tracks, disable audio, or restore automatic track selection.
audio is an alias of aid and works with the syntax above. Adjust the example IDs for the current media.
An audio track ID is not a list index and may change between media or players. Exo accepts string IDs without spaces or semicolons.
Exo accepts only unique IDs in a cycle-values audio track list; the command is skipped if any ID is missing, unplayable or ambiguous. Use set aid for no and auto.
Subtitle adjustment
Supported by: Exo and mpv. Adjust primary subtitle timing; secondary subtitles are untouched.
sub-delay: seconds, decimals allowed, 0 clears; supports set, add and cycle-values. Positive delays primary subtitles, negative advances them; secondary subtitles are unchanged.
Seek and chapters
Supported by: Exo and mpv. Jump to a time, percentage or chapter.
The source must support seeking; percentages and end-relative seeks need a known duration. Out-of-range values clamp to the start or the end.
chapter: zero based; add accepts only 1 or -1; supports set, add and cycle-values. Requires chapters; set chapter 2 jumps to the third chapter.
Video adjustment
Supported by: Exo and mpv. Adjust video width, height and aspect ratio.
A scale of 1 removes the extra scaling on that axis while keeping the aspect mode. Zooming in may crop the edges; subtitles, danmaku and the control UI keep their size.
video-scale-x: 0 < factor ≤ 10000, 1 resets; supports set and cycle-values. Width factor; 1.15 is 15% wider.
video-scale-y: 0 < factor ≤ 10000, 1 resets; supports set and cycle-values. Height factor; 1.15 is 15% taller.
video-aspect-override: accepts no, a positive number or w:h such as 16:9, 4:3, 2.35:1; supports set and cycle-values. Overrides the aspect; no restores the source aspect while keeping extra scaling and panning. Fill mode still stretches to the viewport. 0, -1 and out-of-range floats are rejected.
cycle-values
cycle-values supports the shared properties listed in each section. It cycles from the current value and wraps after the last entry. If the current value is not in the list, it starts at the first entry.
Add !reverse to cycle backwards; if the current value is not in the list, it starts at the last entry.
Exo checks the whole list first and skips the command if any value is invalid. Exo's cycle supports pause, aid and audio; audio tracks accept up or down to set the direction. Keep property names lowercase.
Limits
When nothing is playing or the media does not support the operation, the App shows "the current playback cannot run this command".
Exo supports only the syntax on this page: no semicolon chaining, extra prefixes or seek flags.
Lua scripts and mpv.conf apply to mpv only; you can import your own scripts.
This page describes Exo. mpv follows its native rules, so volume and loop behavior may differ.