Press "Enter" to skip to content

SqueezeCore: a minimal audio OS running Squeezelite.

The purpose of this project:

I built SqueezeCore because I needed a lightweight, minimal, plug&play OS to use it as a squeezelite player. The whole OS is 17MB and when running it occupies around 60MB of RAM; SqueezeCore must be installed on a USB drive and will run completely in RAM. Perfect to be installed on a thin client!

Requirements

  • RAM: 128MB
  • CPU: 32bit or 64bit, every CPU is ok, it can run on a toaster too
  • USB flash drive: 32MB
  • An ethernet port
  • A monitor for first setup (optional)
  • A keyboard for first setup (optional)
  • A computer running Logitech Media Server

Installation:

Download SqueezeCore .IMG from here: SqueezeCore
Flash the .IMG using Etcher or a similar software

Or, if it doesn't work ...

– Download Rufus from here: Rufus
– Download SqueezeCore .ZIP from here: SqueezeCore
– Open Rufus, select the device where you want to install SqueezeCore, under “Boot Selection” select Syslinux 4.07, type “SQUEEZECORE” as Volume Label and untick “Create extended label and icon files”, finally click “START”.
– Last step: unzip SqueezeCore and copy the content on your USB flash drive.
Changelog

v0.1-ALPHA: initial release
v0.2-BETA: fixed a bug that caused squeezelite not being able to lock on the specified output device
v0.3-BETA: minor fixes

First Setup:

Using monitor and keyboard (recommended):

Plug into your computer the USB flash drive with SqueezeCore, an ethernet cable (wifi not supported at the moment), a keyboard and a monitor.
Power on and boot from USB.
Now you will have to enter some squeezelite settings like: what audio device use as output, buffer settings and so on; if you have any doubts leave all settings as default and just select your audio output device. (Important: read carefully the options during the setup)
From now on every time you power on your computer squeezelite will start at boot with the defined settings.

Headless setup:

Plug the SqueezeCore USB drive to your computer. Create a file named squeeze.conf inside the “/config” directory. Open squeeze.conf with Notepad++ (or a similar editor that allows you to set the UNIX(LF) newline) and insert the squeezelite options following this example:

hw:CARD=UD501,DEV=0    #1st line: output device
SqueezeCore                     #2nd line: Player Name
SqueezeCore                     #3rd line: Model Name
auto                                    #4th line: [server_address:port], auto to autodiscover
40:4::0                             #5th line: ALSA parameters [buffer:period_count:sample_format:mmap]
4096:3072                         #6th line: [stream_buffer:output_buffer]
45                                        #7th line: process priority [1-99]
                                               #8th line: [OPTIONAL] additional commands

Save, plug your SqueezeCore USB flash drive to your PC, power on, profit!

F.A.Q.

I want bit-perfect audio but in the output device list my dac does not appear as “hw:CARD=card_name” but only “default:CARD=card_name”
You can try to type 0 during output selection to not choose any option, then, in additional options (last question) type “-o hw:CARD=card_name,DEV=0”

I want to reset my configuration! How can I do it?
Directly on SqueezeCore: “rm -f /squeezecore/config/squeeze.conf && sync”
From Windows: delete /config/squeeze.conf

Thanks to:

  • Marco Curti for Squeezelite-R2
  • TinyCoreLinux team for their awesome distro. Squeezecore is based on Tinycorelinux.

If you are using SqueezeCore and you like it consider to buy me a coffee: paypal.me

7 Comments

  1. Luca Marchetti Luca Marchetti 10 Febbraio 2020

    ciao lo sto provando, intanto devo che i dsd non li riproduce esatto? altrimenti sbaglio io. grazie cmq funziona da dio velocissimo bravo

    • Simone Simone 10 Febbraio 2020

      Ciao Luca! Ho appena testato e i DSD li riproduce senza problemi, sia in DSD nativo che in DoP. Quindi possiamo provare a risolvere, ti chiedo qualche informazione così da capire dove è il problema:
      Il file che stai riproducendo è in formato .dsf?
      Che DAC stai utilizzando, è connesso in USB?
      Collega la chiavetta di SqueezeCore al tuo computer, nella cartella “config” è presente il file “squeeze.conf”, aprilo con il blocco note e copiane il contenuto e scrivimelo.
      Grazie mille!

  2. Luca Marchetti Luca Marchetti 13 Febbraio 2020

    Ciao come dac uso un topping d30 legge in nativo fino a dsd 128. Si i file sono dsf, appena riesco Ti giro il contenuto del file. Grazie

  3. Luca Marchetti Luca Marchetti 13 Febbraio 2020

    default:CARD=D30
    SqueezeCore
    SqueezeCore
    auto
    40:4::0
    4096:4096
    45

    eccoti il contenuto del file
    ciao

    • Simone Simone 14 Febbraio 2020

      prova a sostituire default:CARD=D30 con hw:CARD=D30,DEV=0

  4. Luca Marchetti Luca Marchetti 14 Febbraio 2020

    perfetto funziona adesso, ora provo a far comparazione con daphile usando lo stesso server e cambiando il player. grazie ancora.

    • Simone Simone 14 Febbraio 2020

      Perfetto, tieni d’occhio la pagina che entro 7/10gg dovrei rilasciare una nuova versione!

Rispondi

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.

%d blogger hanno fatto clic su Mi Piace per questo: