hfujita / pulseaudio-raop2

Experimental RAOP2 (Apple AirPlay2) support for PulseAudio
http://hfujita.github.io/pulseaudio-raop2/
Other
137 stars 19 forks source link

[Feature Request] GUI for entering the AirPlay password #71

Open Redsandro opened 5 years ago

Redsandro commented 5 years ago

Where do I enter the AirPlay password?

I can see the AirPlay devices, but I can't play anything. On an Apple computer, I need to enter the AirPlay password when connecting. Ubuntu doesn't ask me for a password. Can I specify the password somewhere?

hfujita commented 5 years ago

Unfortunately the password support is not available through GUI as far as I know. You'd have to manually load the raop-sink module by pacmd load-module command. Parameters are also not documented well, but here you can see the list of available parameters. https://gitlab.freedesktop.org/pulseaudio/pulseaudio/blob/master/src/modules/raop/module-raop-sink.c#L35

Redsandro commented 5 years ago

Ok gotcha. I've edited the title to change this issue to a feature request.

Unfortunately I don't know how to use these commands, as the AirPlay capable endpoints show up in the GUI simply after installing apt install pulseaudio-module-raop. Would you be willing to show what command one would type to unload the module (automatically loaded on startup), and then what to type to reload the module with a specific password?

This is wrong:

pacmd load-module module-raop-sink --username=foo --password=bar

The folks that come here from Google will be thankful, as will I. :sunglasses:

Redsandro commented 5 years ago

Looking for something like:

pacmd update-sink-proplist 1 password=******

Did anyone get this working?

hfujita commented 5 years ago

You have to specify all the necessary options, e.g.

pacmd load-module module-raop-sink --name=X --sink_name=Y --server=Z ... --username=foo --password=bar

I don't think the following would work, as the raop-sink module receives modules parameter at the initialization time and never check it again.

pacmd update-sink-proplist 1 password=******
giggywithit commented 4 years ago

I would think that if you do manage to get it working, that you can create a custom command on your desktop for connecting.? Sounds slightly painful way of doing it.