'mocp -e directory/' fails to add music to the effective playlist on moc-2.4.0

steps to reproduce

1. start mocp and close the ui set Shuffle off
2. mocp -e directory-with-music/
3. do 'mocp --next' while !end_of_list

while the list visible in mocp-ui includes the added files mocp doesn't play the files until I select them manually.

I checked the changelog and this doesn't seem to be fixed in 2.4.1

Were there any files before

Were there any files before 1. on the playlist? is there any client running after 1.?

--
Damian Pietras - MOC developer

There were files on the

There were files on the playlist
and
there was no client after closing the ui, only the daemon.

Thanks, I'll look at this

Thanks, I'll look at this tomorrow.

--
Damian Pietras - MOC developer

This patch should fix this

This patch should fix this problem:
ftp://daper.net/pub/soft/moc/patches/moc-2.4.1-add-dir.patch

--
Damian Pietras - MOC developer

Seems to work thanks, your

Seems to work thanks, your work is appreciated.