Your message dated Tue, 9 May 2006 17:26:27 -0700
with message-id <[EMAIL PROTECTED]>
and subject line mpd should be started with a higher nice level
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mpd
Version: 0.11.4-6
Severity: wishlist
Tags: patch

The mpd daemon should at least be started with nice level -5.
When the system has more work, nice level 0 is to low for skipless play.
I included a patch which allows to set a nice level in /etc/default/mpd
(Don't know how to include the file, but its appended)

kindly regards
 daniel


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=en_US, LC_CTYPE=de_DE (ignored: LC_ALL set to en_US)

Versions of packages mpd depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf [debconf-2.0]       1.4.30.10    Debian configuration management sy
ii  libao2                      0.8.5-1      Cross Platform Audio Output Librar
ii  libasound2                  1.0.6-3      ALSA library
ii  libaudiofile0               0.2.6-4      Open-source version of SGI's audio
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libflac4                    1.1.0-11     Free Lossless Audio Codec - runtim
ii  libid3tag0                  0.15.1b-3    ID3 tag reading library from the M
ii  libmad0                     0.15.1b-1    MPEG audio decoder library
pn  libmikmod2                               Not found.
ii  libogg0                     1.1.0-1      Ogg Bitstream Library
ii  libvorbis0a                 1.0.1-1      The Vorbis General Audio Compressi
ii  libvorbisfile3              1.0.1-1      The Vorbis General Audio Compressi
ii  zlib1g                      1:1.2.2-1    compression library - runtime

-- debconf information:
* mpd/port_changed:
* mpd/music_directory: /music
* mpd/playlist_directory: /var/lib/mpd/playlist
* mpd/restart: false
* mpd/state_file: true
* mpd/systemwide: true
* mpd/port: 6600
--- debian/mpd.init     2004-11-12 21:29:14.000000000 +0100
+++ /etc/init.d/mpd     2004-11-12 20:09:09.000000000 +0100
@@ -1,4 +1,9 @@
 #! /bin/sh -e
 DAEMON=/usr/bin/mpd
+
+if [ -r /etc/default/mpd ]; then
+      . /etc/default/mpd
+fi
+
 test -x $DAEMON || exit 0
 if [ -n "$NORMALPERSON_DEBUG" ]; then
@@ -55,6 +60,12 @@
 
 mpd_start_only () {
+       echo "NICE: $NICE"
+       if [ -n "$NICE" ]; then
+               NICELEVEL=" -N $NICE"
+       else
+               NICELEVEL=""
+       fi;
        echo -n "Starting Music Player Daemon: mpd"
-       ssd -x $DAEMON -b -m -p $PIDFILE --start -- --no-daemon "$MPDCONF"
+       ssd -x $DAEMON $NICELEVEL -b -m -p $PIDFILE --start -- --no-daemon 
"$MPDCONF"
        echo "."
 }
--- debian/mpd.dirs.old 2004-11-12 21:29:14.000000000 +0100
+++ debian/mpd.dirs     2004-11-12 21:31:22.000000000 +0100
@@ -1,3 +1,4 @@
 etc
+etc/default
 usr/bin
 usr/share/man/man1
--- /dev/null   1970-01-01 01:00:00.000000000 +0100
+++ debian/mpd.default  2004-11-12 21:41:03.000000000 +0100
@@ -0,0 +1,2 @@
+# nicelevel to run mpd under
+NICE="-5"

--- End Message ---
--- Begin Message ---
Reporter hasn't provided enough information to reproduce the bug.
Nobody else has reported this as a legitimate problem, either

-- 
Eric Wong

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to