spotifyd icon indicating copy to clipboard operation
spotifyd copied to clipboard

Client Name Change

Open Bazmundi opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I installed spotifyd daemon via snap thanks. Found it from my spotify app on my android phone! Noticed it was on network as spotifyd, obviously. Would like to change this to device name its running on, as I will be setting up a number of RPi with the client around the house.

Describe the solution you'd like Provide a means to change device name reported by client on spotify app.

Describe alternatives you've considered Hack the snap to hard code client name per client. Hack the installed snap config to force the client name from spotifyd to the device name. Prefer a gentle means to set this. (May be via some route I am yet to find).

Bazmundi avatar Dec 15 '21 06:12 Bazmundi

I have never used snap before, but in theory you should be able to either modify the config file (which you might have tried already according to your message) or pass the cli argument --device-name "your_custom_name" or just -d "your_custom_name".

The relevant config entry would look like this:

[global]

# The name that gets displayed under the connect tab on
# official clients. Spaces are not allowed!
device_name = "device_name_in_spotify_connect"

from here

Sorry if this totally missed your question and/or does not work with snap.

Edit: I just realized that the version on snap is quite old (#1028), so the actual cli options or config format might have changed since then. Nevertheless, it should be possible to change the device name. (see e.g. here)

eladyn avatar Dec 16 '21 15:12 eladyn

Thanks, yes. Trying to find where snap is hiding the configuration files etc. Will let you know what I find.

On Fri, Dec 17, 2021 at 1:39 AM eladyn @.***> wrote:

I have never used snap before, but in theory you should be able to either modify the config file (which you might have tried already according to your message) or pass the cli argument --device-name "your_custom_name" or just -d "your_custom_name".

The relevant config entry would look like this:

[global]

The name that gets displayed under the connect tab on# official clients. Spaces are not allowed!device_name = "device_name_in_spotify_connect"

from here https://spotifyd.github.io/spotifyd/config/File.html

Sorry if this totally missed your question and/or does not work with snap.

— Reply to this email directly, view it on GitHub https://github.com/Spotifyd/spotifyd/issues/1029#issuecomment-995904647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANQYK3JZXM2NQZ6GHFQ5QLURH6KDANCNFSM5KCYLDZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Bazmundi avatar Dec 16 '21 22:12 Bazmundi

I'm going to close this, since the snap has since been taken down from snapcraft. Hope that is okay! :)

eladyn avatar Mar 10 '23 23:03 eladyn