Skip to content

feat: Change Artist to albumArtist from Plex to LastFM #362

@zeroquinc

Description

@zeroquinc

Please check existing knowledge before opening an issue

Describe the new functionality

Currently I tag my music library with MusicBrainz Picard, but Last.FM picks for example "2Pac feat. Dr Dre" as 1 artist.
This could be fixed partially by replacing the artist with the albumArtist field from Plex.

The title still won't fully match, but atleast the Artist would be tagged correctly as "2Pac" on Last.FM.

I also tried to strip the artists after the featuring like this:

[
  {
    "name": "MyPlexApi",
    "enable": true,
    "configureAs": "source",
    "clients": ["Multi-Scrobbler"],
    "data": {
      "token": "",
      "url": "",
      "usersAllow": [""],
      "librariesAllow": ["music"]
    },
    "options": {
      "logPayload": true,
      "logFilterFailure": "debug",
      "playTransform": {
        "preCompare": {
          "artists": [
            {
              "search": "(?i)(.*?)(?<delim>\\s*(?:feat(?:uring)?\\.?|ft\\.?|&|,)\\s*)(.*$)",
              "replace": "$1"
            }
          ]
        }
      }
    }
  }
]

But it doesnt seem to work sadly.

It seems to be already "fixed" on the Spotify side: #81

Do you know if this is possible? Thanks in advance!

Configuration Example

Will you help implement it?

  • I am willing to contribute code towards completing this feature
  • I am willing to help test preview builds for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions