Sure thing! Sorry for the delayed response.
The command line argument to analyze, when run at the library level, scans the artist folders since that is how they were organized through Lidarr. What I figured out through some testing in the app is the analysis needed to be run at the album level instead.
I’m sure there is a way to make that happen on the command line, but it was easier for me to use the python API instead to access that information:
from plexapi.server import PlexServer
baseurl =
token =
# Set baseurl and token above
plex = PlexServer(baseurl, token)
# Insert Library name in the ''
music = plex.library.section('')
# This runs through each album and analyzes it
for album in music.albums():
album.analyze()
Once I used that python script to make Plex do analysis on the albums, they are technically queued up for loudness analysis by default since it has re-read all of the info. This brings you to two options:
- Let your server run analysis at the normally set time like it would any other file
- Use the command line argument to run loudness analysis manually:
/path/to/Plex Media Scanner --analyze-loudness --section <sectionID>
I’m not sure why the loudness command isn’t on the wiki page mentioned above. Though when it does get added, there definitely needs to be a disclaimer about where the analysis can apply.
I hope this helps! Sorry again for the delayed response. Let me know if you need anything else!
~Matt