Hello everyone... I am new to this...

I use Squeezelite on an Raspberry Pi with Raspian Buster. When I start
squeezelite on the shell it works nicely.

When i start it as service i have no audio output.

What do i do the wrong way?

Start from shell:

Code:
--------------------
    
  pi@Test:~ $ squeezelite -f /home/pi/sl.log
  
--------------------



Code:
--------------------
    
  /usr/bin/squeezelite -n Test -C 5 -f /home/pi/ls.log -d all=info 
  [19:12:46.918434] stream_init:290 init stream
  [19:12:46.922355] output_init_alsa:817 init output
  [19:12:46.922567] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 
4 format: any mmap: 1
  [19:12:46.971515] output_init_common:410 supported rates: 384000 352800 
192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 
  [19:12:47.118709] output_init_alsa:862 memory locked
  [19:12:47.119477] decode_init:129 init decode, include codecs:  exclude 
codecs: 
  [19:12:47.119656] register_dsd:624 using dsd to decode dsf,dff
  [19:12:47.119734] register_ff:731 using ffmpeg to decode alc
  [19:12:47.119762] register_ff:715 using ffmpeg to decode wma,wmap,wmal
  [19:12:47.119789] register_faad:640 using faad to decode aac
  [19:12:47.119818] register_vorbis:329 using vorbis to decode ogg
  [19:12:47.119844] register_flac:286 using flac to decode flc
  [19:12:47.119870] register_pcm:384 using pcm to decode aif,pcm
  [19:12:47.119897] register_mad:412 using mad to decode mp3
  [19:12:47.120397] discover_server:756 sending discovery
  [19:12:47.121414] discover_server:767 got response from: 192.168.178.28:3483
  [19:12:47.121502] slimproto:848 connecting to 192.168.178.28:3483
  [19:12:47.122106] slimproto:881 connected
  [19:12:47.122145] sendHELO:124 mac: b8:27:eb:54:17:4d
  [19:12:47.122175] sendHELO:126 cap: 
Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3
  [19:12:47.258682] decode_flush:190 decode flush
  [19:12:47.258752] output_flush:423 flush output buffer
  [19:12:47.259280] decode_flush:190 decode flush
  [19:12:47.259307] output_flush:423 flush output buffer
  [19:13:16.277522] decode_flush:190 decode flush
  [19:13:16.277739] output_flush:423 flush output buffer
  [19:13:16.347565] codec_open:218 codec open: 'o'
  [19:13:16.347717] stream_sock:384 connecting to 192.168.178.28:9000
  [19:13:16.348453] stream_sock:413 header: GET 
/stream.mp3?player=b8:27:eb:54:17:4d HTTP/1.0
  
  
  [19:13:16.469423] stream_thread:176 headers: len: 492
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.1.1 - 1610364019)
  Connection: close
  Content-Type: audio/x-ogg
  Set-Cookie: Squeezebox-albumView=; path=/
  Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
  Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
  Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/
  Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/
  Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
  Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
  
  
  [19:13:17.032687] output_thread:638 open output device: default
  [19:13:17.033531] alsa_open:355 opening device at: 44100
  [19:13:17.038153] alsa_open:406 opened device default using format: S32_LE 
sample rate: 44100 mmap: 1
  [19:13:17.039052] alsa_open:485 buffer: 40 period: 4 -> buffer size: 1776 
period size: 444
  [19:13:17.047533] vorbis_decode:150 setting track_start
  [19:14:05.052583] slimproto_stop:919 slimproto stop
  [19:14:05.152969] decode_close:175 close decode
  [19:14:05.170901] stream_close:322 close stream
  [19:14:05.221384] output_close_alsa:890 close output
  
--------------------




Start as service:

Code:
--------------------
    
  pi@Test:~ $ sudo /etc/init.d/squeezelite start
  [ ok ] Starting squeezelite (via systemctl): squeezelite.service.
  
--------------------



Code:
--------------------
    
  squeezelite -f /home/pi/sl.log -d all=info 
  [10:39:50.942755] stream_init:290 init stream
  [10:39:50.946771] output_init_alsa:817 init output
  [10:39:50.946967] output_init_alsa:846 requested alsa_buffer: 40 alsa_period: 
4 format: any mmap: 1
  [10:39:50.994472] output_init_common:410 supported rates: 384000 352800 
192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 
  [10:39:51.161930] output_init_alsa:862 memory locked
  [10:39:51.162685] output_thread:638 open output device: default
  [10:39:51.162799] decode_init:129 init decode, include codecs:  exclude 
codecs: 
  [10:39:51.162799] alsa_open:355 opening device at: 44100
  [10:39:51.162959] register_dsd:624 using dsd to decode dsf,dff
  [10:39:51.163048] register_ff:731 using ffmpeg to decode alc
  [10:39:51.163078] register_ff:715 using ffmpeg to decode wma,wmap,wmal
  [10:39:51.163108] register_faad:640 using faad to decode aac
  [10:39:51.163138] register_vorbis:329 using vorbis to decode ogg
  [10:39:51.163167] register_flac:286 using flac to decode flc
  [10:39:51.163196] register_pcm:384 using pcm to decode aif,pcm
  [10:39:51.163278] register_mad:412 using mad to decode mp3
  [10:39:51.163857] discover_server:756 sending discovery
  [10:39:51.164910] discover_server:767 got response from: 192.168.178.28:3483
  [10:39:51.747405] alsa_open:406 opened device default using format: S32_LE 
sample rate: 44100 mmap: 0
  [10:39:51.747596] alsa_open:485 buffer: 40 period: 4 -> buffer size: 1764 
period size: 441
  [10:39:51.751484] slimproto:848 connecting to 192.168.178.28:3483
  [10:39:51.752318] slimproto:881 connected
  [10:39:51.752402] sendHELO:124 mac: b8:27:eb:54:17:4d
  [10:39:51.752430] sendHELO:126 cap: 
Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8,ModelName=SqueezeLite,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3
  [10:39:51.815035] codec_open:218 codec open: 'o'
  [10:39:51.815195] stream_sock:384 connecting to 192.168.178.28:9000
  [10:39:51.815739] stream_sock:413 header: GET 
/stream.mp3?player=b8:27:eb:54:17:4d HTTP/1.0
  
  
  [10:39:51.868858] stream_thread:176 headers: len: 492
  HTTP/1.1 200 OK
  Server: Logitech Media Server (8.1.1 - 1610364019)
  Connection: close
  Content-Type: audio/x-ogg
  Set-Cookie: Squeezebox-albumView=; path=/
  Set-Cookie: Squeezebox-expandPlayerControl=true; path=/
  Set-Cookie: Squeezebox-expanded-MY_MUSIC=1; path=/
  Set-Cookie: Squeezebox-expanded-FAVORITES=1; path=/
  Set-Cookie: Squeezebox-expanded-PLUGINS=0; path=/
  Set-Cookie: Squeezebox-expanded-PLUGIN_MY_APPS_MODULE_NAME=1; path=/
  Set-Cookie: Squeezebox-expanded-RADIO=1; path=/
  
  
  [10:39:53.456847] vorbis_decode:150 setting track_start
  [10:39:53.482247] _output_frames:61 start buffer frames: 16064
  [10:39:53.482491] _output_frames:146 track start sample rate: 44100 
replay_gain: 65536
  [10:40:38.477001] decode_flush:190 decode flush
  [10:40:38.477254] output_flush:423 flush output buffer
  [10:40:38.547355] codec_open:218 codec open: 'o'
  [10:40:38.547911] stream_sock:384 connecting to 192.168.178.28:9000
  [10:40:38.548660] stream_sock:413 header: GET 
/stream.mp3?player=b8:27:eb:54:17:4d HTTP/1.0
  
--------------------


Thank you very much...


------------------------------------------------------------------------
wangenkuesse's Profile: http://forums.slimdevices.com/member.php?userid=71727
View this thread: http://forums.slimdevices.com/showthread.php?t=114516

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to