changed player control to
- turn off random - set crossfade to 0
This commit is contained in:
parent
d26fca6efb
commit
6d43e934a9
|
@ -154,10 +154,14 @@ public class MPDController implements IMPDController {
|
||||||
try {
|
try {
|
||||||
MPDPlaylist playlist = mpd.getMPDPlaylist();
|
MPDPlaylist playlist = mpd.getMPDPlaylist();
|
||||||
playlist.clearPlaylist();
|
playlist.clearPlaylist();
|
||||||
|
mpd.getMPDPlayer().setRandom(false);
|
||||||
|
mpd.getMPDPlayer().setXFade(1);
|
||||||
} catch (MPDConnectionException e) {
|
} catch (MPDConnectionException e) {
|
||||||
Logger.sLog("MPD error: " + e.getMessage());
|
Logger.sLog("MPD error: " + e.getMessage());
|
||||||
} catch (MPDPlaylistException e) {
|
} catch (MPDPlaylistException e) {
|
||||||
Logger.sLog("MPD error: " + e.getMessage());
|
Logger.sLog("MPD error: " + e.getMessage());
|
||||||
|
} catch (MPDPlayerException e) {
|
||||||
|
Logger.sLog("MPD error: " + e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue