What is library synchronisation?

As soon as you connect your storage, Astiga lets you browse its folders and play the files in them. That’s useful, but it’s not the best way to enjoy a big music collection.

Library synchronisation (or “sync” for short) goes further. Astiga reads every music file in your storage and builds a full music library from them. You then get:

  • Albums, with cover art and year of release
  • Artists
  • Genres
  • Songs, a list of every track
  • More powerful search

This article explains what sync does, how to start one, and how to make Astiga sync automatically.

Why sync makes Astiga (and your music) better

Without a sync, Astiga only knows your music as files in folders. You have to remember where you put something to find it. Search is limited, and browsing by artist, genre or other classification is impossible.

After a sync, Astiga knows what each file is: the song title, who performed it, which album it’s from, its genre and so on. That lets you:

  • Browse the way you think about music. Open an artist and see all the genres they are involved in, browse through the genres to find similar artists, wherever the files are stored.
  • Search properly. Search finds songs, albums, artists and genres by name, not just by file or folder name.
  • Enjoy a richer visual experience. Find albums by cover art, order them by year.

Files that have not been synchronised can still be played, but only from the folder browser.

How it works: audio tags

Most music files carry a little extra information inside them, alongside the audio itself. These are called tags (or metadata). Think of them as the label or sleeve notes on a record: they don’t change the sound, they describe it.

A typical music file’s tags include:

  • the song title
  • the artist
  • the album title
  • the album artist (the artist the whole album is credited to)
  • the track number and disc number
  • the year
  • the genre
  • the composer
  • the cover art

During a sync, Astiga visits each folder in your storage, opens each music file and reads its tags. It then uses those tags, along with where the files sit in your folders, to group tracks into albums, list your artists and genres, and make everything searchable. To learn exactly how tracks become albums, see What makes an album?

Astiga operates a couple of fallbacks in the event of missing tags:

  1. If a file has no title tag, Astiga uses its file name instead
  2. If it has no track number tag, Astiga tries to find one at the start of the file name (for example 03 - Song name.mp3).

Getting the most from your tags

The better your tags, the easier it is to navigate and search your library. If albums look split up, or artists appear twice, the fix is usually in the tags. You can correct them with your own tagging software and then sync again, or use Astiga’s own metadata editor under Library management > Edit metadata.

Astiga Premium subscribers can also turn on library enhancement, which fills in missing details and corrects album names without changing your files.

How to start a sync

  1. In the Web player, open Library management in the side menu and choose Sync library. Or go straight to play.asti.ga/sync:

    The Sync form, with Storage, Start folder, Force, Remove and Email options and the Start synchronisation button
  2. Choose the Storage you want to sync.

  3. Check the options. If you’re not sure, leave them as they are:

    • Start folder: sync only this folder and the folders inside it. Handy if your storage holds lots of things besides music. If you leave it empty, Astiga uses the storage account’s Initial folder setting.
    • Force: re-read every file, even ones already in your library. You rarely need this; a normal sync already picks up new and changed files.
    • Remove: remove songs from your library when their files no longer exist in your storage. This is on by default.
    • Email: send you an email when the sync has finished.
  4. Click Start synchronisation.

A new window opens showing the progress of the sync. You can close it safely; the sync carries on without it.

How long a sync takes depends on how much music you have. We see a vast range in library sizes amongst the Astiga listenership! A first sync of a large library can take anything from a few minutes on a “typical” <1000 album collection, to several days for massive, John Peel collections. Later syncs are much quicker, because Astiga only needs to look at files that are new or have changed.

How often you can sync

Without Astiga Premium, you can sync each storage account once every three days. Astiga Premium removes this limit.

How to sync automatically

With Astiga Premium, Astiga can sync your storage for you, so new music appears in your library without you having to lift a finger. This is called Autosync.

Autosync is set separately for each storage account. To turn it on:

  1. Go to your storage settings at play.asti.ga/settings/edit-storage/.

  2. Click Edit next to the storage account.

  3. Under Autosync, tick Enable automatic synchronisation:

    The Autosync setting, with Enable automatic synchronisation ticked
  4. Click Save storage. Ticking the box on its own is not enough; the setting only takes effect once saved.

Astiga will then sync that storage account automatically, about once an hour. If an automatic sync fails, Astiga emails you to let you know.

If your music doesn’t appear

  • Check the sync log. Go to Library management > Show log to see what happened during the last sync of each storage.
  • Check the start folder. If a Start folder or Initial folder is set, music outside it won’t be synced.
  • Check your tags. Songs without an album tag won’t appear in the album list, though you can still find them by artist, on the Songs page or by searching. See What makes an album?
  • Synced a folder by mistake? Use Library management > Remove a folder to take it out of your library.