- bugreport copied from http://www.musicpd.org/mantis/view.php?id=1392 - Certain .MOD files have commands to jump backwords in the module to create an infinite loop. MPD should (IMO) ignore that and just play the module once. The fix is simple, just instruct libmikmod to ignore those loops: --- mod_plugin.c.orig 2006-11-12 19:32:57.780498463 -0700 +++ mod_plugin.c 2006-11-12 19:54:02.585735147 -0700 @@ -143,6 +143,9 @@ if (!(moduleHandle = Player_Load(path, 128, 0))) return NULL; + /* Prevent module from looping forever */ + moduleHandle->loop = 0; + data = xmalloc(sizeof(mod_Data)); data->audio_buffer = xmalloc(MIKMOD_FRAME_SIZE); Someone please include this patch in portage (I've tested it with mpd-0.12.1, works fine). Reproducible: Always
Sorry, I'm not going to include a patch that hasn't been approved upstream. I started watching the bugreport in upstream tracker, and as soon as it's in (in some form), I will add the patch for 0.12.1 until a new release is out. Thanks for reporting, both here and upstream, though!