regosen / get_cover_art

Batch cover art downloader and embedder for audio files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: User Defined List of Strings to Exclude When Searching for Artists or Albums

classicjazz opened this issue · comments

Users should have the option to define specific strings that will be stripped from the artist or album tag to increase the likelihood of a match, without having identical artist/album names to those listed in Apple Music. Ideally, this would be defined in a text file.

For example, I would like to exclude the following strings:

(Children’s)
(Christmas)
(Holiday)
[Live]
(Live)
and his orchestra
& his orchestra
and her orchestra
& her orchestra
: music from the original motion picture
 - music from the motion picture
(original soundtrack)

or even

(wildcard)
[wildcard]

Expanding upon the wildcard concept, adding " feat. *" and " feat *" would likely fix songs which include a feature artist that is different from the primary artist

I'm not sure I understand this. get_cover_art doesn't use the song title when searching for matches, only the artist and album. It only uses the title for outputting the artwork filename (and only if the user specified it in art-dest-filename or external-art-filename)

Sorry, I meant songs...

I believe that get_cover_art is doing a lookup for each song using existing [artist] and [album] metadata. If there is extraneous metadata, it causes the search to fail even though Apple Music has the artwork for that album.

Currently, punctuation is removed but--reviewing my skip_artwork.txt--get_cover_art appears to not strip parenthetical data (i.e. words in parentheses or brackets in the artist or album field) or words in the artist name including "feat. [name of featured artist]".

For example, George Strait Feat Willie Nelson - Honky Tonk Time Machine should be normalized to
[George Strait] and [Honky Tonk Time Machine]

As noted initially, other extraneous data that causes the search to fail include user-added parentheticals such as (holiday) or different stylings of an artist name such as the inclusion of "and his orchestra" for classical music/big band. Similarly, motion picture album metadata may have a lot of variants, so reducing the search term in the soundtrack album name will improve results.

For example, Celine Dion - Deadpool 2 Original Motion Picture Soundtrack should be normalized to
[Celine Dion] and [Deadpool 2]