From 3f2543ead8a46a46034930ce4fed2a6a7389ae15 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Fri, 27 Mar 2026 22:47:19 -0300 Subject: [PATCH] Format AutoMediaOption names and filter artists --- votify/interface/interface.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/votify/interface/interface.py b/votify/interface/interface.py index c1f2885..14d861f 100644 --- a/votify/interface/interface.py +++ b/votify/interface/interface.py @@ -225,8 +225,12 @@ class SpotifyInterface: ) -> AsyncGenerator[SpotifyMedia | BaseException, None]: if not auto_media_option: choices = [ - Choice(name=option.value.split("-")[-1].capitalize(), value=option) + Choice( + name=" ".join(option.value.split("-")[1:]).capitalize(), + value=option, + ) for option in AutoMediaOption + if option.value.startswith("artist-") ] artist_option = await inquirer.select( message="Select which media to download:",