"Hacking" / Advanced smartplaylists | Now with OR and AND in one 😀
Hello :)
Smart playlist are really awesome. But somewhat limited.
It's either all AND or all OR
But I found out you can do some stuff by hacking the collection.nml file
$ARTIST % "steven" | $GENRE % "house" | $GENRE % "techno"
^ This is a normal query created from traktor. If a track matches any of the 3 filter the track will be added to the playlist.
But when you manually change it by hand to:
$ARTIST % "steven" & $GENRE % "house" | $GENRE % "techno"
It will either show techno tracks OR house track by steven. Yay
I don't know how to make brackets yet. Anyone got an idea?
I used this website to de/encode the HTML.
Comments
-
First - fair play to you mate, for finding this out.
Second - What TF, Traktor Team? How can this be possible?!? Why on earth would you make it possible to do in an HTML editor, but NOT in our Native Smart Playlists?
It really does feel like you're taking the piss. We've been asking for literally YEARS for Smart Playlists, and then you give us a half-ass implementation, and THEN, we find out that you're holding out on us.
Not good enough NI, not good enough. 🤔🤬
0 -
Moderator note:
FYI; it is a breach of the EULA Terms & Conditions that you agreed to when you installed Traktor to modify the software. You do it at your own peril.
3.5 Licensee is not authorized to modify the software, unless it is to preserve or restore the agreed functions of the software purchased.
Don't shoot the messenger, it's my duty to inform you and I DO NOT need any replies to this message.
Karlos.
0 -
Still interesting. I will be investigating the file with more interest now. Any worthwhile results will be shared.
If any of this will prompt the dev team to update Traktor and/or incorporate any of it, well, it would be much appreciated. 🔧
0 -
It's similar against the EULA as many of the existing commercial tools that manipulate the collection. I would not worry too much about it. But thanks for letting me know.
Sadly I have not been able to do much advanced stuff just yet.
For example I wanted to make a playlist of:
$ARTIST % "ben" & $GENRE % "house" | $GENRE % "techno" & $ARTIST % "charlotte"
House track by Ben OR techno tracks by charlotte. Sadly this gives me only tracks by charlotte.
If anyone has some idea how to create brackets that would be neat 📸
0 -
Testing the first couple of variations i got this:
- & &
- ( (
- ) )
- [ Z
- ] ]
- | |
1 -
When I try that I still does not work for me.
($ARTIST % "ben" & $GENRE % "house") | ($GENRE % "techno" & $ARTIST % "charlotte")
encoded would look like:
($ARTIST % "ben" & $GENRE % "house") | ($GENRE % "techno" & $ARTIST % "charlotte")
Playlist is empty and on exit of traktor the QUERY string is empty.
1 -
I guess only up to 3 fields are possible. But that is only my wild guess.
What about
($ARTIST % "ben" | $ARTIST % "XXXX") & $GENRE % "house"
or logical equivalent (but it probably returns artist XXXX & "house", based on your previous experiments)
$ARTIST % "ben" & $GENRE % "house" | $ARTIST % "XXXX" & $GENRE % "house"
----------------
& and | behave like * and + in calculus, & has higher priority than | when evaluating the expression.
0 -
Anyone messed some more with this?
0 -
As far as I can tell you can have as many &s as you want, but only one term around a | will be taken into account. Brackets don't work.
0 -
This is all* rather bizarre imo...
* that 'Smart playlist are...somewhat limited.' - i.e. after 3/4of a year, it's still not possible to have them take the playing deck/track into account as a means for 'smarts', which for me is the only need of a 'smart' playlist implementation... and as it apparently now turns out, it can do basic and/or syntax as shown above which, from the people who could actually could make use of the half baked implementation (as they've not found a better dynamic playlist system in the last years that integrates into their workflow....), this is the one major shortcoming criticized from the start iirc....
Very curious about the next steps here.
c.
1 -
Hey All who have been a part of this post, let's get this across the line. only a couple of upvotes to go...
1
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 735 Tech Talks
- 3.9K Native Access
- 15.9K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 365 Battery 4
- 817 Guitar Rig & FX
- 417 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 7K Traktor
- 7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators