Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nimatrueway/mpv-locatefile-lua-script

a lua-script for mpv to locate current media file on OS file browser
https://github.com/nimatrueway/mpv-locatefile-lua-script

Last synced: 3 months ago
JSON representation

a lua-script for mpv to locate current media file on OS file browser

Awesome Lists containing this project

README

        

## mpv-locatefile
#### mpv-locatefile is a tiny lua script for mpv to open current media file in OS file/web browser

###### Usage
* Copy `locatefile.lua` script to (linux/macos) `~/.config/mpv/scripts/bookmarker.lua` (win) `%APPDATA%\mpv\scripts\bookmarker.lua`.
* Open key configuration file at (linux/macos) `~/.config/mpv/input.conf` (win) `%APPDATA%\mpv\input.conf` and map your desired key to `locate-current-file` script_message, for example:
```
Alt+o script_message locate-current-file
```

###### Bug reporting

Feel free to create an issue in github, but make sure you provide me with enough information in the description:

* Your operating system.
* Run `mpv` with `--msg-level='locatefile=debug'` and attach your console output to the issue.

###### Tested on Ubuntu, macOS 10.12+, Windows 10