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

Smart Playlists - Treat "Date" as a linear value #906

Open
jdglanville opened this issue Oct 14, 2023 · 0 comments
Open

Smart Playlists - Treat "Date" as a linear value #906

jdglanville opened this issue Oct 14, 2023 · 0 comments

Comments

@jdglanville
Copy link

Some may view this as a bug, I'm going to document this as an enhancement request.

Steps to Reproduce

  1. Create a Smart Playlist
  2. Chose "Date" as a field
  3. For the "criteria type", select something that allows "greater than" or "less than" - not available

Expected Behavior

It would be good to have a playlist where you set the criteria using linear relationships. Examples:

  • where "date" is greater than "2018" (equivalent to "anything in the past 5 years")
  • where (and)
    • date greater than 1981
    • date less than 1985
    • (This could probably be approximated by a regex, but it doesn't take much to find more complicated ranges)

Current Behavior

The current behaviour is to treat the "Date" field as a string, providing criteria like "contains" or "regex"
image

Possible Solution

A potential solution for this is treat the date field as a linear value, similar to how the BPM field is treated.
image

Environment

  • Operating System and version: Ubuntu 23.04
  • Exaile Version: 4.1.3
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