Compare commits
No commits in common. "c8684dbe75d9a1ba92024f51e293af14476c2c5e" and "95d2e41a03451086bd099a97989fd377e793effd" have entirely different histories.
c8684dbe75
...
95d2e41a03
|
@ -95,7 +95,7 @@ public class MusicHandler implements AudioSendHandler, Closeable, Consumer<Track
|
|||
{
|
||||
return false;
|
||||
}
|
||||
// System.out.println("Playing track " + currentTrack.getLocation().getAbsolutePath());
|
||||
System.out.println("Playing track " + currentTrack.getLocation().getAbsolutePath());
|
||||
arrayErr = false;
|
||||
byteCount = 3840;
|
||||
TrackPlayer player = new TrackPlayer(currentTrack);
|
||||
|
@ -251,7 +251,6 @@ public class MusicHandler implements AudioSendHandler, Closeable, Consumer<Track
|
|||
if (!isPlaying())
|
||||
return false;
|
||||
playingTracks.clear();
|
||||
currentTrack = null;
|
||||
requestTrack();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ public class QueueManager extends QueueThing<Track, Track>
|
|||
// if (inputQueue.size() < QUEUE_TARGET_SIZE)
|
||||
// demandInput(QUEUE_TARGET_SIZE - inputQueue.size());
|
||||
|
||||
if (handler != null && !handler.isPlaying() || handler.getCurrentTrack() == null)
|
||||
if (!handler.isPlaying() || handler.getCurrentTrack() == null)
|
||||
handler.requestTrack();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue