From a45db5cfa914fe00b6653da0475803f5ca7bced3 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 12 Sep 2023 15:14:44 +0200 Subject: [PATCH] implemented specific searches --- src/music_kraken/pages/bandcamp.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/music_kraken/pages/bandcamp.py b/src/music_kraken/pages/bandcamp.py index 332d658..9644646 100644 --- a/src/music_kraken/pages/bandcamp.py +++ b/src/music_kraken/pages/bandcamp.py @@ -113,16 +113,16 @@ class Bandcamp(Page): return results def label_search(self, label: Label) -> List[Label]: - return [] + return self.general_search(artist.name, filter_string="b") def artist_search(self, artist: Artist) -> List[Artist]: - return [] + return self.general_search(artist.name, filter_string="b") def album_search(self, album: Album) -> List[Album]: - return [] + return self.general_search(artist.name, filter_string="a") def song_search(self, song: Song) -> List[Song]: - return [] + return self.general_search(artist.name, filter_string="t") def fetch_song(self, source: Source, stop_at_level: int = 1) -> Song: return Song()