Skip to content

bug: Plex Retrieve MusicBrainz ID's using incorrect MBID for tracks? #447

@jimbob1001

Description

@jimbob1001

Please check existing knowledge before opening an issue

Describe the Bug

TLDR: Apologies for the long convoluted post and sorry if i've got this wrong but wondering should MusicBrainz Recording ID be returned for track scrobbles, instead of MusicBrainzTrack ID

I was interested in the new feature mentioned in the changelog...

(plex) Retrieve MusicBrainz IDs #426 thanks @owendaprile

However upon having a play with this feature I'm wondering if there is a bug as although the tracks seem to appear correctly on the listenbrainz 'Recent Listens' page if I then click on the track name link on listenbrainz it says...

Page not found
404: Recording 608f4314-aced-4171-9ffa-ded268a5e905 not found in the metadata cache

https://listenbrainz.org/track/608f4314-aced-4171-9ffa-ded268a5e905

I believe that the listenbrainz page is expecting the Recording ID to match a track, but multi-scrobbler is returning the Track ID. Here is the same link replaced with the Recording ID...
https://listenbrainz.org/track/895096ba-b5be-4f85-94bf-b070485d196c

It seems that the Track ID actually refers to the track just within the albums track listing, as can be seen on this page...
https://musicbrainz.org/release/4ed6bc07-ecce-488a-8b51-c9a897b9dd5c/disc/1#608f4314-aced-4171-9ffa-ded268a5e905

The MusicBrainz Recording ID is actually the ID for each particular track and it's associated metadata...
https://musicbrainz.org/recording/895096ba-b5be-4f85-94bf-b070485d196c

I think what is confusing is that listenbrainz page links contain the word "track" in the URL, but musicbrainz links to the same track contain the word "recording" in the url

Below is some further data - Particularly note that the 'Inspect Listen' data does not contain the tracks Recording ID at all, only the Track ID

PMS Version 1.43.0.10389
Plex Music Library uses Plex Music scanner/agent (with Prefer local metadata).
All albums are scanned through musicbrainz picard before adding to plex
All artists/albums are matched in plex

Example track: Limp by Drop Nineteens

Musicbrainz IDs in file metadata...

**Track**
MusicBrainz Recording ID: 895096ba-b5be-4f85-94bf-b070485d196c
MusicBrainz Track ID: 608f4314-aced-4171-9ffa-ded268a5e905

**Album**
MusicBrainz Release ID: 4ed6bc07-ecce-488a-8b51-c9a897b9dd5c
MusicBrainz Release Group ID: b38f6072-38c4-30f8-bb4a-c313455c4ca7

**Artist**
MusicBrainz Artist ID: 266f5184-d8ab-40c3-9af2-b0c615b37b53
MusicBrainz Release Artist ID: 266f5184-d8ab-40c3-9af2-b0c615b37b53

Inspect listen info on listenbrainz...

{
  "inserted_at": 1768820216,
  "listened_at": 1768819918,
  "recording_msid": "6ff182a6-3946-4710-8dcf-3cc2b2add25e",
  "track_metadata": {
    "additional_info": {
      "artist_mbids": [
        "266f5184-d8ab-40c3-9af2-b0c615b37b53"
      ],
      "artist_names": [
        "Drop Nineteens"
      ],
      "duration": 199,
      "music_service_name": "Plex",
      "recording_mbid": "608f4314-aced-4171-9ffa-ded268a5e905",
      "recording_msid": "6ff182a6-3946-4710-8dcf-3cc2b2add25e",
      "release_mbid": "4ed6bc07-ecce-488a-8b51-c9a897b9dd5c",
      "submission_client": "multi-scrobbler",
      "submission_client_version": "0.11.0",
      "track_mbid": "608f4314-aced-4171-9ffa-ded268a5e905"
    },
    "artist_name": "Drop Nineteens",
    "mbid_mapping": {
      "recording_mbid": "608f4314-aced-4171-9ffa-ded268a5e905"
    },
    "release_name": "National Coma",
    "track_name": "Limp"
  },
  "user_name": "jimbob100101"
}

Cheers,
Jimbob

Platform

Docker

Versions

  • multi-scrobbler: v.0.11.0 on docker
  • listenbrainz client
  • last.fm client
  • plex source

Logs

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions