This commit is contained in:
yutou 2021-02-23 18:28:09 +08:00
parent e2019ded66
commit 728d700e54
2 changed files with 6 additions and 1 deletions

View File

@ -147,6 +147,11 @@ public class MusicData {
if (StringUtil.isEmpty(disc_no)) {
return "0";
}
try{
Integer.parseInt(disc_no);
}catch (Exception e){
return disc_no.substring(0,1);
}
return disc_no;
}

View File

@ -34,7 +34,7 @@ import static com.yutou.nas_music_player.tools.NetworkTool.NetworkAPI.HTTP_KEY;
public class NetworkTool {
public static class NetworkAPI {
public static final String HTTP_KEY = "PlVodzYhvxRQbOHKakpKs2dvnoc43Cnk";
public static final String HTTP_KEY = "zIrsh9TUZP2lfRW753PannG49E7VJvor";
public static String HOME = "";
public static String MUSIC_LIST = HOME + "/music/list.do";
public static String MUSIC_Album = HOME + "/music/getAlbum.do";