FD- / RPiPlay

An open-source AirPlay mirroring server for the Raspberry Pi. Supports iOS 9 and up.
GNU General Public License v3.0
4.91k stars 355 forks source link

Fix: Cannot run rpiplay on multiple computers of the same network #230

Closed Sergi030 closed 3 years ago

Sergi030 commented 3 years ago

Adding optional argument to pass the name of network interface, now the rpiplay checks gets the mac address of the past interface, this solves the bug that multiple instances of rpiplay cannot be launch on the same network address

Sergi030 commented 3 years ago

Solves: https://github.com/FD-/RPiPlay/issues/229

I tested with only one PC using: ./rpiplay -i enp4s0 -n meh ./rpiplay -n pop

On my iPad I was able to change from one server to the other

Sergi030 commented 3 years ago

This pr can break the method that I tested this

Sergi030 commented 3 years ago

I make the PR using an specific branch instead of using the master of my repo https://github.com/FD-/RPiPlay/pull/244