#metabrainz

/

      • Toasty has quit
      • 2025-02-15 04621, 2025

      • minimal has quit
      • 2025-02-15 04612, 2025

      • function1_ has quit
      • 2025-02-15 04630, 2025

      • function1 joined the channel
      • 2025-02-15 04607, 2025

      • MonkeyPython has quit
      • 2025-02-15 04632, 2025

      • MonkeyPython joined the channel
      • 2025-02-15 04605, 2025

      • lucifer[m]
        salaxceitor: you can import a bunch of incremental dumps for listens. for other metadata, we unfortunately don't have smaller dumps yet.
      • 2025-02-15 04616, 2025

      • Kladky joined the channel
      • 2025-02-15 04649, 2025

      • d4rkie_ joined the channel
      • 2025-02-15 04651, 2025

      • d4rk-ph0enix has quit
      • 2025-02-15 04628, 2025

      • mayhem[m]
        lucifer: do you have experience using python's authlib for oauth2 stuff? my lb-local use of authlib is probably riddled with bugs and issues...
      • 2025-02-15 04656, 2025

      • HemangMishra[m] joined the channel
      • 2025-02-15 04656, 2025

      • HemangMishra[m]
        <raven0us> "jasje aerozol..." <- aerozol: jasje While implementing we noticed that we missed the design of list view of UserPlaylistScreen. The design has been added. Please review it.
      • 2025-02-15 04656, 2025

      • HemangMishra[m]
      • 2025-02-15 04656, 2025

      • HemangMishra[m]
        Also the search bar has been updated to match the existing designs. Please let me know if any further changes are required.
      • 2025-02-15 04647, 2025

      • jasje[m] joined the channel
      • 2025-02-15 04647, 2025

      • jasje[m]
        <HemangMishra[m]> "aerozol: jasje While implementin..." <- Lgtm, left some comments
      • 2025-02-15 04653, 2025

      • pite has quit
      • 2025-02-15 04600, 2025

      • MyNetAz has quit
      • 2025-02-15 04655, 2025

      • MyNetAz joined the channel
      • 2025-02-15 04636, 2025

      • Toasty joined the channel
      • 2025-02-15 04609, 2025

      • ansh[m] has quit
      • 2025-02-15 04632, 2025

      • salaxceitor[m]
        lucifer: sounds good, thank u
      • 2025-02-15 04644, 2025

      • salaxceitor[m]
        are there any docs on how to import dumps? could not found anything other than this https://listenbrainz.readthedocs.io/en/latest/use…
      • 2025-02-15 04636, 2025

      • salaxceitor[m]
        oooh sorry, didn't check the commands section
      • 2025-02-15 04646, 2025

      • salaxceitor[m]
        i am super confused though after reading the import_dump method doc (https://listenbrainz.readthedocs.io/en/latest/dev…)
      • 2025-02-15 04657, 2025

      • salaxceitor[m]
        specifically, i don't know how to map private_archive, private_timescale_archive, public_archive, public_timescale_archive args to the corresponding files in https://ftp.musicbrainz.org/pub/musicbrainz/liste…
      • 2025-02-15 04635, 2025

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #3181 (03master…dependabot/npm_and_yarn/dompurify-3.2.4): Bump dompurify from 2.5.4 to 3.2.4 https://github.com/metabrainz/listenbrainz-server…
      • 2025-02-15 04647, 2025

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #3180 (03master…dumps-compression): Use zstd compression for parquet dumps https://github.com/metabrainz/listenbrainz-server…
      • 2025-02-15 04627, 2025

      • BrainzGit
        [listenbrainz-server] release 03v-2025-02-15.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/listenbrainz-server…
      • 2025-02-15 04658, 2025

      • lucifer[m]
        <mayhem[m]> "lucifer: do you have experience..." <- mayhem: yes
      • 2025-02-15 04602, 2025

      • mayhem[m]
        when you have a minute, please help me understand a few things:
      • 2025-02-15 04603, 2025

      • mayhem[m]
      • 2025-02-15 04618, 2025

      • mayhem[m]
        see TODOs labeled with oauth2
      • 2025-02-15 04648, 2025

      • lucifer[m]
        <salaxceitor[m]> "specifically, i don't know how..." <- the private dumps are only for LB internal consumption and are not made public. you can see a dump with timescale in its name, one with just public and one with listens. you can use those.
      • 2025-02-15 04603, 2025

      • salaxceitor[m]
        lucifer: awesome, thanks you,
      • 2025-02-15 04618, 2025

      • salaxceitor[m]
        managed to import listens, and I've working now on setting up the metadata cache
      • 2025-02-15 04626, 2025

      • pite joined the channel
      • 2025-02-15 04638, 2025

      • salaxceitor[m]
        I succesfully run the mbid-mapping commands to build the metadata cache tables, but for example, when I enter an artist page, i get the following error: 404: artist c8b03190-306c-4120-bb0b-6f2ebfc06ea9 not found in the metadata cache
      • 2025-02-15 04607, 2025

      • salaxceitor[m]
        should this data be imported too? or how can i do to populate it?
      • 2025-02-15 04659, 2025

      • lucifer[m]
        mayhem: authlib already has the token in that request so it doesn't need to call your function to get that token. it caches the token received from MB in `flask.g`. if you made another api call to your lb local server that further called MB apis, authlib would call your function to get the token.
      • 2025-02-15 04620, 2025

      • lucifer[m]
        what are you trying to do? if you want to create users in that function, you already have access to the token and can just do that. i am assuming you are referring to the /auth method fwiw.
      • 2025-02-15 04653, 2025

      • mayhem[m]
        the auth method, in part yes.
      • 2025-02-15 04611, 2025

      • mayhem[m]
        I'm loading and creating users there and storing the token in the DB.
      • 2025-02-15 04640, 2025

      • mayhem[m]
        so, this is not needed?
      • 2025-02-15 04641, 2025

      • mayhem[m]
      • 2025-02-15 04657, 2025

      • lucifer[m]
        i see so you need to do that manually and instead of storing in session use flask-login to use the login_required decorator
      • 2025-02-15 04607, 2025

      • mayhem[m]
        and creating/loading users in the auth endpoint is working great and if that is a correct use, then all good.
      • 2025-02-15 04613, 2025

      • lucifer[m]
        i can wire it up in an hour or two if you want.
      • 2025-02-15 04627, 2025

      • mayhem[m]
        I would love that.
      • 2025-02-15 04636, 2025

      • lucifer[m]
        sure will do
      • 2025-02-15 04640, 2025

      • mayhem[m]
        because it would take me muuuch longer.
      • 2025-02-15 04652, 2025

      • mayhem[m]
        I'll go work on other things, like the UI for adding subsonic serivces.
      • 2025-02-15 04624, 2025

      • lucifer[m]
        salaxceitor: you need a copy of MB db, full if you want to access any artist etc, partial if you just want a selected subset (might not match with the artists in your listens) to generate metadata cache locally.
      • 2025-02-15 04635, 2025

      • lucifer[m]
        there is unfortunately no way to import that atm afair
      • 2025-02-15 04656, 2025

      • salaxceitor[m]
        lucifer: yes I have musicbrainz containers running and on the same network as lb containers, so how can I populate/generate the metadata cache?
      • 2025-02-15 04652, 2025

      • lucifer[m]
        salaxceitor: check the mbid_mapping directory and README file inside it. if that doesn't help, ping me again and i can help with specific commands
      • 2025-02-15 04624, 2025

      • salaxceitor[m]
        lucifer: yes I've been using that readme to run some of the available commands, for example this one:... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/UXcnQQuZnswADWgeFOXsvrEi>)
      • 2025-02-15 04643, 2025

      • lucifer[m]
        did you import a dump in your MB db?
      • 2025-02-15 04658, 2025

      • salaxceitor[m]
        yes
      • 2025-02-15 04648, 2025

      • salaxceitor[m]
        the commands for the canonical data tables seem to have worked, they all have data
      • 2025-02-15 04659, 2025

      • lucifer[m]
        hmm i see
      • 2025-02-15 04614, 2025

      • lucifer[m]
        so you have data in canonical_musicbrainz_data table?
      • 2025-02-15 04645, 2025

      • salaxceitor[m]
        correct yes, with data
      • 2025-02-15 04629, 2025

      • d4rkie_ has quit
      • 2025-02-15 04653, 2025

      • d4rk-ph0enix joined the channel
      • 2025-02-15 04623, 2025

      • lucifer[m]
        mayhem: pushed the changes, i have code to refresh the token as well but need to wait an hour to test that logic.
      • 2025-02-15 04651, 2025

      • lucifer[m]
        * i have added code to
      • 2025-02-15 04653, 2025

      • mayhem[m]
        thank you! let me get to a stopping point and then pull.
      • 2025-02-15 04659, 2025

      • lucifer[m]
        salaxceitor: are you able to build any of the other caches?
      • 2025-02-15 04602, 2025

      • minimal joined the channel
      • 2025-02-15 04619, 2025

      • salaxceitor[m]
        lucifer: yeah I think so, don't remember exactly, will check when I get back home
      • 2025-02-15 04656, 2025

      • BrainzGit
        [listenbrainz-android] 1407jasjeet merged pull request #548 (03main…adaptive_ui_for_orientation_changes): feat: made the ui adaptive for orientation changes https://github.com/metabrainz/listenbrainz-androi…
      • 2025-02-15 04636, 2025

      • zas[m] joined the channel
      • 2025-02-15 04636, 2025

      • zas[m]
        lucifer: mayhem listenbrainz is down, kiss & gaga out of disk space
      • 2025-02-15 04644, 2025

      • mayhem[m]
        yeah, on it.
      • 2025-02-15 04649, 2025

      • mayhem[m]
        gaga too. geh.
      • 2025-02-15 04653, 2025

      • mayhem[m]
        gaga is at 92%
      • 2025-02-15 04646, 2025

      • mayhem[m]
        ok, everything is recovering now.
      • 2025-02-15 04651, 2025

      • bitmap[m]
        https://test.musicbrainz.org/ is back and hosted on selda now, so should be much more reliable
      • 2025-02-15 04638, 2025

      • Toasty has quit