AirPlay v1
https://github.com/albertz/shairport
download
git clone git://github.com/albertz/shairport.git
build
php locale 설정
추가
~/.profile
또는
/etc /profile
LC_ALL=C;export LC_ALL # victor added 12.28
LANG=ko_KR.EUC-KR # victor added for perl
이제 perl 을 실행 시켜도 에러가 안난다.
apt-get update
apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-
dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config
make
make install ; /usr/local/bin 에 실행 파일만 복사된다.
install -D -m 0755 hairtunes /usr/local/bin/hairtunes
install -D -m 0755 shairport.pl /usr/local/bin/shairport.pl
install -D -m 0755 shairport /usr/local/bin/shairport
perl shairport.pl ; 동작 여부 테스트
실제는 소스 디렉토리에 있는 shairport.init.sample 을 기반으로 복사해서 사용한다.
결과적으로 /usr/local/bin 에
위의 3개 파일과! shairport.init 파일 까지 포함해서 4개가 있으면 된다.
etc/rc.local file에 다음 행 추가
usr/local/bin/shairport.init
Options
Options:
-a, --apname=AirPort Sets AirPort name
-p, --password=secret Sets password
-o, --server_port=5002 Sets Port for Avahi/dns-sd
-i, --pipe=pipepath Sets the path to a named pipe for output
--ao_driver=driver Sets the ao driver (optional)
--ao_devicename=devicename Sets the ao device name (optional)
--ao_deviceid=id ! ; &! #160;Set s the ao device id (optional)
-s --squeezebox Enables local Squeezebox Server integration
-c --cliport=port Sets the SBS CLI port
-m --mac=address Sets the SB target device
-l --volume=level Sets the SB volume level (in %)
--play_prog=cmdline Program to start on 1st connection
--stop_prog=cmdline Program to start on last disconnection
-d ! Daemon mode
-w --writepid=path Write PID to this location
-v --verbose Print debugging messages
-h, --help This help
최종결론
shairport.init 에 아래와 같이 추가
DAEMON_ARGS="-w $PIDFILE -a Alix --ao_devicename=plughw:0,0"
hw:0,0 이 동작하지 않으므로, plughw:0,0 으로 교체
etc/asound.conf 내용은 모두 comment 처리
usr/share/alsa/alsa.conf ; origianl 상태 유지
현재 버전
alsa.c! onf - default 상태
shairport.init - 수정 상태
shairp! ort.init restart 할 것
화요일, 4월 21, 2015
피드 구독하기:
댓글 (Atom)
마크 레빈슨(Mark Levinson)
마크 레빈슨(Mark Levinson) 회사 이력 마크 레빈슨은 1972년 미국에서 설립된 하이엔드 오디오 브랜드로, 창립자 마크 레빈슨이 직접 자신의 이름을 내걸고 시작했습니다. 초기에는 프리앰프와 파워앰프 등 고성능 오디오 컴포넌트로 명성을 ...

-
칸느 영화제 (Cannes Film Featival) 해마다 5월에 2주간 프랑스 남해안 리비에라의 휴양지 칸느 에서 개최되는 칸느 영화제는, 유럽 3대 영화제인 칸느, 베를린, 베니스 중에서도 최고권위의 영화제로 인정을 받고 있다. 원래 ...
-
스피커의 종류와 작동원리 수 년 동안 전기적 신호에 답하여 공기를 움직이도록 하기 위한 많은 메커니즘들이 시도되었습니다. 소리를 만드는데 있어 상업적으로 이용 가능한 - 그리고 실용적으로도 - 제품에 사용할 수 있는 방법은 3가지입니다. 다이내...
-
미국 Stereophile이 40주년을 기념하여 2002년 11월호에 게재한 명기 100선입니다. 순서는 역순(1위가 제일 끝에 있음) 이며, 동점(tie)이 있는 경우 등수를 건너 뛰는 방식 입니다. 구매의 절대적인 기준은 될 수 없으나,...
댓글 없음:
댓글 쓰기