I just setup DietPi with Lyrion and Squeezelite on an old x86 laptop I have. Previously I had Daphile running on it.
This laptop works as my music server on the bedroom and has 2 USB players connected to it. One player goes to the stereo and the other goes to my headphone setup.
Daphile is very plug and play and has a GUI for setting up the player prefs, but I’m having trouble getting both players to work on DietPi. Am I correct in thinking I might need to have 2 instances of Squeezelite running - one for each player? I did find some info on doing this for other systems (multisqueeze for max2play), but have no idea on how to do this for DietPi.
If 2 instances aren’t needed how else would I go about getting both players working?
You just need to give each instance an individual MAC address and an individual name, otherwise you won’t be able to see the different player instances. If you want the construct to survive a reboot, write a start script that loads the player instances.
Under Dietpi and LMS just in the left top of your screen you can select the device, just use different name as device, the name by default is Dietpi Squeezlite
With two device you Can manage by clicking on the default device
I’m guessing the logging and -N, -M naming won’t be necessary?
The one device is always connected and powered on, the other has a physical power switch and will be connected/disconnected frequently. Will this be an issue?
Since I’m new to DietPi - and pretty clueless about doing things without a simple GUI, could you help out with what I need to do to make the startup scrip? I typically only turn the laptop on when I want to listen to some music, so something that will survive a reboot is a must
Sorry i missunderstanding your config
I tell you to manage your device via desktop on your PC in your favorite browser
with a page http://192.168.1.xx:9000 and when you have two device with Dietpi on it
The selection of the sound card under Dietpi use the command dietpi-config
and you select one card at a time ( your USB card)
So, I have managed to get both devices working, but things aren’t completely optimal.
One device - the Fiio X3 is (mostly) permanently connected and powered on so I have added it’s settings to the squeezelite config.
The second device - Topping D30, has been added by running another squeezelite instance through custom.sh.
The problem I have doing things this way is that both devices are treated as always connected, even though the D30 has it’s own power switch and theoretically should be disconnected when powered off. How can I make it so the devices only show up when they are connected? I’m coming from Daphile and it is very plug and play when it comes to players and I’m really trying to get the same functionality with Dietpi without having to constantly use Dietpi-config to switch outputs (which I was having issues with anyways)