Shairport

Request a package to be made here. Make sure you have searched before requesting.

Shairport

Postby Grenti » Wed Apr 13, 2011 4:22 am

Has anybody been able to compile shairport?

I tried yaourt -AS shairport and wasn't able to install?
Grenti
 
Posts: 8
Joined: Wed Feb 02, 2011 8:00 pm

Re: Shairport

Postby falker » Wed Apr 13, 2011 9:53 am

This one compiles fine:

https://github.com/albertz/shairport

Remove -D from the makefile.

But I can not get any sound working, just getting underrun.

edit:

Tried replacing the bsr opcode with arm clz, still getting underrun, not sure where the issue is.
falker
 
Posts: 24
Joined: Sat Jul 10, 2010 2:45 pm

Re: Shairport

Postby pepedog » Wed Apr 13, 2011 1:51 pm

I compiled some packages
Code: Select all
pacman -U http://myplugbox.com/shairport/perl-socket6-0.23-2-arm.pkg.tar.xz
pacman -U http://myplugbox.com/shairport/perl-io-socket-inet6-2.65-2-arm.pkg.tar.xz
pacman -U http://myplugbox.com/shairport/shairport-0.04-1-arm.pkg.tar.xz

Seems to be working, albeit not as a daemon, now what does it actually do? I got a wkg soundcard on the dockstar.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Shairport

Postby WarheadsSE » Wed Apr 13, 2011 1:54 pm

It acts as a target for AirPlay for iTunes & iOS devices.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Shairport

Postby pepedog » Wed Apr 13, 2011 2:27 pm

I kinda guessed it was this. It appeared once in remote app on iPhone, then was gone, it started iTunes on PC to play.
Saw this
Code: Select all
[root@PBLinux shairport]# shairport
listening...
Established under name '0051E6D19B45@ShairPort 13364 on PBLinux'

new connection from ::ffff:192.168.2.250
REQ: OPTIONS
closed: IO::Socket::INET6=GLOB(0x2fba20)
new connection from ::ffff:192.168.2.250
REQ: OPTIONS
closed: IO::Socket::INET6=GLOB(0x2f7710)

192.168.2.250 has a daap running, but think it's an IP6 red herring.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Shairport

Postby pepedog » Wed Apr 13, 2011 2:55 pm

OK, now I see it
Code: Select all
REQ: RECORD
ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libesd.so => dlopen() failed
REQ: SET_PARAMETER
REQ: SET_PARAMETER
ao_alsa WARNING: sample rate 44100 not supported by the hardware, using 48000

overrun.

underrun.

underrun
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Shairport

Postby pepedog » Thu Apr 14, 2011 9:52 am

I thought this would fix it, it stops choppy usb sound
/etc/asound.conf
Code: Select all
pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw           
        card 0
}

And then reboot
mocp plays without being choppy now, but shairport still has underrun and no sound, is there transcoding going on with shairport?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Shairport

Postby Grenti » Thu Apr 14, 2011 3:57 pm

I am pretty sure there is no transcoding going on, but I'm not positive. I mostly get errors when using it. some kind of segmentation fault then it just stops.
Grenti
 
Posts: 8
Joined: Wed Feb 02, 2011 8:00 pm

Re: Shairport

Postby pepedog » Thu Apr 14, 2011 4:36 pm

Tried the github version, something about ao alsa writing to an address problemnan speaker popping sound.
No seg faults in either version (0.5 and git) but still overruns
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Shairport

Postby pepedog » Fri Apr 15, 2011 3:57 pm

I got this running, but don't know how to package with files off github
Code: Select all
wget --no-check-certificate https://github.com/albertz/shairport/tarball/master
tar xzf master
cd albertz<use your tab key here to fill out the rest>
make
make install

to run you do this
/usr/local/bin/shairport.pl
to daemonize
/usr/local/bin/shairport.pl -d
to stop
killall shairport.pl

underrun's still occasionally happen, but it plays about 50% quicker without raising pitch, quite comical.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to Package Requests

Who is online

Users browsing this forum: No registered users and 0 guests