Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added support for renaming the default Spotify device name #53

Merged
merged 5 commits into from
Aug 12, 2024

Conversation

ChrisMoriarty
Copy link
Contributor

This PR is an attempt to allow users to customize the name assigned to the Aoede device in Spotify, which is currently hardcoded to "Aoede".

The struct in config.rs has been updated to map a new env variable "SPOTIFY_DEVICE_NAME" to spotify_device_name. I have also updated the readme and config.sample.toml file appropriately.

For backwards compatibility, I implemented a default value of "Aoede" using serde, so users aren't forced to add the new value when they update to the latest version.

Copy link
Owner

@codetheweb codetheweb left a comment

Choose a reason for hiding this comment

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

thank you!

@codetheweb codetheweb changed the title Added support for renaming the default Spotify device name feat: added support for renaming the default Spotify device name Aug 12, 2024
@codetheweb codetheweb merged commit 76fe9b4 into codetheweb:main Aug 12, 2024
3 checks passed
@ChrisMoriarty ChrisMoriarty deleted the custom_device_name branch August 12, 2024 12:57
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.

2 participants