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

Filtering tracks in library by length should handle abbreviations like lastplayed #7370

Open
3 tasks done
residuum opened this issue Dec 27, 2024 · 0 comments
Open
3 tasks done

Comments

@residuum
Copy link

residuum commented Dec 27, 2024

Before posting

Please follow the steps below and check the boxes with [x] once you did the step.

  • I checked the issue tracker for similar issues
  • I checked the changelog if the issue is already resolved
  • I tried the latest Clementine build from here

System information

Please provide information about your system and the version of Clementine used.

  • Operating System: Debian testing/unstable
  • Clementine version: 1.4 rc2

Expected behaviour / actual behaviour

When filtering tracks in the library, it is possible to search for tracks played within a specified time with the syntax lastplayed:<1h30m. It is also possible to filter tracks by length, but not with the abbreviations for minutes, hours, seconds etc. So one must search for nanoseconds now, e.g. length:<60000000000 returns tracks shorter than 1 minute in the library, but length:<1m would be nice for that.

Currently the abbreviations are only filtered in date columns

} else if (Song::kDateColumns.contains(columntoken)) {

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

1 participant