Skip to content

fix(music): newest first reverses songs added together - #2342

Merged
A-EDev merged 1 commit into
mainfrom
fix/music-sort-equal-dates
Nov 24, 2026
Merged

A-EDev merged 1 commit into
mainfrom
fix/music-sort-equal-dates

Conversation

@A-EDev

@A-EDev A-EDev commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • "Date added (newest)" now reverses songs that share the same date. Importing a playlist (from YouTube or a Flow file) or saving one to the library gives every song one time, and the newest sort kept them in playlist order, so newest and oldest looked the same.
  • Same tie-break the video playlist page already uses. Existing playlists are fixed without a database change.

Related issue

Closes #2326

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug
  • ./gradlew :app:testGithubDebugUnitTest (7109 tests, 0 failures, with all five of this batch merged together)
  • I ran any additional flavor-specific build or test tasks affected by this change. (spotlessCheck, :app:compileFossDebugKotlin)
  • I manually tested the affected behavior on an Android device or emulator.

Test device and Android version: Android emulator, phone image, Android 17 (API 37)

  • MusicCollectionSortingTest: songs added together, and songs without a date, in both orders.

Screenshots or recordings

Risk and compatibility

Sort order only.

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources.
  • Dependency and lockfile changes are intentional and limited to this PR.
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema.
  • Breaking changes and upgrade steps are clearly documented.

@github-actions github-actions Bot added documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces labels Nov 23, 2026
@A-EDev
A-EDev merged commit 2472783 into main Nov 24, 2026
14 of 15 checks passed
@A-EDev
A-EDev deleted the fix/music-sort-equal-dates branch November 24, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: playlist newest order and oldest are the same

1 participant