Francy07 wrote: > Hello everybody, > I ask if you can help me. On Ubuntu 20.04.03 Lts I have installed > Logitech Media Server and Squeezelite. I can't select the output for > Squeezlite (Audioquest Dragonfly Black 24 bit-96Khz). If I use the > command "squeezelite -o <output device> (for example squeezelite -o > sysdefault: CARD = DragonFly) LMS is played but the Linux terminal > freezes and therefore does not save the setting. If I then close the LMS > terminal it is not reproduced How can I save the setting of the output, > thanks? > I attach the list of available Dragonfly outputs: > > sysdefault: CARD = DragonFly - AudioQuest DragonFly, USB Audio - > Default audio device > front: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB Audio - > Front speakers > surround21: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB > Audio - 2.1 surround output for front speakers and subwoofer > surround40: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB > Audio - 4.0 surround output to front and rear speakers > surround41: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB > Audio - 4.1 surround output for front, rear and subwoofer speakers > surround50: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB > Audio - 5.0 surround output to front, center and rear speakers > surround51: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB > Audio - 5.1 surround output for front, center, rear and subwoofer > speakers > surround71: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB > Audio - 7.1 surround output to front, center, side, rear and Woofer > speakers > iec958: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB Audio - > IEC958 digital audio output (S / PDIF) > dmix: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB Audio - > Direct sample mixing device > dsnoop: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB Audio - > Direct Sample Snooping Device > hw: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB Audio - > Direct hardware device without conversions > plughw: CARD = DragonFly, DEV = 0 - AudioQuest DragonFly, USB Audio - > Hardware device with all software conversions > usbstream: CARD = DragonFly - AudioQuest DragonFly - USB stream > output > > > > Vincenzo, Italy
I think I understand what you are saying. The terminal does not actually freeze, it is busy executing squeezelite. Add the -d option to your command. To use your example: Code: -------------------- squeezelite -o sysdefault:CARD=DragonFly -d -------------------- That will "daemonize" squeezelite, so that it runs in the background and continues to run after you close the terminal window. However, squeezelite does not save that setting, you will have to use the same command every time you start squeezelite. Your list of outputs shows includes spaces in the names. Is that correct? They usually do not include any white space, like this: Code: -------------------- iec958:CARD=DragonFly,DEV=0 -------------------- LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. ------------------------------------------------------------------------ RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix