Migrate Dagon to Tomie #27

Closed
opened 2 years ago by inhji · 8 comments
inhji commented 2 years ago
  • Create Tables
  • Create Workers
    • Listenbrainz Worker
    • Refactor Listenbrainz Worker
    • Discogs Worker
  • Listens UI
    • Artists UI
    • Albums UI
    • Tracks UI
    • Listens UI
- [x] Create Tables - [x] Create Workers - [x] Listenbrainz Worker - [x] Refactor Listenbrainz Worker - [x] Discogs Worker - [ ] Listens UI - [ ] Artists UI - [x] Albums UI - [ ] Tracks UI - [x] Listens UI
inhji added the
MASSIVE
label 2 years ago

Sample Record from Listenbrainz export

%{
  "listened_at" => 1587510712,
  "recording_msid" => "1447c42c-4935-47f1-ae3c-8fbf60233a47",
  "track_metadata" => %{
    "additional_info" => %{
      "artist_mbids" => [],
      "artist_msid" => "1c368dea-1e36-45b7-a373-e29ff2d4c8e9",
      "isrc" => "",
      "recording_mbid" => "",
      "recording_msid" => "1447c42c-4935-47f1-ae3c-8fbf60233a47",
      "release_group_mbid" => "",
      "release_mbid" => "",
      "release_msid" => "0458d2cc-f4c0-4aff-b796-49d9366c363f",
      "spotify_id" => "",
      "tags" => [],
      "track_mbid" => "",
      "tracknumber" => nil,
      "work_mbids" => []
    },
    "artist_name" => "Floex & 65daysofstatic",
    "release_name" => "Zorya",
    "track_name" => "Blow Up"
  },
  "user_name" => "inhji"
}

Sample Record from Listenbrainz export ```elixir %{ "listened_at" => 1587510712, "recording_msid" => "1447c42c-4935-47f1-ae3c-8fbf60233a47", "track_metadata" => %{ "additional_info" => %{ "artist_mbids" => [], "artist_msid" => "1c368dea-1e36-45b7-a373-e29ff2d4c8e9", "isrc" => "", "recording_mbid" => "", "recording_msid" => "1447c42c-4935-47f1-ae3c-8fbf60233a47", "release_group_mbid" => "", "release_mbid" => "", "release_msid" => "0458d2cc-f4c0-4aff-b796-49d9366c363f", "spotify_id" => "", "tags" => [], "track_mbid" => "", "tracknumber" => nil, "work_mbids" => [] }, "artist_name" => "Floex & 65daysofstatic", "release_name" => "Zorya", "track_name" => "Blow Up" }, "user_name" => "inhji" } ```

So using msid as unique identifier should work better, compared to just relying on artist/album names

So using msid as unique identifier should work better, compared to just relying on artist/album names

Maybe save artist per track instead of per album to better handle compilations, remix albums, etc

Maybe save artist per track instead of per album to better handle compilations, remix albums, etc

Implement worker first listenbrainz worker, that doesn't save anything and just outputs listens to console

Implement worker first listenbrainz worker, that doesn't save anything and just outputs listens to console

use release_msid for albums, this way we group different recordings of the same album together

use release_msid for albums, this way we group different recordings of the same album together

use release_msid for albums, this way we group different recordings of the same album together

we already do that

> use release_msid for albums, this way we group different recordings of the same album together we already do that

Implement worker first listenbrainz worker, that doesn't save anything and just outputs listens to console

Nope, went straight to the real deal :)

> Implement worker first listenbrainz worker, that doesn't save anything and just outputs listens to console Nope, went straight to the real deal :)
When searching for artists, check for - [x] MSID - [x] Artist Name When searching for albums, check for - [x] MSID - [x] Album Name - [x] Artist Id Change here: - https://git.inhji.de/inhji/tomie/src/branch/master/apps/listens/lib/listens/workers/listenbrainz/handler.ex#L66 - https://git.inhji.de/inhji/tomie/src/branch/master/apps/listens/lib/listens/workers/listenbrainz/handler.ex#L118
inhji closed this issue 2 years ago
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.