Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Change shairport-sync name #6

Open
dcrypt3d opened this issue May 22, 2020 · 2 comments
Open

Change shairport-sync name #6

dcrypt3d opened this issue May 22, 2020 · 2 comments

Comments

@dcrypt3d
Copy link

How can we change the shairport-sync name?

@dcrypt3d
Copy link
Author

to be more specific, the container always starts with:
sh -c cd '/usr/bin/' && /usr/bin/shairport-sync --name="Snapcast" --output=stdout --metadata-pipename /tmp/shairmeta.19 --port=5000

I can't seem to track down where this is originating from. I want to launch shairport-sync with a different name or use docker container environment variable.

@dcrypt3d
Copy link
Author

resolved this by editing supervisord.conf to include devicename for the airplay source command:

command=snapserver -s "spotify:///usr/local/bin/librespot?name=Spotify&devicename=%(ENV_SPOTIFY_NAME)s&bitrate=%(ENV_SPOTIFY_BITRATE)s" -s "airplay:///usr/bin/shairport-sync?name=Airplay&devicename=%(ENV_SPOTIFY_NAME)s"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant