albertz/shairport — Issue #122: Use of uninitialized value $portdesc in pattern match (m//) at shairport.pl line 675. 
Author: splashx
Created: 2011-10-26 20:24:11+00:00
State: open

After setting it up on Windows following the steps from the Install file (I've got it running on Ubuntu but I must also set it up on Windows) I manage to put the service up:

$ perl shairport.pl
Can't exec "avahi-publish-service": No such file or directory at shairport.pl line 274.
Registering Service D4AAF2478B71@ShairPort 3232 on HTPC._raop._tcp port 5002 TXT tp=UDP sm=false sv=false ek=1 et=0,1 cn=0,1 ch=2 ss=16 sr=44100 pw=false vn=3 txtvers=1
22:12:12.465 Got a reply for service D4AAF2478B71@ShairPort 3232 on HTPC._raop._tcp.local.: Name now registered and active

I can see the speaker on my phone (iPhone), however, when I push the music to the computer I get the following error in the bash:

Use of uninitialized value $portdesc in pattern match (m//) at shairport.pl line 675.
Use of uninitialized value $portdesc in concatenation (.) or string at shairport.pl line 675.
Expected port number from decoder; got at shairport.pl line 675.

I'm not sure which port number it is expecting since the port number is already set up in the header.
Any clues?