cli: fix spelling error in queue adding commands

This commit is contained in:
Daniel Lovbrotte Olsen 2024-05-19 06:07:52 +02:00
parent e00ae9e344
commit 1009b29995

View File

@ -64,7 +64,7 @@ def _add(
api.playlist_goto(current_index if put_pre else current_index + 1)
api.set_playing(True)
@cli.command(help="Add one ore more items to the playlist")
@cli.command(help="Add one or more items to the playlist")
def play(
urls: list[str],
pre: bool = False,
@ -72,14 +72,14 @@ def play(
):
_add(urls, put_post=not pre, put_pre=pre, play=True, api_base=api_base)
@cli.command(help="Add one ore more items to the playlist")
@cli.command(help="Add one or more items to the playlist")
def next(
urls: list[str],
api_base: str = DEFAULT_API_BASE,
):
_add(urls, put_post=True, api_base=api_base)
@cli.command(help="Add one ore more items to the playlist")
@cli.command(help="Add one or more items to the playlist")
def queue(
urls: list[str],
play: bool = True,