Skip to content

Commit

Permalink
README.md: few comments about this repo & keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsafari committed Dec 11, 2020
1 parent 99f0556 commit 47fa1c6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,31 @@ What Is It?
MOC (music on console) is a console audio player for Linux/Unix designed to be
powerful and easy to use.

This is an unofficial mirror, with a few small asthetic tweaks. It syncs with
the subversion upstream every few weeks.
MOC makes it easy to use multimedia keys on your keyboard. For example, in
Fluxbox you can add the following to your `.fluxbox/keys` file (after using `xev`
to discover key numbers):

```bash
# Play/pause
179 :Exec mocp --toggle-pause
# Skip to next song
225 :Exec mocp --next
# Go to previous song
Mod1 225 :Exec mocp --previous
# Move forward a few seconds: ALT + >
Mod1 60 :Exec mocp --seek +5
# Move backward a few seconds: ALT + <
Mod1 59 :Exec mocp --seek -5
# Go to MOCP tab (should be first tab)
128 :Tab 1
# Toggle shuffle
152 :Exec mocp --toggle shuffle
```

The rest of the upstream README is as follows:

You just need to select a file from some directory using the menu similar to
Midnight Commander, and MOC will start playing all files in this directory
beginning from the chosen file. There is no need to create playlists as in
Expand Down

0 comments on commit 47fa1c6

Please sign in to comment.