We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9fc35e commit 6ceb970Copy full SHA for 6ceb970
1 file changed
core/src/main/java/xyz/gianlu/librespot/player/Player.java
@@ -357,9 +357,7 @@ private void panicState() {
357
}
358
359
private void handleLoad(@NotNull Remote3Frame frame) {
360
- boolean wasInactive = false;
361
if (!spirc.deviceState().getIsActive()) {
362
- wasInactive = true;
363
spirc.deviceState()
364
.setIsActive(true)
365
.setBecameActiveAt(TimeProvider.currentTimeMillis());
@@ -384,7 +382,7 @@ private void handleLoad(@NotNull Remote3Frame frame) {
384
382
385
383
boolean play;
386
if (frame.options.initiallyPaused != null) play = !frame.options.initiallyPaused;
387
- else play = !wasInactive;
+ else play = true;
388
loadTrack(play);
389
390
0 commit comments