For those who are like me and use something else to program and control music playback than a user interface but want squeezelite tucked away in the dark daemon dungeons of windows this is small little script I use:
Put this in a .ps1 file Code: -------------------- Start-Process ` -FilePath "C:\Program Files (x86)\squeezelite-1.9.6-1198-win32\squeezelite-win.exe"` -ArgumentList "-D -s helene.kingma -n $Env:ComputerName"` -WindowStyle Hidden -------------------- Shift Right click this and select *Copy Path* and in Task Scheduler (Win+r; taskschd.msc) create a job at logon with trigger *At log on* as action *Start a Program* with Program/Script being *PowerShell* and Arguments *-File "path to the ps1 file you just copied"* include the two " in that. Or import a xml file containing this: Code: -------------------- <?xml version="1.0" encoding="UTF-16"?> <Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> <Triggers> <LogonTrigger> <Enabled>true</Enabled> </LogonTrigger> </Triggers> <Settings> <AllowHardTerminate>true</AllowHardTerminate> <StartWhenAvailable>false</StartWhenAvailable> <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable> <IdleSettings> <StopOnIdleEnd>true</StopOnIdleEnd> <RestartOnIdle>false</RestartOnIdle> </IdleSettings> <AllowStartOnDemand>true</AllowStartOnDemand> <Enabled>true</Enabled> <Hidden>false</Hidden> </Settings> <Actions Context="Author"> <Exec> <Command>PowerShell</Command> <Arguments>-File "squeezelite.ps1"</Arguments> </Exec> </Actions> </Task> -------------------- in the Task Scheduler and make sure the path to squeezelite.ps1 is correct Living:'Transporter Second Edition (smashing wiki page!)' (https://tinyurl.com/q7ff4xr), 'Touch' (http://wiki.slimdevices.com/index.php/Squeezebox_Touch), 'Denon AVR 1912' (https://tinyurl.com/p44yun7)' + two CM8, two CM1, CMC' (http://www.bowers-wilkins.net/Speakers/Home_Audio/CM_Series) Study:'Classic, Quad 303 + two Quad ESL 57' (http://forums.slimdevices.com/showthread.php?43875-A-SB3-a-Quad-303-and-the-left-hand-ESL) & 'Grace Design m900' (https://gracedesign.com/products/monitor-controllers/m900/) with 'AKG 240 MK11' (https://www.thomann.de/de/akg_k271_mkii.htm) Kitchen:'piCorePlayer/Hifiberry DAC+ pro' (https://www.hifiberry.com/products/dacplus/), 'Kanto YU2' (http://www.kantoliving.com/product/yu2/) 'last.fm' (http://www.last.fm/user/th00ht), 'SoS, ' (https://tinyurl.com/pbzsf8l)'EAC' (http://www.exactaudiocopy.de/) ------------------------------------------------------------------------ th00ht's Profile: http://forums.slimdevices.com/member.php?userid=15656 View this thread: http://forums.slimdevices.com/showthread.php?t=115862 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins