What you need
- A computer that stays on, or a NAS. Plex Media Server runs on Windows, macOS, Linux and many NAS systems.
- A free Plex account.
- Your music as files, tagged. If you are starting from a subscription and have no files yet, begin with Leave streaming for a library of your own.
Already have a Plex server for films and shows? You only need step 2's Music library, and then Lagu.
1. File it the way Plex expects
Plex asks for one folder for music, a folder for each artist inside it, and a folder for each album inside that.
Music/
Fleetwood Mac/
Rumours (1977)/
01 - Second Hand News.flac
02 - Dreams.flac
Various Artists/
Pulp Fiction (1994)/
01 - Misirlou.flac - Name the artist folder after the album artist, so a compilation goes under Various Artists and not under whoever sings track one.
- Keep music in its own folder, apart from films and shows. Plex wants a separate library for each.
- For a multi-disc album, set the disc number in the tags. The discs can share one folder.
- If you use a library manager that renames and files albums for you, give it this same pattern, and let it finish moving an album before Plex scans the folder.
Tags are what Plex reads first, and a well-tagged album is easier for it to recognize. Plex's match is where the styles, moods, and popularity behind Lagu Mixes come from, so it is worth an album being matched correctly.
2. Install and add a Music library
Download Plex Media Server from Plex and install it. Sign in with your Plex account, add a library of the type Music, and point it at your music folder. Plex scans the folder, matches each album, and fills in artist photos, genres, and the rest.
If you have timed lyrics for a track, save them as a .lrc file with the same name beside it, and Plex will pick them up.
3. Three things worth knowing
- Prefer local metadata, in the library's advanced settings, makes your own tags win where they differ from Plex's match. Turn it on if you tagged carefully.
- Plex Pass is Plex's paid tier. On a music library it adds sonic analysis, which Lagu uses for stations that follow how a song sounds, and it adds lyrics fetched by Plex for tracks that have none of their own. Everything else in Lagu works without it. The FAQ has the full list.
- Listening away from home takes a Plex Pass or a Remote Watch Pass. That is Plex's rule for every app that plays from your server.
4. Let the analysis finish
After a large import, leave the server on overnight. The scan is quick, and the analysis that follows it is slow. A library that has only just been added looks the same to Lagu as one with no analysis at all, so a station that says it cannot find related songs on the first evening will usually work by morning.
5. Sign in from Lagu
Download Lagu for the devices you listen on. Desktop is free. The phone, tablet, and TV apps are $1.99 once, no subscription. On the first screen, Choose your server, pick Plex. Sign in with your Plex account, pick your server, and the library is there. Lagu has no account of its own.
If you have more than one music library on the server, Lagu browses them together. Music Libraries in Settings has a switch for each, so you can leave one out.
Keep it going
Add an album the same way every time. Tag it, file it, and let Plex scan. Playlists you make in Lagu, a mix you save, and a smart playlist made from one of Lagu's starters are all stored on your Plex server as ordinary playlists, so they show up in any other Plex app too.
Ratings, play counts, and playlists live on your server and follow you to every device, and your play history is what Lagu's stats and Wrapped are counted from.
Credits and sources
This guide leans on other people's work. Each project below is its own, with its own license and its own documentation, and theirs is the one to trust if it and this page ever disagree.
- Plex Media Server
The server, a free download from Plex. Plex is a trademark of Plex, Inc., and Lagu is independent of it.
- Plex support
Plex's own articles on adding a music library, naming and organizing music, sonic analysis and Plex Pass.
- MusicBrainz Picard MetaBrainz Foundation, GPL-2.0
A free tagger that matches whole albums against a public database.