Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all articles
Browse latest Browse all 2059

Run Squeezelite hidden on Windows 10

$
0
0
Hi
Today it annoyed me that the squeezelite (tested with 1.9) command window is visible. Did a bit of encosia-ing (googling for tree huggers) and found a way to start a powershell script hidden. Adding this as a task to the Task Scheduler upon logon and I have have player that can be operated from the server site.

Unpack squeezelite in the C:\ProgramData folder.

This is the squeezelite.ps1 PowerShell Script:
Quote:

Start-Process -FilePath C:\ProgramData\squeezelite-1.9.0-1098-win32\squeezelite-win.exe -ArgumentList "-s your-server-here -n your-playername-here" -WindowStyle hidden
put it anywhere you want, my scripts are stored in a folder WindowsPowerShell under the documents folder.

In Task Scheduler (Compunter Management) create a task with a trigger "Logon" and as action:
Program:
Quote:

PowerShell
and as parameter
Quote:

-command "path-to-squeezelite.ps1"
.

As there is no window there is no other way to close the contraption other than logging of or killing squeezelite by using task manager

Viewing all articles
Browse latest Browse all 2059

Trending Articles