Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting by last added #21

Closed
rufatagayev opened this issue Dec 10, 2024 · 4 comments
Closed

Sorting by last added #21

rufatagayev opened this issue Dec 10, 2024 · 4 comments

Comments

@rufatagayev
Copy link

Can you please add sorting tracks by last added please? It should be available from the media library, as almost all similar music players support this feature.

Many thanks!

@TJYSunset
Copy link
Owner

TJYSunset commented Dec 10, 2024

Do you mean filesystem modification date or newly scanned as in #9? The former is trivial to implement but not very useful, while the latter is unreliable and I personally dislike the idea of recording additional timestamps.

@rufatagayev
Copy link
Author

I'm talking about this: https://developer.android.com/reference/android/provider/MediaStore.MediaColumns#DATE_ADDED

I haven't done a music app yet, but I know most media apps sort tracks by date added and use a standardized approach, which seems to be the above.

@TJYSunset
Copy link
Owner

Missed that one in the docs. Thanks for pointing it out.

Will take a look tomorrow (it's 22:30 here.)

@TJYSunset
Copy link
Owner

Added in 4acea80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants