changed player control to

- turn off random
- set crossfade to 0
This commit is contained in:
Lucas Pleß 2012-06-10 22:15:29 +02:00
parent d26fca6efb
commit 6d43e934a9
1 changed files with 4 additions and 0 deletions

View File

@ -154,10 +154,14 @@ public class MPDController implements IMPDController {
try {
MPDPlaylist playlist = mpd.getMPDPlaylist();
playlist.clearPlaylist();
mpd.getMPDPlayer().setRandom(false);
mpd.getMPDPlayer().setXFade(1);
} catch (MPDConnectionException e) {
Logger.sLog("MPD error: " + e.getMessage());
} catch (MPDPlaylistException e) {
Logger.sLog("MPD error: " + e.getMessage());
} catch (MPDPlayerException e) {
Logger.sLog("MPD error: " + e.getMessage());
}
}
};