Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viniciusbm/mpv-cycle-through-existing
https://github.com/viniciusbm/mpv-cycle-through-existing
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/viniciusbm/mpv-cycle-through-existing
- Owner: viniciusbm
- License: apache-2.0
- Created: 2020-09-28T13:10:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-12T04:12:49.000Z (9 months ago)
- Last Synced: 2024-06-30T13:43:10.518Z (5 months ago)
- Language: Lua
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpv - cycle-through-existing - Cycle through existing video/audio/subtitle tracks, skipping the "none" option. (Configuration)
README
# mpv-cycle-through-existing
This is a short Lua script for [mpv](https://github.com/mpv-player/mpv)
that allows cycling through **existing** video, audio and subtitle tracks,
skipping the "none" option.### Usage
Save `cycle-through-existing.lua` in `~/.config/.mpv/scripts/` (Linux and macOS)
or `%AppData%\mpv\scripts\` (Windows). Edit your `input.conf` file to include
the shortcuts for `script-binding cycle_{video,audio,sub,secondary_sub}_{up,down}`.
Example:
```
_ script-binding cycle_video_up
SHARP script-binding cycle_audio_up
j script-binding cycle_sub_up
J script-binding cycle_sub_down
```