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):