Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Junior Member
    Join Date
    Oct 2011

    [HOW TO] Squeezelite player on Windows 8 step by step

    [HOW TO] Squeezelite player on Windows 8 step by step

    This is my first step by step, written to help non-techy people to setup squeezelite player (all kudos to Triode for this great little friend of our Squeezebox environment).
    I. You have LMS already installed (either on the same machine or separate)
    II. This tutorial is based on Windows 8 environment
    III. You have basic knowledge about Squeezebox and LMS behavior

    1. Download squeezelite for windows from here

    2. Unzip it squeezelite-win.zip to your final destination for example native Windows download folder. If you want you can rename this folder to “Squeezelite” and squeezelite-win.exe to squeezelite.exe as well (not mandatory).

    3. Do not try to run squeezelite-win.exe stored in your unzipped folder. You need to run it via cmd.exe (command line). I’ll show you how in next steps.

    4. To add mp3 playback support, install either libmad-0.dll or libmpg123-0.dll in the same directory as this file. Suggested by Triode source:
    - download http://www.mpg123.de/download/win32/...1.14.4-x86.zip from MPG123
    - extract mpg123-1.14.4-x86/libmpg123-0.dll into this directory (the file is approx ~282k when extracted).

    Now your Squeezelite folder should look like this:

    Name:  mp3 lib folder.JPG
Views: 19377
Size:  34.5 KB

    5. In the address toolbar write “cmd” (without quotes) and press enter

    Name:  cmd.jpg
Views: 19176
Size:  47.7 KB

    6. Now Command Line should open

    Name:  cmd1.JPG
Views: 19148
Size:  29.5 KB

    7. Your first step now will be to determine your audio output. In the command line write:
    squeezebox-win.exe –l
    TIP: if you want to copy commands and paste into command line dialog box just use your mouse: copy desired text and using your mouse right button choose from context menu “Paste”.

    This will list all your audio outputs and should look like this:

    Name:  audio output list.JPG
Views: 19161
Size:  54.1 KB

    8. Ok, now very important thing – we have to determine what audio output is your “squeezelite audio output”. Write down the numbers of your audio outputs; we’ll need it later.
    TIP: If you are going to use external DAC, especially USB DAC you have to connect it BEFORE running –l command for listing your audio outputs.

    9. The easiest way to find out which output to choose is to follow these steps:

    9a. Run your Logitech Media Server and if you have another Squeezebox player play any music. This will tell us that we have audio signal coming from your LMS. Now go to next step.

    10. Now you should understand basic squeezelite commands (all without quotes!!!):
    “-o” – this command tells squeezelite what audio output to choose
    “-n” – after this command you can specify name of your squeezelite player
    “-s” – this is command for telling your squeezelite player what’s your LMS ip

    11. Now we’ll write command to start squeezelite:

    squeezelite-win.exe -o 7 -n SqueezeliteWIN -s

    “7” is my audio output (in my case these are speakers connected to headphones output)
    “SqueezeliteWIN” is my squeezelite player name
    “” is my LMS IP address

    12. After running this command go back to LMS, best way is to open it via web browser. Now you should see your newly started squeezelite player.

    Name:  LMS.JPG
Views: 19126
Size:  18.2 KB

    Now you should sync your squeezebox players.
    If you can hear music form both of your players – good for you.
    No? Don’t panic. You have to choose different audio output.
    Close the command line dialog box, and open it again (just like in the step 5).
    Now type (or paste) this command:
    squeezelite-win.exe -o 7 -n SqueezeliteWIN -s
    but now change the audio output number after “-o” command. Repeat, until you here music from your squeezelte player.
    Last edited by sp1976; 2014-02-04 at 02:34.

  2. #2
    Junior Member
    Join Date
    Oct 2011

    Squeezelite player as a service

    Now I’ll show you how to start your squeezelite player as a service (no longer command line needed to start squeezelite).

    STEP 1: Create .bat file
    1. Open new text file using your Text editor.

    2. In your newly created text file we have to place the path to where your squeezelite player is stored and the parameters you already know if you have followed the steps in previous parts of my tutorial. My squeezelite player is stored in default windows download folder so I need to put in my text file the following line:

    C:\Users\sptak\Downloads\squeezelite-win\squeezelite-win.exe -o 7 -n SqueezeliteWIN -s

    3. Now we will save this file as .bat file.

    Name:  bat.jpg
Views: 18963
Size:  80.2 KB

    Save as -> All files -> Squeezelite.bat

    IMPORTANT: Do not forget to name your bat file with “.bat” extension 

    Now we have .bat file we will use in the next step

    STEP 2: Run squeezelite player as a service
    1. Please download NSSM http://nssm.cc/download . This tool will help us to run squuezelite as a service.
    Download current NSSM version and unzip it.
    VERY IMPORTANT: You cannot move this folder after running squeezelite as a service. I strongly suggest to place this folder in the place where it can stay forever or to the next Windows reinstallation 

    2. Now copy the path to the right NSSM folder (win32 or win64 depending on your operating system). For me the path is:
    Write it down.

    3. Now you have to open Command line with administrator privileges in the right folder. Here is how to do it:

    You should see something like this:

    Name:  nssm1.JPG
Views: 18883
Size:  21.8 KB

    4. Now write
    nssm install

    5. New popup window will appear:

    Name:  nssm2.JPG
Views: 18907
Size:  40.4 KB

    6. Now choose in the Path line .bat file created in step above. Name your service (Squeezlite or other name of your choice) and click “Install service”.

    That’s it. To be sure restart windows and you should see in your LMS squeezelite running.

  3. #3
    Junior Member
    Join Date
    May 2014
    Thanks, this info was very helpful.

    Thumbs up from a novice trying to figure SQLite out.

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Milan, Italy
    Great tutorial, thanks!

    A heads up for people who might place squeezelite in a directory with spaces in its name. In the .bat file you need to use quotes, like this:

    "C:\Program Files (x86)\SqueezeLite\squeezelite-win.exe" -n WhateverYouWantAsAName -s xxx.xxx.xxx.xxx

  5. #5
    Senior Member
    Join Date
    Jan 2011
    Staffordshire. UK
    Quote Originally Posted by gorman View Post
    Great tutorial, thanks!


    Now I need a tutorial for the uninstall........please....



  6. #6
    Senior Member
    Join Date
    Aug 2008

    What-if LMS is remote and requiers logon?

    Nothing happened when I tried this on my PC.
    Squeezelite-win only hangs with out any output or response what so ever to the command line.

    I assume this may have to do with the fact that may LMS is remote (public IP) and requiers logon (Username/Password) to authenticate any unknown playback client.

    How do I solve that?


  7. #7
    Works like a charm! Thanks.

    Had a grin when seeing the nssm abbreviation

  8. #8
    Junior Member
    Join Date
    Oct 2011
    Quote Originally Posted by Man in a van View Post

    Now I need a tutorial for the uninstall........please....


    The command to remove a service is:

    nssm remove squeezelite

    Follow the steps 2 and 3 from post #2 and in 4th step the command to remove a service is:

    nssm remove squeezelite

  9. #9
    Junior Member
    Join Date
    Oct 2011
    Quote Originally Posted by dasupergrover View Post
    Works like a charm! Thanks.

    Had a grin when seeing the nssm abbreviation
    You're welcome

  10. #10
    Junior Member
    Join Date
    Jan 2014
    Thanks for instructions @sp1976

    I have installed Squeezelite on the Mini PC (MPC) I've been playing with and everything is working well except Spotify and MP3 files.

    Playback is from the MPC connected to a Wyred 4 Sound DAC-1 via USB using proprietary ASIO driver. Control is via iPeng. When synced to my SBT the screen shows an an error with the file type when attempting to play Spotify, or MP3s from my local library.

    I am using the 'Official' Spotify plug-in. I have extracted the MP3 playback support as recommended / instructed but had to manually copy the libmpg123-0.dll into the squeezelite-win folder to achieve the same file list as shown in original post.

    I would appreciate advice to get Spotify functioning. I am yet to try a different audio output as I would prefer to use ASIO.

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