Plex sorting artist by LASTNAME

I ran my whole music collection through Picard which did an excellent job tagging my files, but now Plex is using the “album sort artist” tag from Picard to sort all my music artists by last name. This is driving me cray. I would much rather have it sort by first name.

How do I fix this in Plex?
Do I have to remove all those tags and re-import?
Is there a way to make Plex ignore the “Artist sort order” tag?

Considering Plex doesn’t distinguish between first and last name, there’s no way it can reverse this for you. If you added that sort title via Picard, you’ll need to check there if it can also re-tag those files with a first name / last name schema (vs. last name / first name)

No option to ignore the sort name if you’re sorting by title / name.

Well Plex could choose to ignore that tag and just use the “artist” field. There could be a little tick box. This is an issue now that plex has adopted musicbrainz tagging schemes.

You can:

  1. select all artists (select the first, click Shift, select the last)
  2. click Edit
  3. clear Sort Artist (the field should show MIXED)
  4. click Save Changes

This field exists particularly to overwrite the Artist Name for sorting purposes… if you don’t want the artists to be sorted differently, you should consider not adding a tag for that.

Thanks. I tried that but it was greyed out

What is greyed out?
The dialog should look like this – just overwrite (or clear) the placeholder that says MIXED
Bildschirmfoto 2020-01-16 um 23.59.14

You can’t clear the ‘Mixed’ text. All you can do is overwrite it to something else.

I should say, if you clear the ‘MIXED’ text by typing a letter, then erasing it, it doesn’t change the tag when you save it.

@Explorer_200 I think your only recourse is to go back into Picard, or some other tag editor, and remove the artistsort tags that way.

You’re right.
However… you can overwrite MIXED with the same value for all the artists (e.g. Hello World). When you then re-edit the artists, you can clear the field (just tested with a test library on my server)

Yeah, that would work. Make sure you lock the field, though, or the next metadata refresh will put it back. And, with the ongoing issue of the lock not always preventing overwrites, I think the most reliable method is to clear the tag in the files themselves.

1 Like

I was lucky enough to spot the sorting order issue cause by Picard soon enough, it was easy to fix.

You can set some options in Picard in the “Scripting” section. I created 2 scripts, the first one:

$set(artistsort,%artist%)
$set(albumartistsort,%albumartist%)

which sets the sorting order to the Album Artist, which is usually FirstName_LastName.

That worked well, until I realized that it would set the sorting in Plex to “The Beatles” instead of just “Beatles”.

So I disabled that script, and created a new one, that removes the sort tags downloaded from MusicBrainz before they are written to the file. Seems to work properly (for now :thinking: )

$delete(artistsort)
$delete(albumartistsort)

Try them and see which one works best for you.

2 Likes

Thanks,
This looks like the best answer for now! :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.