mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-07 13:15:45 -04:00
[web] Fix variable name
This commit is contained in:
parent
5db55f66c1
commit
4a1b4575fe
@ -57,7 +57,7 @@ export default {
|
|||||||
// Parse the lyrics
|
// Parse the lyrics
|
||||||
const regex =
|
const regex =
|
||||||
/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u
|
/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u
|
||||||
raw.split('\n').forEach((item) => {
|
raw.split('\n').forEach((line) => {
|
||||||
const { text, minutes, seconds, hundredths } = regex.exec(line).groups
|
const { text, minutes, seconds, hundredths } = regex.exec(line).groups
|
||||||
if (text) {
|
if (text) {
|
||||||
const verse = {
|
const verse = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user