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.
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…
<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.
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