diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e047e7..065f951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # v0.1.3 +## Changed +- jubeat analyser : Use "EXT" instead of "?" as the fallback difficulty name when loading ## Fixed - memon : Fix TypeError that would occur when trying to convert to memon diff --git a/jubeatools/formats/jubeat_analyser/memo/load.py b/jubeatools/formats/jubeat_analyser/memo/load.py index c998c80..347b25e 100644 --- a/jubeatools/formats/jubeat_analyser/memo/load.py +++ b/jubeatools/formats/jubeat_analyser/memo/load.py @@ -318,7 +318,7 @@ def _load_memo_file(lines: List[str]) -> Song: ) charts = { parser.difficulty - or "?": Chart( + or "EXT": Chart( level=Decimal(parser.level), timing=timing, notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), diff --git a/jubeatools/formats/jubeat_analyser/memo1/load.py b/jubeatools/formats/jubeat_analyser/memo1/load.py index 69122cc..e52b14b 100644 --- a/jubeatools/formats/jubeat_analyser/memo1/load.py +++ b/jubeatools/formats/jubeat_analyser/memo1/load.py @@ -312,7 +312,7 @@ def _load_memo1_file(lines: List[str]) -> Song: ) charts = { parser.difficulty - or "?": Chart( + or "EXT": Chart( level=Decimal(parser.level), timing=timing, notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), diff --git a/jubeatools/formats/jubeat_analyser/memo2/load.py b/jubeatools/formats/jubeat_analyser/memo2/load.py index 3ee0d44..47d364d 100644 --- a/jubeatools/formats/jubeat_analyser/memo2/load.py +++ b/jubeatools/formats/jubeat_analyser/memo2/load.py @@ -448,7 +448,7 @@ def _load_memo2_file(lines: List[str]) -> Song: ) charts = { parser.difficulty - or "?": Chart( + or "EXT": Chart( level=Decimal(parser.level), timing=timing, notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), diff --git a/jubeatools/formats/jubeat_analyser/mono_column/load.py b/jubeatools/formats/jubeat_analyser/mono_column/load.py index caf1e9b..9eeed44 100644 --- a/jubeatools/formats/jubeat_analyser/mono_column/load.py +++ b/jubeatools/formats/jubeat_analyser/mono_column/load.py @@ -298,7 +298,7 @@ def _load_mono_column_file(lines: List[str]) -> Song: ) charts = { parser.difficulty - or "?": Chart( + or "EXT": Chart( level=Decimal(parser.level), timing=timing, notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)),