Skip to content

ftintitle: featured artists stay in artist when artist_credit: yes #7234

Backlog

Description

@Fuxino

Problem

With artist_credit: yes, ftintitle's trackinfo_received/albuminfo_received handlers (added in #6726) have no effect: the featured artist ends up in artist on import and mbsync.

The handlers split info.artist, but Info.raw_data then replaces artist with artist_credit, which still
contains the featured artist. #6726 deferred artist_credit handling to a separate change; I couldn't find a
follow-up issue.

Steps to reproduce

Config:

artist_credit: yes
plugins: musicbrainz mbsync ftintitle
ftintitle:
  drop: yes

Any track with a featured artist, e.g. "Paradise (What About Us?)" from Within Temptation's EP of the same name
(2013), credited to "Within Temptation feat. Tarja", with artist already set to "Within Temptation":

$ beet -v mbsync -p 'album:Paradise (What About Us?)'
ftintitle: artist: Within Temptation feat. Tarja -> Within Temptation
Within Temptation - Paradise (What About Us?) (2013)[EP] - Paradise (What About Us?)
  artist: Within Temptation -> Within Temptation feat. Tarja

ftintitle logs the split, but the unsplit credit is what gets applied.

Expected

artist stays Within Temptation (with drop: yes), or feat. Tarja moves to the title without drop.

Suggested fix

In FtInTitlePlugin.update_metadata, when the metadata is an Info and artist_credit is set, split
artist_credit too, so the result survives the swap in raw_data.

Setup

  • beets 2.14.1 (Arch Linux package), Python 3.14
  • ftintitle auto: yes (default)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ftintitle

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions