From 4f1a468aa944b37aadcef3c7164bf7f4576bb957 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Sun, 17 Feb 2019 17:34:36 +0100 Subject: [PATCH] playlist: Restore case sensitivity in col_clause method --- beetsplug/playlist.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beetsplug/playlist.py b/beetsplug/playlist.py index 759eaa51b..e5c80f129 100644 --- a/beetsplug/playlist.py +++ b/beetsplug/playlist.py @@ -67,8 +67,7 @@ class PlaylistQuery(beets.dbcore.FieldQuery): if not self.paths: # Playlist is empty return '0', () - clause = 'BYTELOWER(path) IN ({0})'.format( - ', '.join('BYTELOWER(?)' for path in self.paths)) + clause = 'path IN ({0})'.format(', '.join('?' for path in self.paths)) return clause, (beets.library.BLOB_TYPE(p) for p in self.paths) def match(self, item):