mirror of
https://github.com/beetbox/beets.git
synced 2025-12-26 18:43:38 +01:00
playlist: Restore case sensitivity in col_clause method
This commit is contained in:
parent
d6022e28d7
commit
4f1a468aa9
1 changed files with 1 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue