diff --git a/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java b/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java index 747d6cd..3b3c557 100644 --- a/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java +++ b/app/src/main/java/com/yutou/nas_music_player/views/AlbumsActivity.java @@ -156,7 +156,7 @@ public class AlbumsActivity extends AppCompatActivity { breakApp.setOnClickListener(v -> finish()); playAll.setOnClickListener(v -> { MusicContainer.getInstance().setPlayList(new ArrayList<>(adapter.getMusicDatas())); - MusicContainer.getInstance().playNext(); + browserHelper.play(MusicContainer.getInstance().getPlayList().get(0)); }); } diff --git a/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java b/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java index e51d371..0e1d8b3 100644 --- a/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java +++ b/app/src/main/java/com/yutou/nas_music_player/views/MainActivity.java @@ -409,13 +409,11 @@ public class MainActivity extends AppCompatActivity { @Override public void onSessionDestroyed() { super.onSessionDestroyed(); - System.out.println("连接被销毁"); } @Override public void onQueueChanged(List queue) { super.onQueueChanged(queue); - System.out.println("不知道是啥变换了"); } }