antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.36k stars 186 forks source link

Enhancement request - make UxPlay airplay name match hostname or be configurable #4

Closed rcampbel3 closed 4 years ago

rcampbel3 commented 4 years ago

I'm eager to install UxPlay on all the Linux systems at home. Right now, the airplay name shows up as 'UxPlay'. I'd like to have multiple computers running UxPlay and have a way to set the name that shows up (other than editing the source and recompiling :) - I believe that simply adopting the hostname for the UxPlay name would be a good solution.

jedahan commented 4 years ago

I think you can do it with -n

▲ src/UxPlay/build ./uxplay -h                                                                                                                                      master 14d ⬡ 0
RPiPlay 1.2: An open-source AirPlay mirroring server for Raspberry Pi
Usage: ./uxplay [-b (on|auto|off)] [-n name] [-a (hdmi|analog|off)]
Options:
-n name               Specify the network name of the AirPlay server
-b (on|auto|off)      Show black background always, only during active connection, or never
-a (hdmi|analog|off)  Set audio output device
-l                    Enable low-latency mode (disables render clock)
-d                    Enable debug logging
-v/-h                 Displays this help and version information
antimof commented 4 years ago

Yes. Set the name with the "n" flag.