#metabrainz

/

      • Toasty has quit
      • minimal has quit
      • function1_ has quit
      • function1 joined the channel
      • MonkeyPython has quit
      • MonkeyPython joined the channel
      • lucifer[m]
        salaxceitor: you can import a bunch of incremental dumps for listens. for other metadata, we unfortunately don't have smaller dumps yet.
      • Kladky joined the channel
      • d4rkie_ joined the channel
      • d4rk-ph0enix has quit
      • 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...
      • HemangMishra[m] joined the channel
      • 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.
      • Also the search bar has been updated to match the existing designs. Please let me know if any further changes are required.
      • jasje[m] joined the channel
      • jasje[m]
        <HemangMishra[m]> "aerozol: jasje While implementin..." <- Lgtm, left some comments
      • pite has quit
      • MyNetAz has quit
      • MyNetAz joined the channel
      • Toasty joined the channel
      • ansh[m] has quit
      • salaxceitor[m]
        lucifer: sounds good, thank u
      • are there any docs on how to import dumps? could not found anything other than this https://listenbrainz.readthedocs.io/en/latest/u...
      • oooh sorry, didn't check the commands section
      • i am super confused though after reading the import_dump method doc (https://listenbrainz.readthedocs.io/en/latest/d...)
      • 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/lis...
      • 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-serv...
      • [listenbrainz-server] 14amCap1712 merged pull request #3180 (03master…dumps-compression): Use zstd compression for parquet dumps https://github.com/metabrainz/listenbrainz-serv...
      • [listenbrainz-server] release 03v-2025-02-15.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/listenbrainz-serv...
      • lucifer[m]
        <mayhem[m]> "lucifer: do you have experience..." <- mayhem: yes
      • mayhem[m]
        when you have a minute, please help me understand a few things:
      • see TODOs labeled with oauth2
      • 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.
      • salaxceitor[m]
        lucifer: awesome, thanks you,
      • managed to import listens, and I've working now on setting up the metadata cache
      • pite joined the channel
      • 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
      • should this data be imported too? or how can i do to populate it?
      • 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.
      • 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.
      • mayhem[m]
        the auth method, in part yes.
      • I'm loading and creating users there and storing the token in the DB.
      • so, this is not needed?
      • 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
      • mayhem[m]
        and creating/loading users in the auth endpoint is working great and if that is a correct use, then all good.
      • lucifer[m]
        i can wire it up in an hour or two if you want.
      • mayhem[m]
        I would love that.
      • lucifer[m]
        sure will do
      • mayhem[m]
        because it would take me muuuch longer.
      • I'll go work on other things, like the UI for adding subsonic serivces.
      • 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.
      • there is unfortunately no way to import that atm afair
      • 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?
      • 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
      • 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/...>)
      • lucifer[m]
        did you import a dump in your MB db?
      • salaxceitor[m]
        yes
      • the commands for the canonical data tables seem to have worked, they all have data
      • lucifer[m]
        hmm i see
      • so you have data in canonical_musicbrainz_data table?
      • salaxceitor[m]
        correct yes, with data
      • d4rkie_ has quit
      • d4rk-ph0enix joined the channel
      • 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.
      • * i have added code to
      • mayhem[m]
        thank you! let me get to a stopping point and then pull.
      • lucifer[m]
        salaxceitor: are you able to build any of the other caches?
      • minimal joined the channel
      • salaxceitor[m]
        lucifer: yeah I think so, don't remember exactly, will check when I get back home
      • 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-andr...
      • zas[m] joined the channel
      • zas[m]
        lucifer: mayhem listenbrainz is down, kiss & gaga out of disk space
      • mayhem[m]
        yeah, on it.
      • gaga too. geh.
      • gaga is at 92%
      • ok, everything is recovering now.
      • bitmap[m]
        https://test.musicbrainz.org/ is back and hosted on selda now, so should be much more reliable
      • Toasty has quit