This commit is contained in:
Color_yr committed 2023-01-13 16:09:33 +08:00
1 parent 7c0732f15c
commit df2b81be5a
4 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ plugins {
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
version = "2.18.1"
version = "2.18.2"
repositories {
mavenCentral()
+1 -1
View File
@@ -37,7 +37,7 @@ public class AllMusic {
/**
* 插件版本号
*/
public static final String version = "2.18.0";
public static final String version = "2.18.2";
/**
* 配置文件版本号
*/
@@ -75,13 +75,13 @@ public class PlayGo {
* 清空歌曲数据
*/
private static void clear() {
closeTimer();
PlayMusic.musicNowTime = 0;
PlayMusic.musicAllTime = 0;
PlayMusic.musicLessTime = 0;
PlayMusic.lyric = null;
PlayMusic.nowPlayMusic = null;
AllMusic.side.updateInfo();
closeTimer();
HudUtils.clearHud();
}
@@ -96,7 +96,10 @@ public class PlayGo {
private static void time2() {
try {
boolean res = PlayMusic.lyric.checkTime(PlayMusic.musicNowTime, AllMusic.getConfig().KtvMode);
if (PlayMusic.lyric == null)
return;
boolean res = PlayMusic.lyric
.checkTime(PlayMusic.musicNowTime, AllMusic.getConfig().KtvMode);
if (res) {
times = 0;
HudUtils.sendHudLyricData();
+2 -2
View File
@@ -13,8 +13,8 @@ public class RunTest implements IMyLogger {
// {
//
// }
//https://music.163.com/song?id=1971144922&userid=124183854
LyricSave obj = AllMusic.getMusicApi().getLyric("1971144922");
//https://music.163.com/song?id=1422767271&userid=124183854
LyricSave obj = AllMusic.getMusicApi().getLyric("1449794087");
if (obj.isHaveLyric()) {
int time = 0;
while (true) {