mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-22 03:52:12 +00:00
空闲列表用同步
This commit is contained in:
1 parent
bf9d196799
commit
f0b809420f
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ plugins {
|
||||
id 'maven-publish'
|
||||
id 'com.github.johnrengelman.shadow' version '6.1.0'
|
||||
}
|
||||
version = "2.12.7"
|
||||
version = "2.12.8"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
@@ -98,10 +98,10 @@ public class PlayGo {
|
||||
obj.sender = ID;
|
||||
obj.Name = "空闲列表";
|
||||
obj.isDefault = true;
|
||||
PlayMusic.addTask(obj);
|
||||
PlayMusic.addMusic(ID, "空闲列表", true);
|
||||
}
|
||||
}
|
||||
Thread.sleep(200);
|
||||
Thread.sleep(50);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public class PlayMusic {
|
||||
}
|
||||
}
|
||||
|
||||
private static void addMusic(String ID, String player, boolean isList) {
|
||||
public static void addMusic(String ID, String player, boolean isList) {
|
||||
if (isHave(ID))
|
||||
return;
|
||||
String text = AllMusic.getMessage().getMusicPlay().getPlayerAdd();
|
||||
|
||||
Reference in new issue
Block a user