Skip to content

Commit

Permalink
Rename player-play-or-pause to player-play
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjad committed Jan 16, 2016
1 parent d9f9838 commit 31bc6eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

** Overview
These are the provided commands and their bindings:
| Command | Key |
|---------------+--------------|
| play-or-pause | C-c C-return |
| mute | C-c C-m |
| previous | C-c C-p |
| next | C-c C-n |
| fullscreen | C-c C-f |
| Command | Key |
|------------+--------------|
| play | C-c C-return |
| mute | C-c C-m |
| previous | C-c C-p |
| next | C-c C-n |
| fullscreen | C-c C-f |

** Supported sites
| Site/Feature | Play | Pause | Next | Previous | Mute | Unmute | Fullscreen |
Expand Down Expand Up @@ -88,7 +88,7 @@
** Controlling your player from your window manager
You could bind a key in your window manager to run a command like
this:
: conkeror -f player-play-or-pause
: conkeror -f player-play

This will first try to interact with the current buffer, but if
player-mode is not supported there, then it will interact with the
Expand Down
4 changes: 2 additions & 2 deletions player.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var player_url_tests = {};
// Ex: {"bandcamp": {"play": ".play-btn"}}
var player_button_selectors = {};

interactive("player-play-or-pause",
interactive("player-play",
"Click the play/pause button.",
player_command("play",
"No play or pause button found"));
Expand All @@ -127,7 +127,7 @@ interactive("player-fullscreen",
player_command("fullscreen",
"No fullscreen button found"));

define_key(player_keymap, "C-c C-return", "player-play-or-pause");
define_key(player_keymap, "C-c C-return", "player-play");
define_key(player_keymap, "C-c C-m", "player-mute");
define_key(player_keymap, "C-c C-n", "player-next");
define_key(player_keymap, "C-c C-p", "player-previous");
Expand Down

0 comments on commit 31bc6eb

Please sign in to comment.