simon-weber / Autoplaylists-for-Google-Music

Adds autoplaylists, aka iTunes "smart playlists", to Google Music.
https://autoplaylists.simon.codes
MIT License
93 stars 18 forks source link

incorrect sort when using "any" with multiple match rules #109

Open simon-weber opened 7 years ago

simon-weber commented 7 years ago

I'm not sure what could cause this. It might be a lovefield bug.

simon-weber commented 7 years ago

Huh, I can't recreate this now.

simon-weber commented 7 years ago

It took a while, but I finally pinned this one down. Here's the lovefield bug: https://github.com/google/lovefield/issues/182.

It only affects playlists that contain a query like or(foo.match, foo.match...).

Dasonk commented 7 years ago

I'm having an issue where I use an All condition and have two conditions (playlist = something, last played earlier than 2/27/2017 let's say). I can not get the sorting in google music to stick. The sorting when I choose "test" looks good but once it syncs to google music the playlist is not sorted the way I want it at all. Could this be related to this bug and if so is there anything I can do to help track down the issue?

simon-weber commented 7 years ago

Probably not if the order looks correct when testing: that sounds more like a problem with syncing. I'll track it in a new issue.