This crate creates a fake AirPlay service, which will be discoverable by apple devices on the network.
โ To use fake-airplay make sure you have the avahi daemon running โ
To start the avahi daemon on Ubuntu, you can install the avahi-daemon
package using the following command:
sudo apt-get install avahi-daemon
Once installed, you can start the daemon by running:
sudo systemctl start avahi-daemon.service
After starting the avahi daemon, you can run fake-airplay by installing it using cargo:
cargo install fake-airplay
Once installed, you can run the fake-airplay command with the following syntax:
fake-airplay -a <NAME> -d <DEVICE_TYPE>
Replace <NAME>
with the name you want the fake device to show and replace <DEVICE_TYPE>
with the devicetype you want to show.
To start the avahi daemon install the nss-mdns
using
sudo pacman -S nns-mdns
and run:
systemctl start avahi-daemon.service
After starting the avahi daemon, you can install fake-airplay by running:
cargo install fake-airplay
Once installed, you can run the fake-airplay command with the following syntax:
fake-airplay <NAME> [<DEVICE_TYPE>]
Replace <NAME>
with the name you want the fake device to show and replace <DEVICE_TYPE>
with the devicetype you want to show.