Popular tracks

Currently im having a problem with popular tracks for Ariana Grande im not sure if i have this with others artist but im looking to resolve this. The only popular tracks are showing from one album but on last.fm it has all her data (im assuming its pulled from last.fm). The albums and tracks are organized using musicbrianz

Does it update if you refresh the metadata at the artist level ?

i tried that it didnt work :frowning: also did analyze and scan library

Are the albums reported as matched by plex ? You can use the advanced filter to find unmatched albums.

yes they are match i perform the search using the advanced filter and it didnt pop up in unmatched

Okay, just so we are talking about the same thing. If you go under your music library - then filter by albums and finally select unmatched ? This comes back clear with none of the albums listed.

Screenshot from 2024-08-07 17-13-11

If so can you let me know how the files are organised (screenshot if you can) ? Also, could you upload plex server logs after a scan and metadata refresh of the artist so we can review the logs and see if something is amiss.

Yes thats what i did and did not see the albums/artist there. This is how the files are organized and here are the logs

Not seeing anything obvious in your logs bar the fact the files are opus (I don’t use this format myself).

You say you have tagged everything with musicbrainz, could you show me the tags from the \Ariana Grande\Positions (Deluxe) album. Also, do you have Prefer local metadata enabled on your music library ?

Finally, does a full plex dance (all steps) of all the Ariana Grande albums (best to do it at the artist level) fix the problem ?

1 Like

Click several times on “Show More”.
Are there really only tracks from one of the albums, or are the others just pushed to the bottom by a very popular album?

ok yes that worked what a relieve ill be mindful of that in the future

1 Like

no it didnt i just had her songs from sweetener in the top spot. But i guess when editing all the metadata and changing it plex might need a plex dance for various reasons so ill keep that in mind going forward

Cool you got sorted. I’ve found when using embedded tags with music and Prefer local metadata that if you change them plex sometimes does not do a good job of picking up changes. It kinda depends on the tags being changed. Anyhow, a plex dance sorts it out when that happens.

Ohh i forgot to say yes i do have prefer local metadata enabled for sure. Yeah last.fm artist pictures etc is not up to par so ill be editing all that stuff. Definitely will be a multi year project but having the right tools and seeing it all on plex makes it fun

Music + Plex = Labour of Love :slight_smile:

I’ll pass some of my own advice, ignore or take it as you will. I’ve 1167 artists, 9198 albums and over 133k tracks all of which are tagged using musicbrainz picard and matched 100%.

Read this → [HowTo] Configure Plex to use embedded metadata (music) if you have not already. It’s invaluable and especially important when using embedded tags.

I really struggled with popular tracks when I started using plex due to how the plex scanner works and thus how is builds the popular tracks list. I wrote this long winded procedure [HowTo] Configure Popular Tracks Section to Prioritise Albums over every other release type! to get around its short comings regarding multiple tracks with the same name across multiple album releases (album vrs live). You may or may not find it useful.

As your using musicbrainz picard to tag, this filename renaming snippet might be helpful to you (its what I use myself):

$if2(%albumartist%,%artist%)/
$rreplace($if(%albumartist%,%album%),[:"], - ) ($left(%date%,4)) [%releasetype%]/
$if($gt(%totaldiscs%,1),%discnumber%,)
$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2),) - %title%

and I also set the following within the scripting - enable tagger scripts options:

$set(artistsort,%albumartist%)
$set(albumartistsort,%albumartist%)
$set(albumsort,%album%)
$set(date,$if2(%originaldate%,%date%))

Again, I find these useful but your own mileage may vary depending on your use case.

2 Likes

Dam thats alot of work but super dope. Im not sure exactly what the scripting you provide does. You’ll have to break it down for me

Okay, it looks complicated but its actually simple enough. Lets use Ariana Grande and the Positions album → https://musicbrainz.org/release/3582ded5-2da8-4b14-b446-3ea66d45a403?tport=8000.

  1. First line works out the artist name, so it will use “Ariana Grande”.
  2. Second line works out the album name. adding the date (in 4 digit format) and adds the release type, so in this example it will use “Positions (2020) [album]”
  3. Third detects if multiple disks are used and if there is more than one then adjust the track numbering to include disk number at the beginning.
  4. Finally, fourth line works out the track number (in 2 digit format) and then adds the title, so it will use, 01 - shut up.ext. NOTE: If this was a multiple disk then it would be 101 - shut up.ext.

This follows the plex naming for music media as called out https://support.plex.tv/articles/200265296-adding-music-media-from-folders. In this example then you end up with …

\Ariana Grande\Positions (2020) [album]\01 - shut up.ext

… as your renamed media.

1 Like

since it works out release types i assuming adding album at the end is definitely helpful. As i was deciding should i keep singles in a separate folder as there can be many for an artists. I add this in the Options>Scripting and add new tagger im assumng

No, it isn’t.
Release types are fetched from the Musicbrainz database. If you want to override this, use RELEASETYPE meta tags. (Only obeyed if “prefer local metatags” is enabled.)

See Plex Media Server 1.27.2.5929 - support for release type embedded tags - #33 by certuna for details.

Oh i see i think i got this confuse the the Renaming the folder. Im fine with MusicBrainz tagging i dont need to override that. If an artist has alot of singles should i put it in a separate folder called singles? How do you organize it?

Otto is right, all of this specific scripting is for media filename and folder naming. It has nothing to do with your embedded tags. I include the release type in the folder so I can control the how the plex scanner scans things based on timestamps as described [HowTo] Configure Popular Tracks Section to Prioritise Albums over every other release type!.

You can remove that if its not of interest to you by changing $rreplace($if(%albumartist%,%album%),[:"], - ) ($left(%date%,4)) [%releasetype%]/ to $rreplace($if(%albumartist%,%album%),[:"], - ) ($left(%date%,4))/

For the release types and embedded tags, ensure you have the tag releasetype within musicbrainz.

Screenshot from 2024-08-09 18-41-05

1 Like