From 47c8f5df18ff931387333aa4b7766815aacbf7ad Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 23 Nov 2009 22:11:40 +0000 Subject: [PATCH] [package] update mpd to 0.15.2, cleanup init script (#6207) SVN-Revision: 18508 --- sound/mpd/Makefile | 4 ++-- sound/mpd/files/mpd.init | 19 +++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/sound/mpd/Makefile b/sound/mpd/Makefile index fba83a4c90..3d74a14f4b 100644 --- a/sound/mpd/Makefile +++ b/sound/mpd/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mpd -PKG_VERSION:=0.15.4 +PKG_VERSION:=0.15.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/musicpd -PKG_MD5SUM:=addbbcbbf8a24a2ce80db1ba5a1f91ca +PKG_MD5SUM:=078bd45c8266ac577e4a96fa38d1e534 include $(INCLUDE_DIR)/package.mk diff --git a/sound/mpd/files/mpd.init b/sound/mpd/files/mpd.init index e0579f1967..017ad7701d 100644 --- a/sound/mpd/files/mpd.init +++ b/sound/mpd/files/mpd.init @@ -13,21 +13,20 @@ start() { mkdir -p $pld fi #create mpd db - /usr/bin/mpd --stdout --create-db - + /usr/bin/mpd --stdout --create-db + #optional export for mpc - #export MPD_HOST=127.0.0.1 - + #export MPD_HOST=127.0.0.1 + #start mpd - /usr/bin/mpd - + /usr/bin/mpd + #generate playlist and start to play - /usr/bin/mpc listall | /usr/bin/mpc add - - /usr/bin/mpc play - /usr/bin/mpc repeat + /usr/bin/mpc listall | /usr/bin/mpc add - + /usr/bin/mpc play + /usr/bin/mpc repeat } stop() { killall mpd } - -- 2.30.2