Wigster wrote: 
> Even after killing LMS, the PCP remains in some kind of death loop.

The order is basically LMS sends data to player until threshhold is
reach and then once threshold is reached player tell LMS that Track has
started playing.   Normal status response from player to LMS is a
"STMt".  The "STMs" is the status response to say a track has started
playing.

Highlighted snippets from LMS and PCP log.  It look like PCP gets into a
loop after trying play audio.  Could DAC buffer settings be bad ?

Code:
--------------------
    
  17-02-04 17:09:12.1924] Slim::Networking::Slimproto::_stat_handler (785) 
60:e3:27:10:4b:db: STAT-STMt: fullness=0, output_fullness=-1, elapsed=0.000
  [17-02-04 17:09:12.1928] Slim::Networking::Slimproto::_stat_handler (812) 
60:e3:27:10:4b:db Squeezebox stream status:
        event_code:      STMt
        bytes_rec_H      0
        bytes_rec_L      0
        fullness:        0 (0%)
        bufferSize      2097152
        fullness         0
        bytes_received   0
        signal_strength: 65535
        jiffies:         509806
        voltage:         0
  [17-02-04 17:09:12.1932] Slim::Networking::Slimproto::_stat_handler (824) 
        output size:     3528000
        output fullness: 0
        elapsed seconds: 0
  [17-02-04 17:09:12.1936] Slim::Networking::Slimproto::_stat_handler (836) 
        elapsed milliseconds: 0
        server timestamp:     0
  [17-02-04 17:09:12.4774] Slim::Networking::Slimproto::client_readable (394) 
Slimproto frame: STAT, len: 53
  [17-02-04 17:09:12.4779] Slim::Networking::Slimproto::_stat_handler (785) 
60:e3:27:10:4b:db: STAT-STMs: fullness=387042, output_fullness=49152, 
elapsed=0.000
  [17-02-04 17:09:12.4783] Slim::Networking::Slimproto::_stat_handler (812) 
60:e3:27:10:4b:db Squeezebox stream status:
        event_code:      STMs
        bytes_rec_H      0
        bytes_rec_L      389094
        fullness:        387042 (18%)
        bufferSize      2097152
        fullness         387042
        bytes_received   389094
        signal_strength: 65535
        jiffies:         510078
        voltage:         0
  [17-02-04 17:09:12.4787] Slim::Networking::Slimproto::_stat_handler (824) 
        output size:     3528000
        output fullness: 49152
        elapsed seconds: 0
  [17-02-04 17:09:12.4793] Slim::Networking::Slimproto::_stat_handler (836) 
        elapsed milliseconds: 0
        server timestamp:     0
  [17-02-04 17:09:12.7772] Slim::Networking::Slimproto::client_readable (394) 
Slimproto frame: STAT, len: 53
  [17-02-04 17:09:12.7777] Slim::Networking::Slimproto::_stat_handler (785) 
60:e3:27:10:4b:db: STAT-STMt: fullness=387042, output_fullness=49152, 
elapsed=0.000
  [17-02-04 17:09:12.7781] Slim::Networking::Slimproto::_stat_handler (812) 
60:e3:27:10:4b:db Squeezebox stream status:
        event_code:      STMt
        bytes_rec_H      0
        bytes_rec_L      389094
        fullness:        387042 (18%)
        bufferSize      2097152
        fullness         387042
        bytes_received   389094
        signal_strength: 65535
        jiffies:         510078
        voltage:         0
  [17-02-04 17:09:12.7785] Slim::Networking::Slimproto::_stat_handler (824) 
        output size:     3528000
        output fullness: 49152
        elapsed seconds: 0
  [17-02-04 17:09:12.7789] Slim::Networking::Slimproto::_stat_handler (836) 
        elapsed milliseconds: 0
        server timestamp:     0
  [17-02-04 17:09:17.0103] Slim::Networking::Slimproto::check_all_clients (213) 
Checking if 60:e3:27:10:4b:db is still alive
  [17-02-04 17:09:17.0108] Slim::Player::Squeezebox::stream (1030) strm-t
  [17-02-04 17:09:17.0112] Slim::Player::Squeezebox::stream (1075) sending strm 
frame of length: 24
  [17-02-04 17:09:17.0116] Slim::Player::Squeezebox::sendFrame (1118) sending 
squeezebox frame: strm, length: 24
  [17-02-04 17:09:17.0122] Slim::Networking::Slimproto::check_all_clients (213) 
Checking if 00:00:00:00:00:00 is still alive
  [17-02-04 17:09:17.0127] Slim::Player::Squeezebox::stream (1030) strm-t
  [17-02-04 17:09:17.0132] Slim::Player::Squeezebox::stream (1075) sending strm 
frame of length: 24
  [17-02-04 17:09:17.0137] Slim::Player::Squeezebox::sendFrame (1118) sending 
squeezebox frame: strm, length: 24
  [17-02-04 17:09:17.0145] Slim::Networking::Slimproto::check_all_clients (213) 
Checking if bb:bb:61:c3:c6:fc is still alive
  [17-02-04 17:09:17.0150] Slim::Player::Squeezebox::stream (1030) strm-t
  [17-02-04 17:09:17.0154] Slim::Player::Squeezebox::stream (1075) sending strm 
frame of length: 24
  [17-02-04 17:09:17.0158] Slim::Player::Squeezebox::sendFrame (1118) sending 
squeezebox frame: strm, length: 24
  [17-02-04 17:09:17.0167] Slim::Networking::Slimproto::client_readable (394) 
Slimproto frame: STAT, len: 53
  [17-02-04 17:09:17.0172] Slim::Networking::Slimproto::_stat_handler (785) 
bb:bb:61:c3:c6:fc: STAT-STMt: fullness=0, output_fullness=10, elapsed=0.000
  [17-02-04 17:09:17.0176] Slim::Networking::Slimproto::_stat_handler (812) 
bb:bb:61:c3:c6:fc Squeezebox stream status:
  
  .
  . [colour=red] Note no STMt from 60:e3:27:10:4b:db but message from other 
players[/color]
  .
  
  [17-02-04 17:09:32.0152] Slim::Networking::Slimproto::check_all_clients (213) 
Checking if 60:e3:27:10:4b:db is still alive
  [17-02-04 17:09:32.0156] Slim::Networking::Slimproto::check_all_clients (223) 
Haven't heard from 60:e3:27:10:4b:db in 19 seconds, closing connection
  [17-02-04 17:09:32.0160] Slim::Networking::Slimproto::slimproto_close (247) 
connection closed
  [17-02-04 17:09:32.0166] Slim::Networking::Slimproto::slimproto_close (284) 
setting timer to forget client in 300 secs
  [17-02-04 17:09:32.0171] Slim::Networking::Slimproto::check_all_clients (213) 
Checking if 00:00:00:00:00:00 is still alive
  [17-02-04 17:09:32.0175] Slim::Player::Squeezebox::stream (1030) strm-t
  
--------------------


PCP log 

Code:
--------------------
    
  [17:09:12.469264] sendSTAT:184 STAT: STMs
  [17:09:12.469473] sendSTAT:184 STAT: STMt
  [17:09:12.475590] output_thread:621 open output device: 
hw:CARD=sndrpihifiberry
  [17:09:12.476670] alsa_open:338 opening device at: 48000
  [17:09:12.478476] alsa_open:389 opened device hw:CARD=sndrpihifiberry using 
format: S32_LE sample rate: 48000 mmap: 1
  [17:09:12.478603] alsa_open:468 buffer: 40 period: 4 -> buffer size: 1920 
period size: 480
  [17:09:13.475377] sendSTAT:184 STAT: STMt
  [17:09:14.483799] sendSTAT:184 STAT: STMt
  [17:09:16.524636] sendSTAT:184 STAT: STMt
  [17:09:17.180936] sendSTAT:184 STAT: STMt
  [17:09:17.181108] process:521 strm
  [17:09:17.181137] process_strm:269 strm command t
  [17:09:17.181160] sendSTAT:184 STAT: STMt
  [17:09:18.182280] sendSTAT:184 STAT: STMt
  [17:09:19.183473] sendSTAT:184 STAT: STMt
  .
  .
  .
  [17:09:52.295287] sendSTAT:184 STAT: STMt
  [17:09:53.296373] slimproto_run:600 No messages from server - connection dead
  [17:09:58.397107] slimproto:942 unable to connect to server 0
  [17:10:08.400535] slimproto:942 unable to connect to server 1
  [17:10:16.400970] slimproto:942 unable to connect to server 2
  [17:10:26.406557] slimproto:942 unable to connect to server 3
  [17:10:35.400904] slimproto:942 unable to connect to server 4
  [17:10:45.406365] slimproto:942 unable to connect to server 5
  [17:10:50.406566] discover_server:818 sending discovery
  [17:10:55.411885] discover_server:818 sending discovery
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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

Reply via email to