Skip to content

Instantly share code, notes, and snippets.

@edenzik
Created December 26, 2017 20:26
Show Gist options
  • Save edenzik/40be82f0efb9fb2154ef1cb67c6b76b4 to your computer and use it in GitHub Desktop.
Save edenzik/40be82f0efb9fb2154ef1cb67c6b76b4 to your computer and use it in GitHub Desktop.
ITAMAR = 3
EDEN = 2
LIVING_ROOM = 4
OFFICE = 5
MASTER_BEDROOM = 7
KITCHEN = 6
office:
shairport-sync -p 5000 -a "Office" -S soxr -- -d hw:$(OFFICE) &
itamar-room:
shairport-sync -p 5001 -a "Itamar's Room" -S soxr -- -d hw:$(ITAMAR) &
eden-room:
shairport-sync -p 5002 -a "Eden's Room" -S soxr -- -d hw:$(EDEN) &
living-room:
shairport-sync -p 5003 -a "Living Room" -S soxr -- -d hw:$(LIVING_ROOM) &
master-bedroom:
shairport-sync -p 5004 -a "Master Bedroom" -S soxr -- -d hw:$(MASTER_BEDROOM) &
kitchen:
shairport-sync -p 5005 -a "Kitchen" -S soxr -- -d hw:$(KITCHEN) &
stop:
killall shairport-sync
start: office itamar-room eden-room living-room master-bedroom kitchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment