Commit dba3c34e authored by nanahira's avatar nanahira

fix

parent 1b2d8f92
...@@ -95,7 +95,7 @@ async function main() { ...@@ -95,7 +95,7 @@ async function main() {
res.subtitle = value; res.subtitle = value;
break; break;
case "demostart": case "demostart":
res.preview = parseFloat(volume); res.preview = parseFloat(value);
case "course": case "course":
const diff = value.toLowerCase(); const diff = value.toLowerCase();
if (diff in courseTypes) { if (diff in courseTypes) {
...@@ -118,6 +118,9 @@ async function main() { ...@@ -118,6 +118,9 @@ async function main() {
all_songs.push(res); all_songs.push(res);
} }
} }
for (let song of all_songs) {
console.log(JSON.stringify(song));
}
} }
main(); main();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment