Skip to content

gets display_name from librespot#213

Merged
Googolplexed0 merged 2 commits intoGoogolplexed0:mainfrom
DerKO9:main
Apr 26, 2026
Merged

gets display_name from librespot#213
Googolplexed0 merged 2 commits intoGoogolplexed0:mainfrom
DerKO9:main

Conversation

@DerKO9
Copy link
Copy Markdown

@DerKO9 DerKO9 commented Apr 20, 2026

This depends on Googolplexed0/librespot-python#2 getting pulled, as I used the new function added to make this work.

When the "unknown_user" function is called to set the display_name, instead of assigning it the id, i send the id to the new librespot function get_user_profile to return the user display name. If the display name is already in the dictionary USER_DISPLAY_NAME_MAP then it will use that instead of making another call. This should fix #206

User to pull display_name from user profile
improve Zotify class attr organization

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Owner

@Googolplexed0 Googolplexed0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes #206

@Googolplexed0 Googolplexed0 merged commit c14cdea into Googolplexed0:main Apr 26, 2026
Copy link
Copy Markdown
Owner

@Googolplexed0 Googolplexed0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was most certainly not co-authored by Copilot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] No User.display_name with Non-Client API

2 participants