Skip to content

Fix timestamp format in LrcLyricParserTest#87

Merged
andy840119 merged 2 commits intokaraoke-dev:mainfrom
Maxr1998:fix-timestamp-format
Jun 22, 2025
Merged

Fix timestamp format in LrcLyricParserTest#87
andy840119 merged 2 commits intokaraoke-dev:mainfrom
Maxr1998:fix-timestamp-format

Conversation

@Maxr1998
Copy link
Contributor

@Maxr1998 Maxr1998 commented Jun 22, 2025

As discussed in #85.

Copy link
Member

@andy840119 andy840119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we discussed before, old format ([mm:ss:xx]) support might be dropped.
Need to:

  1. should adjust the utils not support the test case.
  2. (would be better) add new test case to make sure that [mm:ss:xx] not being supported anymore.

If you are not sure if OK to adjust the utils, should keep both test cases and write the reason why both time format are supported.

@andy840119 andy840119 added the Breaking change This change might let parsing result not same as before. label Jun 22, 2025
@Maxr1998
Copy link
Contributor Author

Technically, the support for the old format was already dropped way before. But since it is not even checked in this test case, I don't think we can make this particular test fail for the old format. The tests would need to be placed elsewhere (for example LrcParserTest).

@Maxr1998
Copy link
Contributor Author

(and since it only modifies some general tests, it is not really a breaking change)

@andy840119 andy840119 removed the Breaking change This change might let parsing result not same as before. label Jun 22, 2025
Some test cases might be false if not support parsing the lyric without start timing.
@andy840119 andy840119 merged commit 6202b64 into karaoke-dev:main Jun 22, 2025
3 checks passed
@Maxr1998 Maxr1998 deleted the fix-timestamp-format branch June 22, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants