head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.24 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.22 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.20 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.18 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.16 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.14 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.12 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.10 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.18 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.16 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.1.0.2 pkgsrc-2004Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2007.08.09.04.03.58; author simonb; state dead; branches; next 1.4; 1.4 date 2005.06.14.01.34.54; author kristerw; state Exp; branches; next 1.3; 1.3 date 2005.06.01.03.35.21; author simonb; state dead; branches; next 1.2; 1.2 date 2004.06.29.08.26.38; author simonb; state Exp; branches; next 1.1; 1.1 date 2004.05.02.07.24.52; author mrg; state Exp; branches; next ; desc @@ 1.5 log @Update to version 0.12.1. Notable changes are: - New output format for "mpc playlist" - Support for many more search types with "mpc search" - Add "mpc del 0" behaviour to remove the currently playing song - Add outputs, enable and disable commands - multiple bug fixes. @ text @$NetBSD: patch-ab,v 1.4 2005/06/14 01:34:54 kristerw Exp $ --- src/command.c.orig Tue Jun 14 03:30:30 2005 +++ src/command.c Tue Jun 14 03:32:26 2005 @@@@ -183,10 +183,11 @@@@ int cmd_crop( int argc, char ** argv, mpd_Connection * conn ) { + int length; mpd_Status *status; status = getStatus( conn ); - int length = ( status->playlistLength - 1 ); + length = ( status->playlistLength - 1 ); if( status->playlistLength == 0 ) { @ 1.4 log @Fix C99-isms to make this package compile with gcc 2.95. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to version 0.11.2: New commands: crop, stats, toggle. Add relative and exact-time seeking. Fix a few bugs. The new "toggle" command is the same as our existing patch for the "playpause" command - we keep the "playpause" command as an alias for "toggle". @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2004/06/29 08:26:38 simonb Exp $ d3 15 a17 10 --- src/command.h.orig 2004-05-31 23:52:41.000000000 +1000 +++ src/command.h @@@@ -26,6 +26,7 @@@@ int cmd_play ( int argc, char ** argv, m int cmd_next ( int argc, char ** argv, mpd_Connection * conn ); int cmd_prev ( int argc, char ** argv, mpd_Connection * conn ); int cmd_pause ( int argc, char ** argv, mpd_Connection * conn ); +int cmd_playpause ( int argc, char ** argv, mpd_Connection * conn ); int cmd_stop ( int argc, char ** argv, mpd_Connection * conn ); int cmd_seek ( int argc, char ** argv, mpd_Connection * conn ); int cmd_clear ( int argc, char ** argv, mpd_Connection * conn ) ; @ 1.2 log @Update to version 0.11.1. Changes include: . Support for new update command . Make add command more robust @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @add a "playpause" command, ala "xmms -t". this has already been submitted to musicpd.org. @ text @d3 3 a5 4 diff -ru src/command.h mpc-0.10.3.orig/src/command.h --- src/command.h 2004-03-20 10:40:02.000000000 +1100 +++ src/command.h 2004-05-02 16:42:18.000000000 +1000 @@@@ -26,6 +26,7 @@@@ @