Cov txheej txheem:

Apple AirPlay Server ntawm Koj Raspberry Pi: 7 Cov Kauj Ruam
Apple AirPlay Server ntawm Koj Raspberry Pi: 7 Cov Kauj Ruam

Video: Apple AirPlay Server ntawm Koj Raspberry Pi: 7 Cov Kauj Ruam

Video: Apple AirPlay Server ntawm Koj Raspberry Pi: 7 Cov Kauj Ruam
Video: CS50 2013 - Week 10, continued 2024, Kaum ib hlis
Anonim
Apple AirPlay Server ntawm Koj Raspberry Pi
Apple AirPlay Server ntawm Koj Raspberry Pi

AirPlay cia koj faib cov nkauj los ntawm Apple cov cuab yeej rau koj nyiam tham. Koj tuaj yeem teeb tsa koj tus kheej AirPlay Server ntawm koj li Raspberry Pi thiab txuas nws rau koj cov lus nyiam

Kauj Ruam 1: Cov Khoom Siv

Rau koj li AirPlay Server koj xav tau cov cuab yeej hauv qab no:

  • Raspberry Pi
  • Micro SD Card nrog Raspbian
  • Ethernet Cable lossis WiFi Dongle (Pi 3 muaj WiFi inbuilt)
  • Hwj chim Adapter

Pom zoo:

  • Hais lus
  • Raspberry Pi Cov
  • Raspberry Pi Heatsink

Kauj Ruam 2: Kev tsim kho

  1. Txuas cov neeg hais lus rau 3.5mm audio jack (Kuv tus kheej pom zoo cov hais lus no, vim tias lawv tsis xav tau ntau qhov chaw thiab muaj lub suab zoo nkauj zoo nkauj)
  2. Teeb tsa Raspberry Pi Yuav ua li cas teeb tsa Raspberry Pi?

Kauj Ruam 3: Txheeb xyuas qhov hloov tshiab

Ntaus hauv qhov lus txib no txhawm rau txheeb xyuas qhov hloov tshiab:

sudo apt-tau hloov tshiab

Kauj Ruam 4: Txhim Kho Txhua Yam Pob Khoom Tsim Nyog

  1. Nruab qhov dependenciessudo apt-get install autoconf automake avahi-daemon build-essential git libasound2-dev libavahi-client-dev libconfig-dev libdaemon-dev libpopt-dev libssl-dev libtool xmltoman
  2. Clone lub chaw khaws ntaub ntawv shairportgit clone

Kauj ruam 5: Nruab Shairport

  1. Nkag mus rau cloned foldercd shairport-sync
  2. Tsim qhov programautoreconf -i -f

    ./configure --with-alsa --with-avahi --with-ssl = openssl --with-systemd --with-metadata

  3. Sau cov programmakesudo ua nruab

Kauj Ruam 6: Pab kom Shairport Pib ntawm Boot

  1. Sau npe cov servicesudo systemctl pab kom shairport-sync
  2. Pib cov kev pabcuam pabcuam pabcuam shairport-sync pib (Txij tam sim no ntawm qhov kev pabcuam yuav pib pib ntawm khau raj)

Kauj Ruam 7: Kho Koj Li AirPlay Server

Customize Koj AirPlay Server
Customize Koj AirPlay Server

Koj tuaj yeem hloov lub npe ntawm koj li AirPlay Server los ntawm kev kho cov ntaub ntawv 'shairport-sync.conf' hauv '/usr/local/etc'

sudo nano /usr/local/etc/shairport-sync.conf

  1. Rho tawm ob qhov slashes (//) ua ntej ntawm lub npe sib txawv (qhov twg lub npe = "%H")
  2. Hloov "%H" rau lub npe uas koj xaiv (piv txwv li "Chav Nyob")

Koj tseem tuaj yeem teeb tus password rau koj li AirPlay server thiab ntau lwm txoj hauv kev hauv 'shairport-sync.conf'

Qhov ntawd yog nws! Tam sim no koj tuaj yeem txuas koj lub iPhone lossis iPad rau koj li AirPlay Server tshiab. Muaj kev lom zem nrog nws

Yog koj muaj lus nug, tsis txhob yig tau hu rau kuv.

Pom zoo: