music player daemon (fork)
bd14afe347
Fix for the problem where order with priorities gets out of whack in case it's reordered by SetRandom() while another song is currently playing. What happens is, if some song is already playing and you have set some priorities before switching on the random mode, and then turn the mode on, the original code swaps position of the first song in the order (i.e., the highest priority song) with current, so that current is 0 (which it should be). The problem is, the "original" first song then goes to the place "current" song was after reordering, wherever that is, instead of going after the "current" song. This patch fixes the issue. Also the fix makes MoveOrder() public, because why shouldn't it be, anyway. It certainly makes more sense than just having SwapOrders() public for some reason. Signed-off-by: Eugene Baklanov <miltenfiremage@gmail.com> |
||
---|---|---|
android | ||
doc | ||
m4 | ||
python/build | ||
scripts | ||
src | ||
systemd | ||
test | ||
win32 | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
mpd.svg | ||
NEWS | ||
README.md | ||
valgrind.suppressions |
Music Player Daemon
A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.
For basic installation information see the INSTALL file.
Users
Developers
Legal
MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.