diff --git a/database-seeds/collections/songs-popn.json b/database-seeds/collections/songs-popn.json index d373f4c32..aac1b8d75 100644 --- a/database-seeds/collections/songs-popn.json +++ b/database-seeds/collections/songs-popn.json @@ -16446,7 +16446,7 @@ }, { "id": 1496, - "title": "cat's scat", + "title": "cat's scat (URA)", "artist": "Q-Mex", "searchTerms": [], "altTitles": [], @@ -16479,7 +16479,7 @@ }, { "id": 1499, - "title": "西新宿清掃曲", + "title": "西新宿清掃曲 (URA)", "artist": "サイモンマン", "searchTerms": [], "altTitles": [], @@ -16490,7 +16490,7 @@ }, { "id": 1500, - "title": "Denpasar", + "title": "Denpasar (URA)", "artist": "good-cool", "searchTerms": [], "altTitles": [], @@ -16501,7 +16501,7 @@ }, { "id": 1501, - "title": "男々道", + "title": "男々道 (URA)", "artist": "Des-ROW・組", "searchTerms": [], "altTitles": [], @@ -17194,13 +17194,13 @@ }, { "id": 1564, - "title": "Popperz Chronicle", + "title": "Popperz Chronicle (UPPER)", "artist": "pop'n masters", "searchTerms": [], "altTitles": [], "data": { "displayVersion": null, - "genre": "Popperz Chronicle" + "genre": "Popperz Chronicle (UPPER)" } }, { diff --git a/database-seeds/scripts/rerunners/parse-skye-popn.js b/database-seeds/scripts/rerunners/parse-skye-popn.js index d7449bdee..053063829 100644 --- a/database-seeds/scripts/rerunners/parse-skye-popn.js +++ b/database-seeds/scripts/rerunners/parse-skye-popn.js @@ -25,8 +25,10 @@ const charts = []; let songID = 1; for (const song of data) { const isUpper = song.charts.some(k => k !== null && k.filename.startsWith("exx")); + const isUra = song.charts.some(k => k !== null && k.filename.endsWith("_ura2")); let title = isUpper ? `${song.title} (UPPER)` : song.title; + title = isUra ? `${title} (URA)` : title; songs.push({ id: songID, @@ -70,5 +72,5 @@ for (const song of data) { songID++; } -fs.writeFileSync(path.join(__dirname, "../../collections/charts-popn.json"), JSON.stringify(charts, null, "\t")); +// fs.writeFileSync(path.join(__dirname, "../../collections/charts-popn.json"), JSON.stringify(charts, null, "\t")); fs.writeFileSync(path.join(__dirname, "../../collections/songs-popn.json"), JSON.stringify(songs, null, "\t"));