# A music server’s first minutes, step by step ⏱️

- Link: https://gexis.net/2026/10/27/a-music-servers-first-minutes/
- Published: 2026-10-27T18:00:00+01:00
- Author: George

When Gexis Player installs its own Lyrion server, there is a gap between “downloaded”
and “your library is on the screen”. For a few minutes nothing seems to happen, 
and for a large library the reading itself takes hours. This article is about that
gap: what the server is actually doing, what went wrong when the player only guessed,
and how it now follows each step.

## 🧩 Five steps, not one

Measured on a test player, a new server’s first minutes went like this:

  |  Time |  What happened |  
   |  0:00 |  The owner finished setup |  
 |  0:37 |  Lyrion downloaded and started |  
 |  1:13 |  Its add-ons were asked for |  
 |  2:53 |  Lyrion restarted to load them |  
 |  3:02 |  It began reading the music |

For about three minutes a screen that said _Done_ was not true. So the player now
names five steps, on the phone, on the panel’s waiting screen and in _Settings →
Library_:

 1. Download Lyrion
 2. Start Lyrion
 3. Add its add-ons: Material Skin, Music & Artist Information, Radio Now Playing
 4. Read your music
 5. Ready

⌊A timeline of a new Lyrion server's first minutes⌉⌊A timeline of a new Lyrion server's
first minutes⌉
 _Three minutes from the end of setup to the first file read, measured
on a test player._

## 🔌 Add-ons without a command

Lyrion has no command for installing a plugin. Its plugin page is a form, one checkbox
per plugin, and saving it installs the ticked ones that are missing _and switches
off the unticked ones that are there_. So the player does what a person on that 
page would do: it reads the form as it is, keeps every field, ticks its three add-
ons, and sends the form back. Lyrion then needs a restart to load them.

Two lessons came out of this:

 * **Ticked is not installed.** Lyrion ticks a box as soon as it is asked and installs
   the plugin only at its next start. Taking “ticked” for “installed” once left 
   a server set to a skin it did not have, which is a page with no skin at all. 
   The player now counts an add-on as installed only once its folder is on disk.
 * **On disk is not served.** After the restart, the add-ons’ folders appear a few
   seconds before Lyrion answers again: 7 seconds on the test player. Anyone opening
   the server’s page in that window saw the old design. Material Skin now counts
   as in only once Lyrion actually serves its page.

## 🔀 The steps run in their order

One more surprise came from the order of events. The player used to give Lyrion 
its music folders straight away, while the add-ons were still arriving. Lyrion started
reading at once, during step 3, and read again after the restart that loads the 
add-ons. The screen went from “adding its add-ons” straight to “ready”, and the 
reading was never seen.

Now a new server gets its folders only once Material Skin is served. It reads once,
as step 4, where the screen says it is. If the add-ons never arrive, for example
without internet, the folders go in anyway after ten minutes, so a missing add-on
never means a missing library.

## 📖 Reading, in Lyrion’s own words

While it reads, Lyrion reports what it is doing in readable text, with a count for
that step, such as _Scanning new music files: 312 of 7,480_. The player shows that
text as it is, under a progress bar. Lyrion’s later steps (building its search index,
looking for artist pictures) come with their own names too.

⌊The waiting screen on a bar while Lyrion reads⌉⌊The waiting screen on a bar while
Lyrion reads⌉
 _Step 4 of 5 on a bar screen: the count is Lyrion’s own._

## 🫙 Why the first read keeps the waiting screen

How a library looks _during_ a read depends on whether there was one before:

 * **A rescan keeps the old library.** Measured on a test library of 760 songs on
   47 albums, rebuilt from scratch: the album count did not move from the first 
   second of the 94-second scan to the last, and the song count dipped once in between.
   Browsing works throughout.
 * **A first read starts from nothing,** and songs appear as they are found. A library
   home with a handful of albums, growing in fits and starts, is not a good first
   impression.

So until a new player’s first read has finished, the panel keeps its waiting screen
and shows the steps on a plate, _Lyrion · Step 4 of 5_. Spotify, Bluetooth and the
other sources play meanwhile. There was a catch here too: “the first read” used 
to mean “no songs yet”, so the first song found ended it. The first read now lasts
until Lyrion says the read is over.

⌊The plate on the panel during step 3⌉⌊The plate on the panel during step 3⌉
 _The
plate on the 10.1″ panel: the step as the title, its progress, and Lyrion’s detail._

## 🔁 Not waiting for hours

After setup, the player’s core restarts once to use the server that was chosen. 
That restart waits for the downloads to finish, because the visualiser’s skins install
as part of the core and would be cut off. It does **not** wait for the read, which
can take hours on a large library. The dialog on the player’s screen lists only 
downloads still running. Lyrion’s steps are on the waiting screen, where they can
stay as long as they need.
