Skip to content

Commit c028948

Browse files
authored
Merge pull request #1833 from 0w0v/master
add & and ft. to artist feat strip
2 parents 34ca56d + f650031 commit c028948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tauon/t_modules/t_extra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ def filename_to_metadata(filename: str) -> tuple[str, str]:
886886
def get_artist_strip_feat(track_object: TrackClass) -> str:
887887
artist_name = track_object.artist #.lower()
888888
if track_object.album_artist:
889-
if "feat." in artist_name or "pres." in artist_name or ", " in artist_name or "; " in artist_name or not artist_name:
889+
if "feat." in artist_name or "pres." in artist_name or ", " in artist_name or "; " in artist_name or "& " in artist_name or "ft. " in artist_name or not artist_name:
890890
if track_object.album_artist.lower() != "va" and \
891891
track_object.album_artist.lower() != "various artists":
892892
artist_name = track_object.album_artist

0 commit comments

Comments
 (0)