Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Senior Member th00ht's Avatar
    Join Date
    Feb 2008
    Location
    Romanshorn
    Posts
    398

    Run Squeezelite hidden on Windows 10

    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:
    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:
    PowerShell
    and as parameter
    -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

  2. #2
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,916
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  3. #3
    Senior Member th00ht's Avatar
    Join Date
    Feb 2008
    Location
    Romanshorn
    Posts
    398
    Quote Originally Posted by ralphy View Post
    Thanks for the tip Ralphy!
    But LMS (or SBS) already has an awesome web interface I use anywho for the other five S-devices I have around. The Squeezlite has a minimal footprint of less than 7kB and while I listen to random albums only I hardly ever need the web gui, and when I do I use the Squeeze Ctrl Android app.

    In such a setup squeezelite is awesome.

    th00ht

  4. #4
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,453
    Quote Originally Posted by th00ht View Post
    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
    Hi,
    if you already using scripting...

    Just add another one (cmd not ps1).
    Code:
    taskkill /F /IM squeezelite-win.exe

  5. #5
    Senior Member th00ht's Avatar
    Join Date
    Feb 2008
    Location
    Romanshorn
    Posts
    398
    Quote Originally Posted by DJanGo View Post
    Hi,
    if you already using scripting...

    Just add another one (cmd not ps1).
    Code:
    taskkill /F /IM squeezelite-win.exe
    Ah, thanks! Sure. Good tip!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •