Qball's Weblog

One bug a week, 2

Tags mpd 

Today I commited 2 “fixes” to mpd.

  1. Stops mpd from hanging if you try to stop it when buffering a seekable stream. (for some reason ogg tries to skip through a large part of the file when opening it, when it has random access. and this caused problems when during this opening the stream is closed). bug 1611.
  2. Somewhat related, when the network connection stop responding (Resource temporarily unavailable error) don’t wait for ever to come back. Give it 100 tries (this is a relatively short time) and then give up.
    This seems to fix some other bugs. Like: 1558.