[GH-ISSUE #542] Use display_name instead of the user's ID, if set. #1251

Closed
opened 2026-03-14 14:07:00 +03:00 by kerem · 1 comment
Owner

Originally created by @dir on GitHub (Aug 10, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/542

Is your feature already implemented in the latest master?

No

spotify-player currently displays Spotify user IDs instead of display_name

Describe the solution you'd like

Use the display_name field from the Spotify API wherever user information is shown. Fall back to user ID if display_name is null.

Describe alternatives you've considered

Potentially configurations for playlist_format, like {name} {creator_display_name}.

Not the cleanest example, and the strings are different in different places, so mainly just spitballing there.

Additional context

Examples showing the chaotic UI where it renders my user ID only:

My Library
Screenshot 2024-08-10 at 5 49 31 PM

Playlist View
Screenshot 2024-08-10 at 5 49 08 PM

This change would make the app more intuitive and consistent with Spotify's official interfaces. As someone made the grave mistake of signing up with facebook way back when, all of my playlists, etc are marked with my user ID, and not my name.

P.S. I would love to implement this myself, but unfortunately I'm still quite new to Rust, and I was having a hard time wrapping my head around the codebase.

Originally created by @dir on GitHub (Aug 10, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/542 ## Is your feature already implemented in the latest `master`? No ## Is your feature request related to a problem? Please describe. spotify-player currently displays Spotify user IDs instead of `display_name` ## Describe the solution you'd like Use the `display_name` field from the Spotify API wherever user information is shown. Fall back to user ID if `display_name` is null. ## Describe alternatives you've considered Potentially configurations for `playlist_format`, like `{name} {creator_display_name}`. Not the cleanest example, and the strings are different in different places, so mainly just spitballing there. ## Additional context Examples showing the chaotic UI where it renders my user ID only: My Library <img width="500" alt="Screenshot 2024-08-10 at 5 49 31 PM" src="https://github.com/user-attachments/assets/716f655a-378b-4ae5-91d9-1fa434ce280f"> Playlist View <img width="462" alt="Screenshot 2024-08-10 at 5 49 08 PM" src="https://github.com/user-attachments/assets/23321e64-62ec-4baa-9980-ad68616f66e4"> This change would make the app more intuitive and consistent with Spotify's official interfaces. As someone made the grave mistake of signing up with facebook way back when, all of my playlists, etc are marked with my user ID, and not my name. P.S. I would love to implement this myself, but unfortunately I'm still quite new to Rust, and I was having a hard time wrapping my head around the codebase.
kerem 2026-03-14 14:07:00 +03:00
Author
Owner

@dir commented on GitHub (Aug 11, 2024):

Hey all - apologies, I just spun up spotify-player and it looks as if my display name is now rendering.
I'm not sure what changed, maybe some fluke issue with my Spotify account? But, looks to be good now!

Screenshot 2024-08-11 at 1 41 10 PM

Sorry for the unnecessary issue, I'm really not sure what changed.

However, the "playlist_format" config option to be able to cherrypick specific values could be quite nice still!

<!-- gh-comment-id:2282851688 --> @dir commented on GitHub (Aug 11, 2024): Hey all - apologies, I just spun up spotify-player and it looks as if my display name is now rendering. I'm not sure what changed, maybe some fluke issue with my Spotify account? But, looks to be good now! <img width="586" alt="Screenshot 2024-08-11 at 1 41 10 PM" src="https://github.com/user-attachments/assets/351ba9c6-4bef-4654-8b08-e280bf8e6d6d"> Sorry for the unnecessary issue, I'm really not sure what changed. However, the "playlist_format" config option to be able to cherrypick specific values could be quite nice still!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#1251
No description provided.