mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 14:52:09 +08:00
支持语言歌词
This commit is contained in:
parent
b5494c9fed
commit
37e0542ac7
@ -151,6 +151,10 @@ public class LyricPlayer {
|
||||
while (timeMatchResult.find()) {
|
||||
String timeStr = timeMatchResult.group();
|
||||
timeStr = timeStr.replace("(\\.\\d\\d)0$", "$1");
|
||||
if (linesMap.containsKey(timeStr)) {
|
||||
((ArrayList<String>) ((HashMap) linesMap.get(timeStr)).get("extendedLyrics")).add(text);
|
||||
continue;
|
||||
}
|
||||
String[] timeArr = timeStr.split(":");
|
||||
String hours;
|
||||
String minutes;
|
||||
@ -168,7 +172,7 @@ public class LyricPlayer {
|
||||
seconds = timeArr[1];
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
if (seconds.contains(".")) {
|
||||
timeArr = seconds.split("\\.");
|
||||
|
618
package-lock.json
generated
618
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@ -45,25 +45,25 @@
|
||||
"@react-native-async-storage/async-storage": "^1.17.10",
|
||||
"@react-native-clipboard/clipboard": "^1.11.1",
|
||||
"@react-native-community/checkbox": "^0.5.12",
|
||||
"@react-native-community/slider": "^4.3.1",
|
||||
"@react-native-community/slider": "^4.3.2",
|
||||
"buffer": "^6.0.3",
|
||||
"console-browserify": "^1.2.0",
|
||||
"events": "^3.3.0",
|
||||
"i18next": "^21.9.2",
|
||||
"i18next": "^22.0.3",
|
||||
"js-htmlencode": "^0.3.0",
|
||||
"lrc-file-parser": "^2.1.0",
|
||||
"lrc-file-parser": "^2.2.1",
|
||||
"pako": "^2.0.4",
|
||||
"process": "^0.11.10",
|
||||
"prop-types": "^15.8.1",
|
||||
"react": "17.0.2",
|
||||
"react-i18next": "^11.18.6",
|
||||
"react-i18next": "^12.0.0",
|
||||
"react-native": "0.68.2",
|
||||
"react-native-background-timer": "^2.4.1",
|
||||
"react-native-crypto": "^2.2.0",
|
||||
"react-native-exception-handler": "^2.10.10",
|
||||
"react-native-fs": "^2.20.0",
|
||||
"react-native-navigation": "^7.29.0",
|
||||
"react-native-pager-view": "^6.0.0",
|
||||
"react-native-navigation": "^7.29.1",
|
||||
"react-native-pager-view": "^6.0.1",
|
||||
"react-native-randombytes": "^3.6.1",
|
||||
"react-native-splash-screen": "^3.3.0",
|
||||
"react-native-track-player": "git+https://github.com/lyswhut/react-native-track-player.git#5fb0bec8694d3783f32a1e4ed1251c163e9842f7",
|
||||
@ -74,27 +74,27 @@
|
||||
"redux-subscriber": "^1.1.0",
|
||||
"redux-thunk": "^2.4.1",
|
||||
"reselect": "^4.1.6",
|
||||
"socket.io": "^4.5.2",
|
||||
"socket.io": "^4.5.3",
|
||||
"stream-browserify": "^1.0.0",
|
||||
"url": "~0.10.1",
|
||||
"util": "~0.10.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.19.3",
|
||||
"@babel/core": "^7.19.6",
|
||||
"@babel/eslint-parser": "^7.19.1",
|
||||
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
||||
"@babel/runtime": "^7.19.0",
|
||||
"@babel/runtime": "^7.20.0",
|
||||
"babel-jest": "^26.6.3",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"changelog-parser": "^2.8.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.24.0",
|
||||
"eslint": "^8.26.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-plugin-html": "^7.1.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-promise": "^6.0.1",
|
||||
"eslint-plugin-react": "^7.31.8",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-react": "^7.31.10",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"jest": "^26.6.3",
|
||||
"metro-react-native-babel-preset": "^0.67.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user