Update frontend to use Subject38's proper categories as extracted from Jubeat XML.

This commit is contained in:
Jennifer Taylor
2022-08-17 01:38:04 +00:00
parent 8d67760788
commit 05e4ef0cb8
5 changed files with 26 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ class CatalogObject(BaseObject):
def __format_jubeat_song(self, song: Song) -> Dict[str, Any]:
return {
'difficulty': song.data.get_int('difficulty'),
'category': song.data.get_int('version'),
'bpm_min': song.data.get_int('bpm_min'),
'bpm_max': song.data.get_int('bpm_max'),
}