Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 43
  1. #21
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,170
    I would call that severely overloaded for a zero. Shairport sync can definitely cause squeeze lite to crash, as only one player can have the audio output open at a time.

    I would disable shairport for a while and see if that helps. There is a LMS plugin for shairport that integrates much better.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #22
    Senior Member
    Join Date
    May 2017
    Posts
    580
    Mine is still playing. I have no extras installed except equilizer.
    Which SSH commands (Unix noob) do a have to give when problem arises?
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  3. #23
    Senior Member
    Join Date
    May 2017
    Posts
    580
    Yes, it's gone. Im still able to ssh into it.

    Code:
    tc@Edwin-Kantoor:~$ ps -A | grep squeeze
     2302 root      1d00 /usr/local/bin/squeezelite -n Edwin Kantoor -o equal -a 80 4  1
    13133 tc        0:00 grep squeeze
    Sneeked from previous post

    dmesg (only end part)
    Code:
    [   13.077857] snd-rpi-simple soc:sound: pcm5102a-hifi <-> 20203000.i2s mapping ok
    [   13.497862] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   13.621937] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   13.742841] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
    [   13.751198] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
    [   13.751505] usbcore: registered new interface driver brcmfmac
    [   14.044575] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
    [   14.044722] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    [   14.045675] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
    [   17.661916] brcmfmac: power management disabled
    [   19.017847] random: wpa_supplicant: uninitialized urandom read (32 bytes read)
    [   29.085967] random: sshd: uninitialized urandom read (32 bytes read)
    [   29.381811] random: squeezelite: uninitialized urandom read (32 bytes read)
    [   29.572249] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting sample rate support to 192kHz MAX
    [   29.658036] pcm5102a-codec pcm5102a-codec: pcm5102a_dai_startup: Limiting sample rate support to 192kHz MAX
    [   30.566707] Finished piCorePlayer v5.0.1 startup.
    [  132.882528] random: crng init done
    Not sure what else to do.

    Also tried a restart
    Code:
    tc@Edwin-Kantoor:~$ sudo /usr/local/etc/init.d/squeezelite restart
    Restarting Squeezelite player...
    Stopping Squeezelite player: Squeezelite...
    Starting Squeezelite player: Squeezelite...
    After restart main page says "Squeezelite is not running"

    But via ssh
    Code:
    tc@Edwin-Kantoor:~$ ps -A | grep squeeze
     2302 root      1d00 /usr/local/bin/squeezelite -n Edwin Kantoor -o equal -a 80 4  1
    14363 tc        0:00 grep squeeze
    Last edited by edwin2006; 2019-08-02 at 08:14. Reason: added restart
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  4. #24
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,170
    Looks like squeezelite is hanging hard. If you notice from your second ps command, the time still says 1d00. I wonder if it ever stopped during the restart.

    So next time, we might need to do it all by hand.

    sudo killall -9 squeezelite

    then make sure it has really stopped. Then relaunch squeezelite from command line to see if the is an error.

    sudo /usr/local/bin/squeezelite -n "Edwin Kantoor" -o equal -a 80:4::1 -d all=info


    You can let it run from command line......just keep the ssh session open. And running it this way, it will show as not running in the web interface, but that is fine.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #25
    Senior Member
    Join Date
    May 2017
    Posts
    580
    I haven't restarted the pi so I'll try the hard stop command answers see what happens. Anything I should save if I have to restart the pi?
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  6. #26
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,170
    Just if there are errors shown when you try to restart squeeze lite. Just paste it here
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  7. #27
    Senior Member
    Join Date
    May 2017
    Posts
    580
    now it is working agaian
    Code:
    tc@Edwin-Kantoor:~$ sudo killall -9 squeezelite
    tc@Edwin-Kantoor:~$ sudo /usr/local/bin/squeezelite -n "Edwin Kantoor" -o equal
    -a 80:4::1 -d all=info
    [08:19:11.069543] stream_init:370 init stream
    [08:19:11.083236] output_init_alsa:939 init output
    [08:19:11.084761] output_init_alsa:979 requested alsa_buffer: 80 alsa_period: 4 format: any mmap: 1
    [08:19:11.152931] output_init_common:422 supported rates: 768000 705600 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
    [08:19:11.171291] output_init_alsa:1005 memory locked
    [08:19:11.172788] output_init_alsa:1011 glibc detected using mallopt
    [08:19:11.175894] output_thread:687 open output device: equal
    [08:19:11.176057] alsa_open:351 opening device at: 44100
    [08:19:11.188039] alsa_open:422 opened device equal using format: S32_LE sample rate: 44100 mmap: 1
    [08:19:11.194543] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 period size: 882
    [08:19:11.208980] decode_init:153 init decode
    [08:19:11.212412] load_ff:641 dlerror: libavcodec.so.57: cannot open shared object file: No such file or directory
    [08:19:11.213023] load_ff:641 dlerror: libavcodec.so.57: cannot open shared object file: No such file or directory
    [08:19:11.215594] load_faad:611 loaded libfaad.so.2
    [08:19:11.215708] register_faad:641 using faad to decode aac
    [08:19:11.220516] load_vorbis:305 loaded libvorbisfile.so.3
    [08:19:11.221898] register_vorbis:334 using vorbis to decode ogg
    [08:19:11.227135] load_flac:266 loaded libFLAC.so.8
    [08:19:11.230666] register_flac:294 using flac to decode flc
    [08:19:11.232458] register_pcm:433 using pcm to decode aif,pcm
    [08:19:11.236675] load_mad:385 loaded libmad.so.0
    [08:19:11.238104] register_mad:414 using mad to decode mp3
    [08:19:11.241673] discover_server:788 sending discovery
    [08:19:11.245762] discover_server:799 got response from: 192.168.140.19:3483
    [08:19:11.247276] slimproto:887 connecting to 192.168.140.19:3483
    [08:19:11.253424] slimproto:926 connected
    [08:19:11.254894] sendHELO:142 mac: b8:27:eb:a2:cc:d3
    [08:19:11.256101] sendHELO:144 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.2-1158-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,aac,ogg,flc,aif,pcm,mp3
    [08:19:11.287152] decode_flush:229 decode flush
    [08:19:11.290881] output_flush:435 flush output buffer
    [08:19:11.292305] decode_flush:229 decode flush
    [08:19:11.293214] output_flush:435 flush output buffer
    and when i started a stream i got

    Code:
    [08:19:56.558605] decode_flush:229 decode flush
    [08:19:56.558742] output_flush:435 flush output buffer
    [08:19:57.238282] codec_open:257 codec open: 'm'
    [08:19:57.238508] stream_sock:486 connecting to 91.221.150.18:80
    [08:19:57.259220] stream_sock:563 header: GET /waterstadfm HTTP/1.0
    Cache-Control: no-cache
    Connection: close
    Accept: */*
    Host: stream.waterstadfm.nl
    User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv7l-linux; NL; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.1/1505480690
    Cookie: AISSessionId=5d436f0e48f7101c_112760_lKPhnhms__00000001jVp
    Cookie2: $Version="1"
    Icy-Metadata: 1
    
    
    [08:19:57.612067] stream_thread:247 headers: len: 663
    HTTP/1.0 200 OK
    icy-br: 192
    icy-pub: 1
    icy-description: Radio vanuit het hart van Friesland
    icy-audio-info: ice-samplerate=44100;ice-bitrate=192;ice-channels=2
    icy-url: http://www.waterstadfm.nl
    Instance-id: 26ebeae8a651ff5d84e39c78127a98b4
    Cache-Control: no-cache
    Server: AIS Streaming Server Galio Edge01 8.2.5
    icy-genre: Pop 80s 70s Hits
    Expires: Mon, 26 Jul 1997 05:00:00 GMT
    icy-metaint: 16000
    Pragma: no-cache
    icy-name: Waterstad FM
    Connection: close
    Content-Type: audio/mpeg
    Set-Cookie: AISSessionId=5d436f0e48f7101c_112760_lKPhnhms__00000001jVp; Path=/; Domain=stream.waterstadfm.nl; Max-Age=6000; Expires=Sat, 03 Aug 2019 07:59:52 GMT
    
    
    [08:20:03.606149] mad_decode:244 setting track_start
    [08:20:03.606295] _checkfade:284 fade mode: 1 duration: 7 track-start
    [08:20:03.606355] _checkfade:335 resize outputbuf for crossfade
    [08:20:03.647821] _output_frames:64 start buffer frames: 28271
    and it played again and you're right. PcP still shows "Squeezelite is not running"
    Hopefully this helps to track the issue. Thanks!
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  8. #28
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,170
    That is all normal output........probably need to leave that running with the ssh open see if there is something logged when it stops.

    You can also turn on logging from the web interface, and reboot.....then check the logging when it stops.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  9. #29
    Senior Member
    Join Date
    May 2017
    Posts
    580
    Computer is going into hybernate which will break SSH session. How to enable/disable logging? And how to purge logfiles when they have served their purpose?

    Just discovered that the player is gone again. Did the same commands but now i got "no process killed" After SSH commands player is working agian.

    Code:
    tc@Edwin-Kantoor:~$ sudo killall -9 squeezelite
    killall: squeezelite: no process killed
    tc@Edwin-Kantoor:~$ sudo /usr/local/bin/squeezelite -n "Edwin Kantoor" -o equal
    -a 80:4::1 -d all=info
    [14:58:56.614530] stream_init:370 init stream
    [14:58:56.628825] output_init_alsa:939 init output
    [14:58:56.630278] output_init_alsa:979 requested alsa_buffer: 80 alsa_period: 4 format: any mmap: 1
    [14:58:56.697777] output_init_common:422 supported rates: 768000 705600 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000
    [14:58:56.716313] output_init_alsa:1005 memory locked
    [14:58:56.717805] output_init_alsa:1011 glibc detected using mallopt
    [14:58:56.719786] output_thread:687 open output device: equal
    [14:58:56.719948] alsa_open:351 opening device at: 44100
    [14:58:56.732427] alsa_open:422 opened device equal using format: S32_LE sample rate: 44100 mmap: 1
    [14:58:56.739030] alsa_open:513 buffer: 80 period: 4 -> buffer size: 3528 period size: 882
    [14:58:56.753872] decode_init:153 init decode
    [14:58:56.757431] load_ff:641 dlerror: libavcodec.so.57: cannot open shared object file: No such file or directory
    [14:58:56.758040] load_ff:641 dlerror: libavcodec.so.57: cannot open shared object file: No such file or directory
    [14:58:56.760462] load_faad:611 loaded libfaad.so.2
    [14:58:56.760575] register_faad:641 using faad to decode aac
    [14:58:56.765445] load_vorbis:305 loaded libvorbisfile.so.3
    [14:58:56.766855] register_vorbis:334 using vorbis to decode ogg
    [14:58:56.771972] load_flac:266 loaded libFLAC.so.8
    [14:58:56.775574] register_flac:294 using flac to decode flc
    [14:58:56.777410] register_pcm:433 using pcm to decode aif,pcm
    [14:58:56.781562] load_mad:385 loaded libmad.so.0
    [14:58:56.782993] register_mad:414 using mad to decode mp3
    [14:58:56.786650] discover_server:788 sending discovery
    [14:58:56.790982] discover_server:799 got response from: 192.168.140.19:3483
    [14:58:56.794739] slimproto:887 connecting to 192.168.140.19:3483
    [14:58:56.799045] slimproto:926 connected
    [14:58:56.800425] sendHELO:142 mac: b8:27:eb:a2:cc:d3
    [14:58:56.801621] sendHELO:144 cap: CanHTTPS=1,Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.9.2-1158-pCP,ModelName=SqueezeLite,MaxSampleRate=768000,aac,ogg,flc,aif,pcm,mp3
    [14:58:56.835637] decode_flush:229 decode flush
    [14:58:56.836965] output_flush:435 flush output buffer
    [14:58:56.837344] decode_flush:229 decode flush
    [14:58:56.838243] output_flush:435 flush output buffer
    Last edited by edwin2006; 2019-08-03 at 06:00. Reason: gone again
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  10. #30
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,170
    Logging is on the squeezelite page. Logs are only retained until a reboot.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •