Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrobble history import #19

Open
lzbk opened this issue Mar 29, 2024 · 2 comments
Open

scrobble history import #19

lzbk opened this issue Mar 29, 2024 · 2 comments
Assignees

Comments

@lzbk
Copy link

lzbk commented Mar 29, 2024

A great feature would be to be able to import scrobble history from other platforms (even if we can forward scrobbles to last.fm), so that our whole history can be in hacienda…

Certain sites provide json export of last.fm profile, such as https://lastfm.ghan.nl/export/index.html / https://mainstream.ghan.nl/export.html and some fun tools https://mainstream.ghan.nl/

importing such json could be a good starting point.

@mattl mattl self-assigned this May 1, 2024
@mattl
Copy link
Member

mattl commented May 1, 2024

Absolutely. This is something I plan to offer.

@inan-hira
Copy link

While it is not working properly at the moment, ListenBrainz has an export page for the listens and likes/dislikes. The JSON data provided seems to be pretty detailed, with links to the MusicBrainz data:

[
[...]
  {
    "track_metadata": {
      "track_name": "2 Wheel Nation",
      "artist_name": "Acid King",
      "release_name": "III",
      "additional_info": {
        "duration_ms": 323000,
        "submission_client": "Pano Scrobbler",
        "submission_client_version": "3.27 - 2024, Mar 25",
        "recording_msid": "3ad5b1d0-f09d-420b-b9fa-28aa3f454401"
      },
      "mbid_mapping": {
        "recording_mbid": "28b50c59-77e4-4254-a0bd-16797ddaa3ca",
        "recording_name": "2 Wheel Nation",
        "release_mbid": "b471e55e-68ef-4833-b3bb-c2a7417ee1f1",
        "artists": [
          {
            "artist_mbid": "1fc5d8e8-240c-4c0e-85b5-d5a2650a362c",
            "artist_credit_name": "Acid King",
            "join_phrase": ""
          }
        ],
        "artist_mbids": [
          "1fc5d8e8-240c-4c0e-85b5-d5a2650a362c"
        ],
        "caa_id": 15509452814,
        "caa_release_mbid": "b471e55e-68ef-4833-b3bb-c2a7417ee1f1"
      }
    },
    "listened_at": 1721929254,
    "recording_msid": "3ad5b1d0-f09d-420b-b9fa-28aa3f454401",
    "user_name": "USERNAME",
    "inserted_at": 1721929405
  },
[...]
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants