Package: mpd
Version: 0.12.1-1
Severity: minor

mpc/mpd is working quite nicely for me. However, frequently, it does
not, and it also provides no information as to what the actual
problem is.

Sometimes, the following happens when I try to use mpc to stream
remote ogg files:

  lapse:~> mpc playlist
  #1) http://server/artists/artist/album/some_song.ogg
  lapse:~> mpc play
  volume: 74%   repeat: off   random: off
  lapse:~> GET -esd http://server/artists/artist/album/some_song.ogg
  200 OK
  [...]
  Content-Length: 8958847
  Content-Type: application/ogg

So the content is available but for some reason, mpd won't play it.

At other times, I get this:

  lapse:~> mpc play
  http://server/artists/artist/album/some_song.ogg
  [playing] #1/1   0:00 (100%)
  volume: 74%   repeat: off   random: off

but then it just stays there, so calling 'mpc status' a few seconds
later still shows it as playing back at 0:00.

If I strace the mpd process, I get this a few hundred times per
second, indefinitely:

  select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
  read(3, 0x808479b, 105020)              = -1 EAGAIN (Resource temporarily 
unavailable)

And at other times, I get this (<***> denotes a 7 second pause):

  poll(<***>[{fd=7, events=POLLIN}], 1, 5000)  = 0
  gettimeofday({1169115977, 977009}, NULL) = 0
  poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
  send(3, "\235\213\1\0\0\1\0\0\0\0\0\0\5fooba\7rfoobar\3foo\0061"..., 46, 0) = 
46
  poll(<***>...

and mpc will simply fail to connect:

  lapse:~> mpc
  MPD_HOST and/or MPD_PORT environment variables are not set
  error: timeout in attempting to get a response from "localhost" on port 6600

A restart of mpd usually fixes all of the above problems, but not
always. It would be great to have those problems fixed, but at the
least, mpd/mpc should let the user know what the problem is, not
requiring the user to go via strace (which doesn't really give more
information).

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (750, 'unstable'), (500, 'testing'), (250, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages mpc depends on:
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries

mpc recommends no packages.

-- no debconf information

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to