StuartUSA wrote: 
> Check that shairport_helper is in your path, and the path of the LMS
> user. If it is then try turning on debug logging for the ShairTunes
> plugin (Settings:Advance:Logging) and save the setting to survive a
> restart. Then stop the LMS service, restart avahi-daemon, then start
> LMS. 
> 
> What do the logs show?

This is what the */var/log/squeezeboxserver/server.log* file contains
from starting LMS to after the start of AirPlay streaming from my iPad:


Code:
--------------------
    2014-01-25 15:42:07 squeezeboxserver_safe started.
  [14-01-25 15:42:10.9911] main::init (354) Starting Logitech Media Server 
(v7.7.3, 1375965195, Mon Aug 12 03:09:39 PDT 2013) perl 5.014002
  [14-01-25 15:42:17.0811] Plugins::ShairTunes::Plugin::initPlugin (45) 
Initialising 0.23.3
  [14-01-25 15:42:27.9192] 
Plugins::ShairTunes::Plugin::playerSubscriptionChange (65) request=client new 
client=Bedroom
  [14-01-25 15:42:28.0019] 
Plugins::ShairTunes::Plugin::playerSubscriptionChange (65) request=client new 
client=Lounge
  [14-01-25 15:42:28.1465] 
Plugins::ShairTunes::Plugin::playerSubscriptionChange (65) request=client new 
client=Guest
  [14-01-25 15:42:28.2265] 
Plugins::ShairTunes::Plugin::playerSubscriptionChange (65) request=client new 
client=Kitchen
  [14-01-25 15:42:28.3599] 
Plugins::ShairTunes::Plugin::playerSubscriptionChange (65) request=client new 
client=Office
  [14-01-25 15:43:06.3352] Plugins::ShairTunes::Plugin::handleSocketConnect 
(155) New connection from::ffff:192.168.0.25
  [14-01-25 15:43:06.3405] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.3431] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: OPTIONS
  [14-01-25 15:43:06.3621] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Apple-Response: 
vtebsSXc0jW6BAtuM4LZ98TpXlvEQVGVwSSDf8t89Eo0D2vVQGMs0DLQXJcIgA6zG2lbQ1EKHkrDvfInkEmvsDid/CGUIqqjUSBH+nc706KGaMiwxBCBSFQOlpmcGCWR6nlR+mmMJdPFtp2HAz3iBF5UY+IZ9II2+dHc32JFgb/WfbBLF1MlLuiCI0AeqoCDHxmfMsHASRG/vYFmySEm/XLBi8FXHMWL5UxZ0QTR4HRONcmYcRbiEl2iXRTmmqwgEIuJbzbLVOWQol27+UNrR6pvPyFREEZqNtlogKytJBw5kyijnU1P3sgKn4cLIkNIZ3l4ARipRh+ZkQOl00eZtA
  Audio-Jack-Status: connected; type=analog
  CSeq: 0
  Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, 
GET_PARAMETER, SET_PARAMETER
  
  [14-01-25 15:43:06.3838] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.3871] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: ANNOUNCE
  [14-01-25 15:43:06.3885] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.4050] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 1
  
  [14-01-25 15:43:06.4097] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.4120] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: SETUP
  [14-01-25 15:43:06.4139] Plugins::ShairTunes::Plugin::conn_handle_request 
(320) decode command: "shairport_helper" tport '55306' iv 
'0bed3b3c3caf4d6e15e7517bdb351aa2' pipe '/tmp/pipe' cport '61755' fmtp '96 352 
0 16 40 10 14 2 255 0 0 44100' dport '55306' key 
'f91ba8ff5a1879eb110441fc9b5124d3'
  [14-01-25 15:43:06.4474] Plugins::ShairTunes::Plugin::conn_handle_request 
(340) launched decoder: 5957 on ports: 6000/6001/8000
  [14-01-25 15:43:06.5011] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 2
  Session: DEADBEEF
  Transport: 
RTP/AVP/UDP;unicast;mode=record;timing_port=55306;x-events;control_port=61755;server_port=6000
  
  [14-01-25 15:43:06.5152] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.5173] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: RECORD
  [14-01-25 15:43:06.5193] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 3
  
  [14-01-25 15:43:06.5253] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.5272] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: SET_PARAMETER
  [14-01-25 15:43:06.5288] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.5304] Plugins::ShairTunes::Plugin::conn_handle_request 
(363) SET_PARAMETER req: volume: 0.000000
  [14-01-25 15:43:06.5333] Plugins::ShairTunes::Plugin::conn_handle_request 
(372) sending-> vol: 100
  [14-01-25 15:43:06.5345] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 4
  
  [14-01-25 15:43:06.6558] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:06.6582] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: FLUSH
  [14-01-25 15:43:06.6602] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 5
  
  [14-01-25 15:43:08.6696] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:08.6717] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: OPTIONS
  [14-01-25 15:43:08.6738] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 6
  Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, 
GET_PARAMETER, SET_PARAMETER
  
--------------------


The last few lines then repeat with incrementing CSeq numbers.

Ending the AirPlay streaming from the iPad then results in:


Code:
--------------------
    [14-01-25 15:43:42.8910] Plugins::ShairTunes::Plugin::conn_handle_data 
(186) handle data 1
  [14-01-25 15:43:42.8932] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: OPTIONS
  [14-01-25 15:43:42.8962] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Audio-Jack-Status: connected; type=analog
  CSeq: 24
  Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, 
GET_PARAMETER, SET_PARAMETER
  
  [14-01-25 15:43:43.3855] Plugins::ShairTunes::Plugin::conn_handle_data (186) 
handle data 1
  [14-01-25 15:43:43.3875] Plugins::ShairTunes::Plugin::conn_handle_data (203) 
REQ: TEARDOWN
  [14-01-25 15:43:43.3908] Plugins::ShairTunes::Plugin::conn_handle_request 
(392) RTSP/1.0 200 OK
  Connection: close
  Audio-Jack-Status: connected; type=analog
  CSeq: 25
  
  [14-01-25 15:43:43.3942] Plugins::ShairTunes::Plugin::handleSocketRead (169) 
Closed: IO::Socket::INET6=GLOB(0xae997b0)
  
--------------------


*shairport_helper* is definitely in the path:

Code:
--------------------
    > which shairport_helper
  /usr/local/bin/shairport_helper
--------------------


------------------------------------------------------------------------
thouky's Profile: http://forums.slimdevices.com/member.php?userid=42109
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to