0.9.46.0 - Player Mac (Player ID) is now automatic, so the field is gone. You can still specify a Player ID manually using the -m switch in the command line parameters if you wish, but there is no need to.
Coming up with a way to manage the unique player IDs turned out to be a little vexing. It is easy enough to default to the client computer's MAC address, but that won't work when you have multiple users on the same computer. Here is how it works. Squeezelite-X will attempt to use the client computer's MAC address as the Player ID. Before starting squeezelite-win.exe, it will first check with the server to see if any players are already connected using that ID. If so, Squeezelite-X will substitute an alternate Player ID made up of the first 3 octets of the client computer's MAC and the last three octets chosen randomly, but checked for uniqueness. Also, if you specify a Player ID using the -m switch, then Squeezelite-X will do the same thing, that is, it will try to use the ID you specify, but if that is already being used, it will make a substitution. So, starting two instances with the same Player ID is prevented. Similary, Squeezelite-X will attempt to use the Player Name you define, but if it is already in use, it will make a substitution by appending (2), (3), etc after the name you define. If you have multiple users on the same computer, I recommend they giver their players a unique name like "Office-Greg" and "Office-Monica". Otherwise if two users choose the same name you will end up with something like "Office" and "Office (2)" in the order they start Squeezelite-X. I still have an issue with multiple instances on the same computer - Media Keys. Right now, all instances will respond to and execute media keys. I have not figured out a smart way to control this, so I have added an option to turn Media Keys Off. So if you have multiple users on the same computer you should turn Media Keys Off for all but one. For those that would like to see the debug log, if you double click on "About" in Settings, you will see a log window. I do not write any of this to a file and it goes away after the program is exited. It only maintains the last 1000 lines. R Greg Dawson ------------------------------------------------------------------------ rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=107540 _______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
