Repository navigation
Music files
Server owners can let Plekstender work with the music files themselves:
- read their tags and show them next to Plex's
- fix tags by hand, from Plex, or from MusicBrainz
- identify unknown files by how they sound
- rename and move files into a tidy folder structure
Every change is previewed first, recorded, and can be undone.
-
Mount the folder. Mount your music folder read-write into the worker container (not the web container); see Installation.
-
Map it. On Settings → Music files, say where the music is:
-
as Plex sees it, e.g.
/data/musicin Plex's container -
as Plekstender's worker sees it, e.g.
/music
Plekstender checks the mapping with a few of your files.
-
as Plex sees it, e.g.
-
Scan. The scan reads every file's tags. Later scans only read files that changed.
-
Allow editing (on the same page) if you want to change files. Until then, everything is read-only.
Supported formats: FLAC, MP3, M4A/MP4, Ogg Vorbis, Opus, WAV and AIFF.
Album pages (for server owners) get:
- Tags in the files: each song's tags, with differences from Plex highlighted.
-
Artwork in the files:
- each song's embedded cover, and the cover/folder images in the album's folder, side by side
- oversized images flagged
- shrink them, embed a cover, or save one as the folder image
-
From album.nfo: what a Kodi-style
.nfofile says, if there is one.
Library → Tag editing lists the albums whose files need a look:
- files that differ from Plex
- files missing a title, artist, album or track number
- albums without a MusicBrainz ID
- files that can't be read
Each kind is a filter, with counts.
- By hand: Edit tags on an album page: album-wide fields, per-song track, title and artist, and More fields (original date, label, catalogue number, barcode, MusicBrainz IDs, disc, composer). Fill in from Plex copies Plex's values in.
- From Plex, in bulk: write Plex's titles, artists, album, numbers, year and genres into the files, for the whole library (Settings → Music files) or one artist (their page). You can also write your ratings into the files, in the formats other players read.
- From MusicBrainz: search for the album's release (or paste a MusicBrainz link), pick the right one by cover, date, country, format and label, check which file is which song, and apply. This writes MusicBrainz's tags and IDs, as Picard does.
Before anything is written, you see every change. Plex is asked to rescan the folders afterwards.
Settings → Music files → Unknown files lists files missing tags, not in Plex, or without a MusicBrainz ID:
- Plekstender identifies them by how they sound, using Chromaprint and AcoustID. It needs the admin's free AcoustID key.
- It suggests the recording and release.
- Apply a match the same way as from MusicBrainz.
Rename an album's or artist's files from a template. The default is Plex's own layout:
{albumartist}/{album}/[{disc}-][{track:02} - ]{title}
How the template works:
- Parts in
[…]are left out when a field in them is empty. -
{disc}is empty for one-disc albums.
A dry run comes first. It lists every move, plus anything that would clash or overwrite. Then you apply it. Empty folders left behind are removed.
Library → Lyrics does this for the whole library, and Library → Tag editing → Lyrics for the albums you've selected. Every song is looked up on LRCLIB, a free, open collection of lyrics:
- Look up. Nothing is written yet. It notes which songs already have lyrics.
- Check what was found: word-synced lyrics (each word timed), synced ones (each line timed), plain ones, instrumentals, and songs it couldn't find.
-
Write them. Choose any of:
-
Next to each song as .lrc or .txt: a
.lrcfile for synced lyrics, or a.txtfor plain ones, with the song's name. Plex reads these, and Plexamp shows synced lyrics in time with the music. -
Next to each song as a Lyricsfile: a
.lyricsfile.yaml(Lyricsfile), timed word by word when LRCLIB has that. LRCGET and some players read these. - In the tags: the plain text, inside the file.
-
Next to each song as .lrc or .txt: a
LRCLIB asks apps to look up no more than about 90 songs a minute, so a big library takes a while: roughly 1,000 songs every 15 to 25 minutes.
With Write lyrics as they're found ticked (when changing files is allowed), lyrics are written while the lookup runs, 50 songs at a time, as one edit: a long lookup that stops has already written what it found, and starting it again carries on. Songs looked up before are written straight away, without asking LRCLIB again.
While a lookup runs, the bell at the top shows how far it's got. Stop ends it and keeps what it found and wrote; starting again carries on. Cancel throws away what it found, and can take out the lyrics it wrote too (as one edit you can undo again).
Lyrics songs already have are kept unless you tick Replace lyrics songs already have. Writing them is one edit, which undo takes out again.
Library → Tag editing → Duplicate files finds songs you have more than once, for example an MP3 and a FLAC of the same recording:
- Files with the same artist and title, or the same MusicBrainz recording, and about the same length are compared by sound (Chromaprint). Only files that sound the same are listed, so a live version or a different song with the same name isn't.
- Each group suggests the copy to keep: lossless first, then the higher bitrate. Pick another, or keep them all.
-
Moving the others takes them, with their lyrics files, into a hidden folder in your music
folder,
.plekstender-duplicates. Plex doesn't look in hidden folders. Delete that folder when you're sure, or undo the edit to move them back.
Every change is grouped into an edit, such as "Applied MusicBrainz release … to 12 files" or "Renamed 240 files". You can see each file's, album's or artist's history.
- Undo puts back the values from before, for a whole edit or a few changes from it.
- If a file has changed since, that change is flagged rather than overwritten.
- A file's original tags are kept the first time Plekstender touches it, including embedded pictures.
Plekstender on GitHub · Not affiliated with or endorsed by Plex.
Setting up
Using Plekstender
- Library
- Rating
- Playlists
- History and stats
- Scrobbling
- Gigs
- Artwork
- Music files
- Notifications and profile
- Export and import
Help