Increase the limit for the search server from 7 to 20, because the results are weirdly ordered and we sometimes one get the wrong ones

This commit is contained in:
Lukáš Lalinský
2008-03-06 14:47:27 +01:00
parent 613b3e1734
commit 58879cb4e0
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ class Cluster(QtCore.QObject, Item):
artist=self.metadata.get('artist', ''),
release=self.metadata.get('album', ''),
tracks=str(len(self.files)),
limit=7)
limit=25)
@staticmethod
def cluster(files, threshold):

View File

@@ -511,7 +511,7 @@ class File(LockableObject, Item):
tnum=self.metadata.get('tracknumber', ''),
tracks=self.metadata.get('totaltracks', ''),
qdur=str(self.metadata.length / 2000),
limit=7)
limit=25)
def set_pending(self):
if self.state == File.REMOVED: