diff --git a/app/dialogs.py b/app/dialogs.py index 3c195e1..747464a 100644 --- a/app/dialogs.py +++ b/app/dialogs.py @@ -138,7 +138,9 @@ class TrackSelectDialog(QDialog): self.ui.matchList.clear() if len(s) > 0: - if self.ui.radioTitle.isChecked(): + if s.startswith("a/") and len(s) > 2: + matches = Tracks.search_artists(self.session, "%" + s[2:]) + elif self.ui.radioTitle.isChecked(): matches = Tracks.search_titles(self.session, "%" + s) else: matches = Tracks.search_artists(self.session, "%" + s)