1
0
mirror of synced 2024-12-05 03:27:54 +01:00

Use "EXT" instead of "?" as default

This commit is contained in:
Stepland 2021-05-01 13:55:27 +02:00
parent ceafaad4c3
commit 7128dcc559
5 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,6 @@
# v0.1.3 # v0.1.3
## Changed
- jubeat analyser : Use "EXT" instead of "?" as the fallback difficulty name when loading
## Fixed ## Fixed
- memon : Fix TypeError that would occur when trying to convert to memon - memon : Fix TypeError that would occur when trying to convert to memon

View File

@ -318,7 +318,7 @@ def _load_memo_file(lines: List[str]) -> Song:
) )
charts = { charts = {
parser.difficulty parser.difficulty
or "?": Chart( or "EXT": Chart(
level=Decimal(parser.level), level=Decimal(parser.level),
timing=timing, timing=timing,
notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)),

View File

@ -312,7 +312,7 @@ def _load_memo1_file(lines: List[str]) -> Song:
) )
charts = { charts = {
parser.difficulty parser.difficulty
or "?": Chart( or "EXT": Chart(
level=Decimal(parser.level), level=Decimal(parser.level),
timing=timing, timing=timing,
notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)),

View File

@ -448,7 +448,7 @@ def _load_memo2_file(lines: List[str]) -> Song:
) )
charts = { charts = {
parser.difficulty parser.difficulty
or "?": Chart( or "EXT": Chart(
level=Decimal(parser.level), level=Decimal(parser.level),
timing=timing, timing=timing,
notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)),

View File

@ -298,7 +298,7 @@ def _load_mono_column_file(lines: List[str]) -> Song:
) )
charts = { charts = {
parser.difficulty parser.difficulty
or "?": Chart( or "EXT": Chart(
level=Decimal(parser.level), level=Decimal(parser.level),
timing=timing, timing=timing,
notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)), notes=sorted(parser.notes(), key=lambda n: (n.time, n.position)),