mirror of
https://github.com/glomatico/votify.git
synced 2026-09-30 13:02:12 +02:00
Display last segment of AutoMediaOption value
This commit is contained in:
@@ -205,7 +205,7 @@ class SpotifyInterface:
|
||||
) -> AsyncGenerator[SpotifyMedia | BaseException, None]:
|
||||
if not auto_media_option:
|
||||
choices = [
|
||||
Choice(name=option.value.capitalize(), value=option)
|
||||
Choice(name=option.value.split("-")[-1].capitalize(), value=option)
|
||||
for option in AutoMediaOption
|
||||
]
|
||||
artist_option = await inquirer.select(
|
||||
|
||||
Reference in New Issue
Block a user