summaryrefslogtreecommitdiff
path: root/audio/mpc/patches/patch-ac
blob: 3316a1111988f89f1a091514889af2bc6d122c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.2 2004/06/29 08:26:38 simonb Exp $

--- src/main.c.orig	2004-05-31 23:52:41.000000000 +1000
+++ src/main.c
@@ -51,6 +51,7 @@ struct _mpc_table {
 	{"next", 0, 0, 0, cmd_next, "","Play the next song in the current playlist"},
 	{"prev", 0, 0, 0, cmd_prev,"","Play the previous song in the current playlist"},
 	{"pause", 0, 0, 0, cmd_pause, "", "Pauses the currently playing song"},
+	{"playpause", 0, 0, 0, cmd_playpause, "", "Pauses if playing, play otherwise"},
 	{"stop", 0, 0, 0, cmd_stop,"", "Stop the currently playing playlists"},
 	{"seek", 1, 1, 0, cmd_seek,"<0-100>","Seeks to the position specified in percent"},
 	{"clear", 0, 0, 0, cmd_clear,"", "Clear the current playlist"},