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

Add ability to filter tracks to todays date #3012

Open
dakriy opened this issue May 15, 2024 · 0 comments · May be fixed by #3013
Open

Add ability to filter tracks to todays date #3012

dakriy opened this issue May 15, 2024 · 0 comments · May be fixed by #3013

Comments

@dakriy
Copy link

dakriy commented May 15, 2024

Is your feature request related to a problem?

It can be very helpful to filter tracks by some part of the current date or day. For example if you tag all tracks with the day Tuesday and on Tuesday you have a set of tracks you want to play. Or perhaps a track gets pulled in from a remote source and you don't want to have to modify a playlist every time and would rather have LibreTime filter to the correct tracks and only specify a dynamic smart block once, this feature makes that a lot easier. Required for a radio station to go live with LibreTime.

Describe the solution you'd like

A good solution would probably be a date macro for a track string filter that can take in a date format and apply the current date at the time of evaluation to get the final db filter.

Describe alternatives you've considered

I have considered automatically adding tracks to a playlist outside of LibreTime through the API but this seems much more fragile and must require technical coding knowledge to see what is going on. With this solution it allows all that logic to take place in LibreTime without needing as many external integrations.

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant