Plex Music Scanner - Fixes?

Plex Music Scanner is set to expect to find song titles in albums. This is fine if you have the whole album, the album info etc. But not good for singles. also having full albums is now the exception to the way people consume music in these days.

 

And so I found I was getting a lot of [Unknown Album] tags.

 

So I edited the Plex Music Scanner.py

 

So that lines 41 & 42 are:

 

if album == None or len(album.strip()) == 0:
        album = title

 

So that is no album info is found then it uses the title instead of adding [Unknown Album].

 

This has the advantage that the Lastfm agent then also will feed either album art or single art work instead of getting the Unknown Album art work.

 

HOWEVER I found the the PLEX server will note that the scanner has been changed and 'fix' it back to it original code!

 

___________________________

 

It would be great if the Lastfm agent cannot feed the artist art background to instead uses the poster or album artwork instead of leaving the background blank and vice versii.

 

___________________________

 

Another problem found with the Lastfm scanner are artists that have: 

 

commas and And &

 

or other symbols in their name.

Lastfm has various names listed for these artists e.g. Crosby Stills and Nash:

 

The same problem applies for song titles with symbols

 

So a media item

Crosby Stills and Nash - Suite Judy Blue Eyes

which correctly should be labelled:

Crosby, Stills and Nash - Suite: Judy Blue Eyes

 

cannot be matched by Lastfm

so no metadata

no artist artwork, no backgrounds

no album

not art work or info at all.

 

I decided to add music to my libraries today and I am encountering these issues.

Half of my music library is "unknown". I will try your fix guydev, thank you.

This has the advantage that the Lastfm agent then also will feed either album art or single art work instead of getting the Unknown Album art work.

HOWEVER I found the the PLEX server will note that the scanner has been changed and 'fix' it back to it original code!

I don't think this change would be universally desired, so it's unlikely that it will be added to the official Scanner.  However, you can create your own scanner and place it in a directory called Artists or Albums inside the Scanners directory in the Media Server Application Support directory and it will not be overwritten.

Another problem found with the Lastfm scanner are artists that have: 

commas and And &

or other symbols in their name.

Lastfm has various names listed for these artists e.g. Crosby Stills and Nash:

 
Unfortunately there are some issues with the search capability on Last.fm that are beyond our control.  Your best bet in these cases is probably a manual "Fix Match" setting the artist or album name to be exactly as it appears on Last.fm, and possibly omitting the special characters.

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