Shpigford / plylst

Smart playlists for Spotify! Stop relying on fancy pants algorithms to organize your library and instead build playlists the way you want.
https://plylst.app
MIT License
331 stars 52 forks source link

Support OR in Rule Builder #42

Open Shpigford opened 4 years ago

Shpigford commented 4 years ago

Right now the rule builder defaults to AND, meaning tracks have to match every rule.

The app should support OR as well. I believe the rule building javascript library (queryBuilder.js) supports this from a UI perspective, but the actual track filtering method would need some adjustments.

https://github.com/Shpigford/plylst/blob/master/app/models/playlist.rb#L15

ragnorc commented 4 years ago

Is there any ETA for this feature? :)

Shpigford commented 4 years ago

@ragnorc As soon as someone builds it! 🙃 It's a very complex change to how playlists are built, so at the moment it's not a top priority. There's also frequently some ways to sidestep it.

What's an example of a playlist you're wanting to build?

ragnorc commented 4 years ago

Okay, I understand 😊 The genre classification often does not capture all the songs (probably caused by the sparsity of genre data), so it would be helpful to be able to include artist name and track name using an OR filter.