Skip to content

Commit

Permalink
Document add current and save current
Browse files Browse the repository at this point in the history
  • Loading branch information
hrkfdn committed Jul 23, 2023
1 parent 17413fb commit 7d9faa7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Note: \<FOO\> - mandatory arg; [BAR] - optional arg
| `playpause`<br/>Aliases: `pause`, `toggleplay`, `toggleplayback` | Toggle playback. |
| `stop` | Stop playback. |
| `seek` [`+`\|`-`]\<TIME\> | Seek to the specified position, or seek relative to current position by prepending `+`/`-`.<br/>\* TIME is anything accepted by [parse_duration](https://docs.rs/parse_duration/latest/parse_duration/)<br/>\* Default unit is `ms` for backward compatibility. |
| `move` \<DIRECTION\> \<STEP_SIZE\> | Scroll the current view `up`/`down`/`left`/`right` with integer step sizes, or `pageup`/`pagedown`/`pageleft`/`pageright` with float step sizes.
| `move` \<DIRECTION\> \<STEP_SIZE\> | Scroll the current view `up`/`down`/`left`/`right` with integer step sizes, or `pageup`/`pagedown`/`pageleft`/`pageright` with float step sizes. |
| `repeat` [REPEAT_MODE]<br/>Alias: `loop` | Set repeat mode. Omit argument to step through the available modes.<br/>\* Valid values for REPEAT_MODE: `list` (aliases: `playlist`, `queue`), `track` (aliases: `once`, `single`), `none` (alias: `off`) |
| `shuffle` [`on`\|`off`] | Enable or disable shuffle. Omit argument to toggle. |
| `previous` | Play the previous track. |
Expand All @@ -176,6 +176,8 @@ Note: \<FOO\> - mandatory arg; [BAR] - optional arg
| `noop` | Do nothing. Useful for disabling default keybindings. See [custom keybindings](#custom-keybindings). |
| `reload` | Reload the configuration from disk. See [Configuration](#configuration). |
| `reconnect` | Reconnect to Spotify (useful when session has expired or connection was lost |
| `add [current]` | Add selected track to playlist, if `current` is passed the currently playing track will be added |
| `save [current]` | Save selected item, if `current` is passed the currently playing item will be saved |

## Remote control (IPC)
Apart from MPRIS, ncspot will also create a domain socket on UNIX platforms
Expand Down

0 comments on commit 7d9faa7

Please sign in to comment.