Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 authored Jan 5, 2024
1 parent 89d2d67 commit 437fd99
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Download the plugin from Releases, place `menu.dll` and `dyn_menu.lua` in your m

## Configuration

> **NOTE:** If you changed the dll name, `script-message-to` target and conf file name should apply too.
### input.conf

> Want a usable full config example? Check [here](https://gist.github.com/tsl0922/8989aa32994b0448a2652ee260348a35).
The menu syntax is similar to [mpv.net](https://github.com/mpvnet-player/mpv.net), with some enhancements:

- define menu title after `#menu:`
Expand Down Expand Up @@ -52,10 +52,13 @@ Add a keybinding to trigger the menu (required):
MBTN_RIGHT script-message-to menu show
```

> **NOTE:** If the menu doesn't always show on mouse click, Rename other scripts that used the `menu` name.
>
> If both `menu.dll` and `menu.lua` exists in scripts folder, one of it may be named with `menu2` by mpv,
> `script-message-to menu show` will break when it happens on `menu.dll`.
**NOTE:**

- If you changed the dll name, `script-message-to` target and conf file name should apply too.
- If the menu doesn't always show on mouse click, Rename other scripts that used the `menu` name.

If both `menu.dll` and `menu.lua` exists in scripts folder, one of it may be named with `menu2` by mpv,
`script-message-to menu show` will break when it happens on `menu.dll`.

### ~~/script-opts/menu.conf

Expand Down Expand Up @@ -83,4 +86,4 @@ This project contains code copied from [mpv](https://github.com/mpv-player/mpv).

# License

[GPLv2](LICENSE.txt).
[GPLv2](LICENSE.txt).

0 comments on commit 437fd99

Please sign in to comment.