Skip to content

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
@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