Add a function for querying labels
This commit is contained in:
@ -5,7 +5,7 @@ Find an album using the `spotify_actions` API and echo its contents.
|
||||
from argparse import ArgumentParser
|
||||
|
||||
from spotify_actions.echo import echo_album
|
||||
from spotify_actions.search import search_album
|
||||
from spotify_actions.search import search_albums
|
||||
from spotify_actions.util import read_credentials
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ def main() -> None: # pylint: disable=missing-function-docstring
|
||||
|
||||
client = read_credentials(cmdline.config)
|
||||
|
||||
albums = search_album(client, cmdline.search_string)
|
||||
albums = search_albums(client, cmdline.search_string)
|
||||
echo_album(albums)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user