-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Smarties (or SmartList or SmartCrate or QueryCrate or QueryList or ...) open for feedback. #14182
base: main
Are you sure you want to change the base?
Conversation
Wanted to do a quick test, but ran into this assert. |
I'll mark this draft for now since there's a lot of unrelated and unused/commented stuff in here. |
thank you |
Just my 2 ct wrt the implmentation: |
Thank you, indeed the goal was double:
Concerning the discussion... As some discussions go on eternally without having a clear (and steady) outcome and as some discussions are more about the coding itself than about the logic or the feature, I label those as a real waist of precious time which I could have invested in the features I'm really missing. So I'm avoiding them. If my pr's rot or get stalled ... all who wants the feature (and especially I) can have it. I wrote this spontaneously (as in my nature) and didn't think over my words and thoughts, If I offended someone, please accept my most sincere apologies, I didn't mean to. Addendum: maybe the "Blue Monday combined with today's halloween-pumpkin event"-effect caused me to write my reflections. |
I still had a binary of this branch in my build dir and when I attempted to run it (to quickly check something unrelated) I ran into the same debug assert again, even before the main window showed up. |
thank you, I wil check it out profoundly |
Smarties
some remarks:
I read #5575 carefully and tried to follow some ideas from that conversation.
smarties are crates with other capabilities : No autoDJcrate, no adding tracks, no export (make crate of the smarties)...
smarties can be 'live' and 'cached' : when the smarties are locked they are cached, else the search is executed when selected (but this goes fast, I'm testing with 13000 tracks table in Virtual Machine, it's just a wink). Cached = tracks in smarties_tracks
-> when title / name of track is changed and the track is no longer conform with the condition the track continues to stay in the smarties until the smarties is unlocked.
in querysearch ienter your seartch, push the white square and your search becomes a a smarties.
click with right mousebutton on a smarties -> edit -> 12 conditions, all track fields with an operator and an value-input
-> Smarties are SMART
all meaningful fields of the library can be selected, with matching operators.
it's possible to use a crate / playlist or historylist in a condition (dropdown)
each condition needs to end with AND / OR vombined with ( )
the last condition needs to end with ) END.
conditions can be switched moved up / down / inserted / deleted. only 12 conditions possible.
with apply the query is shown as it would be executed
before are smarties query is saved it's checked -> green rectanhle ok, red = problem
smarties are updated while updating the conditions -> apply
I added the 'grouped' logic as in 'grouped crates"
please test and send me feedback
NOTE: there are still a lot of 'leftovers' from conversion of crates to smarties, things that might be used in the future (I'm still in dubio).
20241026.Eve.Mixxx.Smarties.mp4
20241026.Eve.Mixxx.Smarties.mp4