Just come back to this having lost any configuration which may or may not have worked last time and am not getting far.
I've tried the stdout approach: Code: -------------------- squeezelite -a 16 -o - | flac - -f --best --endian=little --sign=signed --channels=2 --bps=16 --sample-rate=44100 -s -o "/var/lib/squeezeboxserver/recordings/`date +%Y%m%d_%H%M%S`.flac" -------------------- Starts, but playback of anything doesn't like it (jumps and stops) and Code: -------------------- squeezelite -a 16 -o - | arecord -f CD | flac - -f --best -s -o "/var/lib/squeezeboxserver/recordings/`date +%Y%m%d_%H%M%S`.flac" -------------------- which appears to play and leaves a silent file behind as does this loopback approach: Code: -------------------- modprobe snd-aloop -------------------- create /etc/asound.conf: Code: -------------------- pcm.mycard { type hw card 1 } ctl.mycard { type hw card 1 } pcm.myconvert { type plug slave { pcm "myrecord" format S16_LE } } pcm.myrecord { type file format "raw" slave.pcm "mycard" file "| arecord -f CD | flac - -f --best -s -o /var/lib/squeezeboxserver/recordings/`date +%%Y%%m%%d_%%H%%M%%S`.flac" } pcm.!default{ type asym playback.pcm "myconvert" capture.pcm "mycard" } -------------------- giving: Code: -------------------- aplay -L X11 connection rejected because of wrong authentication. xcb_connection_has_error() returned true X11 connection rejected because of wrong authentication. xcb_connection_has_error() returned true null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server mycard myconvert myrecord default sysdefault:CARD=PCH HDA Intel PCH, ALC283 Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Digital IEC958 (S/PDIF) Digital Audio Output hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output hdmi:CARD=PCH,DEV=1 HDA Intel PCH, HDMI 1 HDMI Audio Output hdmi:CARD=PCH,DEV=2 HDA Intel PCH, HDMI 2 HDMI Audio Output hdmi:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 3 HDMI Audio Output hdmi:CARD=PCH,DEV=4 HDA Intel PCH, HDMI 4 HDMI Audio Output dmix:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Direct sample mixing device dmix:CARD=PCH,DEV=1 HDA Intel PCH, ALC283 Digital Direct sample mixing device dmix:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample mixing device dmix:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct sample mixing device dmix:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct sample mixing device dmix:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Direct sample mixing device dmix:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Direct sample mixing device dsnoop:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Direct sample snooping device dsnoop:CARD=PCH,DEV=1 HDA Intel PCH, ALC283 Digital Direct sample snooping device dsnoop:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample snooping device dsnoop:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct sample snooping device dsnoop:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct sample snooping device dsnoop:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Direct sample snooping device dsnoop:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Direct sample snooping device hw:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Direct hardware device without any conversions hw:CARD=PCH,DEV=1 HDA Intel PCH, ALC283 Digital Direct hardware device without any conversions hw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct hardware device without any conversions hw:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Direct hardware device without any conversions hw:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Direct hardware device without any conversions hw:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Direct hardware device without any conversions hw:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Direct hardware device without any conversions plughw:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Hardware device with all software conversions plughw:CARD=PCH,DEV=1 HDA Intel PCH, ALC283 Digital Hardware device with all software conversions plughw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Hardware device with all software conversions plughw:CARD=PCH,DEV=7 HDA Intel PCH, HDMI 1 Hardware device with all software conversions plughw:CARD=PCH,DEV=8 HDA Intel PCH, HDMI 2 Hardware device with all software conversions plughw:CARD=PCH,DEV=9 HDA Intel PCH, HDMI 3 Hardware device with all software conversions plughw:CARD=PCH,DEV=10 HDA Intel PCH, HDMI 4 Hardware device with all software conversions sysdefault:CARD=Loopback Loopback, Loopback PCM Default Audio Device front:CARD=Loopback,DEV=0 Loopback, Loopback PCM Front speakers surround21:CARD=Loopback,DEV=0 Loopback, Loopback PCM 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=Loopback,DEV=0 Loopback, Loopback PCM 4.0 Surround output to Front and Rear speakers surround41:CARD=Loopback,DEV=0 Loopback, Loopback PCM 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Loopback,DEV=0 Loopback, Loopback PCM 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Loopback,DEV=0 Loopback, Loopback PCM 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=Loopback,DEV=0 Loopback, Loopback PCM 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers dmix:CARD=Loopback,DEV=0 Loopback, Loopback PCM Direct sample mixing device dmix:CARD=Loopback,DEV=1 Loopback, Loopback PCM Direct sample mixing device dsnoop:CARD=Loopback,DEV=0 Loopback, Loopback PCM Direct sample snooping device dsnoop:CARD=Loopback,DEV=1 Loopback, Loopback PCM Direct sample snooping device hw:CARD=Loopback,DEV=0 Loopback, Loopback PCM Direct hardware device without any conversions hw:CARD=Loopback,DEV=1 Loopback, Loopback PCM Direct hardware device without any conversions plughw:CARD=Loopback,DEV=0 Loopback, Loopback PCM Hardware device with all software conversions plughw:CARD=Loopback,DEV=1 Loopback, Loopback PCM Hardware device with all software conversions -------------------- and starting squeezelite with: Code: -------------------- squeezelite -o myrecord -------------------- I'm guessing that I'm missing something quite stupid as the source plays into my squeezelite recorder and a file is dumped. Just that it doesn't contain any audio. ------------------------------------------------------------------------ Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807 View this thread: http://forums.slimdevices.com/showthread.php?t=104349 _______________________________________________ ripping mailing list ripping@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/ripping