#metabrainz

/

      • petitminion has quit
      • 2025-07-16 19729, 2025

      • lusciouslover has quit
      • 2025-07-16 19723, 2025

      • lusciouslover joined the channel
      • 2025-07-16 19748, 2025

      • d4rkie has quit
      • 2025-07-16 19714, 2025

      • d4rkie joined the channel
      • 2025-07-16 19738, 2025

      • d4rkie has quit
      • 2025-07-16 19702, 2025

      • d4rkie joined the channel
      • 2025-07-16 19742, 2025

      • d4rkie has quit
      • 2025-07-16 19706, 2025

      • d4rkie joined the channel
      • 2025-07-16 19728, 2025

      • mamanullah7[m]
        monkey: I cant find any documentation regarding multi SVG path implementation i can only able to send single string and things are getting messy!
      • 2025-07-16 19728, 2025

      • mamanullah7[m]
      • 2025-07-16 19730, 2025

      • mamanullah7[m]
        is there any way or any resource?
      • 2025-07-16 19759, 2025

      • lusciouslover has quit
      • 2025-07-16 19722, 2025

      • lusciouslover joined the channel
      • 2025-07-16 19725, 2025

      • rayyan_seliya123 has quit
      • 2025-07-16 19725, 2025

      • rayyan_seliya123 joined the channel
      • 2025-07-16 19725, 2025

      • rayyan_seliya123
        Hey monkey: I have made suggested changes still not getting any playable recordings I am missing something ! Can have a look on the pr requested a review !
      • 2025-07-16 19726, 2025

      • monkey[m]
        <mamanullah7[m]> "monkey: I cant find any document..." <- > <@m.amanullah7:matrix.org> monkey: I cant find any documentation regarding multi SVG path implementation i can only able to send single string and things are getting messy!... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/PNCKeuCrJmOqihoEAHPvCusZ>)
      • 2025-07-16 19742, 2025

      • monkey[m]
        <rayyan_seliya123> "Hey monkey: I have made..." <- Is this on the BrainzPlayer side only? As in, do you you get a search response from the IA with the media, all of that working as expected?
      • 2025-07-16 19704, 2025

      • mthax has quit
      • 2025-07-16 19728, 2025

      • mthax joined the channel
      • 2025-07-16 19725, 2025

      • rayyan_seliya123
        <monkey[m]> "Is this on the BrainzPlayer side..." <- Yes monkey: the backend API is working as expected when I search for a track at the endpoint `/1/internet_archive/search` it returns a valid response including stream_urls and metadata
      • 2025-07-16 19725, 2025

      • rayyan_seliya123
        I think the issue is on the BrainzPlayer side also for a hardcoded one on my latest implementation the player works fine but for the API- fetched track playback does not occur
      • 2025-07-16 19757, 2025

      • monkey[m]
        OK, thanks for the details, will look.
      • 2025-07-16 19725, 2025

      • rayyan_seliya123
        monkey[m]: > <@monkey:chatbrainz.org> OK, thanks for the details, will look.
      • 2025-07-16 19725, 2025

      • rayyan_seliya123
        >
      • 2025-07-16 19725, 2025

      • rayyan_seliya123
        Sure !
      • 2025-07-16 19744, 2025

      • monkey[m]
        m.amanullah7: They don't really document making custom icon definitions because they rely on a "pro++" feature model which includes custom icons.
      • 2025-07-16 19744, 2025

      • monkey[m]
        But a little bit of retro-engineering goes a long way...
      • 2025-07-16 19744, 2025

      • monkey[m]
      • 2025-07-16 19731, 2025

      • monkey[m]
        For reference, I took this svg (https://cdn.jsdelivr.net/gh/homarr-labs/dashboard…) and copied the value of each path's `d` attribute.... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/FoNwGpGrJkSEJRZFfHTaSBel>)
      • 2025-07-16 19725, 2025

      • monkey[m]
        For my reference I looked into the fontawesome source code to see how they managed multiple paths (i know the spotify icon for example is multiple paths) https://github.com/FortAwesome/Font-Awesome/blob/…
      • 2025-07-16 19710, 2025

      • monkey[m]
        And finally, the css variables I used are documented here: https://docs.fontawesome.com/web/style/duotone
      • 2025-07-16 19704, 2025

      • monkey[m]
        You might need to play with the width and height values (the two numbers in the icon definition) to make it look the correct size compared to other icons. I leave that to you.
      • 2025-07-16 19743, 2025

      • monkey[m]
        rayyan_seliya123: So I'm looking at the IAPlayer component, and I think I see the issue. It seems like you are setting a `currentTrack` in the state, but then relying on componentDidUpdate to actually play the track. I think that looks incorrect at first glance. Why did you end up implementing it like that?
      • 2025-07-16 19730, 2025

      • monkey[m]
        Also, do you have an example handy of a media returned by the internet archive API, for testing?
      • 2025-07-16 19718, 2025

      • monkey[m]
        I mean by the /internet_archive/search endpoints, rather
      • 2025-07-16 19703, 2025

      • rayyan_seliya123
        <monkey[m]> "rayyan_seliya123: So I'm looking..." <- I moved the playback trigger to componentDidUpdate because React state updates are async calling play right after setState wasn’t reliable, as the audio element might not be ready yet. By triggering playback in componentDidUpdate when currentTrack changes, I ensure the DOM and refs are updated before playing. If there’s a preferred pattern, I’m happy to follow it! but
      • 2025-07-16 19703, 2025

      • rayyan_seliya123
        despite of following this pattern i was able to play a hardcoded track
      • 2025-07-16 19738, 2025

      • rayyan_seliya123
        monkey[m]: Sure let me start the server and provide you the results of the endpoint !
      • 2025-07-16 19706, 2025

      • monkey[m]
        I see. I'll try a couple of things, the first two being: 1. awaiting the this.audioRef.current.play() call; since it is async, it might be throwing an error silently and 2. setting this.audioRef.current.src programmatically instead of relying on the rendering order.
      • 2025-07-16 19703, 2025

      • rayyan_seliya123
        monkey[m]: Sure ! Will send u asap the results so that it helps you more !
      • 2025-07-16 19705, 2025

      • monkey[m]
        I see how using an audio element is more complex than those abstracted SDKs we use for other players, but we can definitely make it work :)
      • 2025-07-16 19746, 2025

      • rayyan_seliya123
        monkey[m]: Sure !
      • 2025-07-16 19710, 2025

      • mamanullah7[m]
        monkey: Thanks I'll look n get back to u ! I'm traveling rn!
      • 2025-07-16 19711, 2025

      • __BrainzGit
        [listenbrainz-server] 14anshg1214 opened pull request #3321 (03master…ansh/fix-gdpr-page): fix: GDPR Page Stylings https://github.com/metabrainz/listenbrainz-server…
      • 2025-07-16 19756, 2025

      • rayyan_seliya123
        hey monkey can have a look for this two track results first : https://gist.github.com/RayyanSeliya/b9ca4ab4b949… second : https://gist.github.com/RayyanSeliya/7efcc125ba59…
      • 2025-07-16 19712, 2025

      • monkey[m]
        Great, thank you!
      • 2025-07-16 19703, 2025

      • monkey[m]
        Yep, that's playing all right!
      • 2025-07-16 19705, 2025

      • monkey[m] uploaded an image: (26KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/pXEMsYGrLLsPQclMcqmSoNLe/image.png >
      • 2025-07-16 19702, 2025

      • monkey[m]
        Will leave a review on the PR, and you can try implementing the same changes and see if it works.
      • 2025-07-16 19706, 2025

      • monkey[m]
        Or should I push my changes and explain them on the PR?
      • 2025-07-16 19731, 2025

      • rayyan_seliya123
        monkey[m]: Do you hardcoded or what you have done I had made the changes but it's not playing on my end like how we can check that the api fetched tracks are playing ?
      • 2025-07-16 19759, 2025

      • rayyan_seliya123
        monkey[m]: Yeah sure looks good to me !
      • 2025-07-16 19740, 2025

      • monkey[m]
        The changes I made are only about the audio element and the react component cycle, basically only changes on the part after the API call
      • 2025-07-16 19737, 2025

      • rayyan_seliya123
        monkey[m]: I would love to implement the same we can discuss on my pr how we should go ahead as pf now thx by the way !!
      • 2025-07-16 19750, 2025

      • rayyan_seliya123
        * I would love to implement the same we can discuss on my pr how we should go ahead as of now thx by the way !!
      • 2025-07-16 19709, 2025

      • suvid[m]
        lucifer: How do I get musicbrainz_id for the user for submitting listens?
      • 2025-07-16 19712, 2025

      • __BrainzGit
        [listenbrainz-server] 14anshg1214 merged pull request #3321 (03master…ansh/fix-gdpr-page): fix: GDPR Page Stylings https://github.com/metabrainz/listenbrainz-server…
      • 2025-07-16 19712, 2025

      • suvid[m] uploaded an image: (61KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/iuIhpbLATxpYdzaGaMQuafHD/image.png >
      • 2025-07-16 19753, 2025

      • lucifer[m]
        [@suvid:matrix.org](https://matrix.to/#/@suvid:matrix.org) it's the listenbrainz user id/user name
      • 2025-07-16 19709, 2025

      • lucifer[m]
        See how submit listens api works.
      • 2025-07-16 19723, 2025

      • suvid[m]
        oh but the comment says both user_id and username are needed
      • 2025-07-16 19708, 2025

      • lucifer[m]
        Yes you can query the user table to get the username from the user id
      • 2025-07-16 19726, 2025

      • monkey[m]
        rayyan_seliya123: I updated your PR with the latest master changes, which will require rebuilding the static_builder docker image: `./develop.sh build static_builder`
      • 2025-07-16 19748, 2025

      • monkey[m]
        Also left comments
      • 2025-07-16 19727, 2025

      • Zhele has quit
      • 2025-07-16 19749, 2025

      • Zhele joined the channel
      • 2025-07-16 19716, 2025

      • monkey[m]
        LB team, we're due for a prod release, going to do that today after seeing what's ready to merge
      • 2025-07-16 19758, 2025

      • d4rkie has quit
      • 2025-07-16 19723, 2025

      • d4rkie joined the channel
      • 2025-07-16 19727, 2025

      • suvid[m]
        Hi lucifer: I've implemented all the suggested changes in the PR
      • 2025-07-16 19727, 2025

      • suvid[m]
        Kindly review it whenever you find it convenient 🙃
      • 2025-07-16 19720, 2025

      • __BrainzGit
        [listenbrainz-server] 14MonkeyDo merged pull request #3320 (03master…LB-1790): LB-1790: Render album link for album reviews in user feed https://github.com/metabrainz/listenbrainz-server…
      • 2025-07-16 19720, 2025

      • BrainzBot
        LB-1790: Album links of CB review feed events are broken https://tickets.metabrainz.org/browse/LB-1790
      • 2025-07-16 19737, 2025

      • monkey[m]
        Preparing LB prod release
      • 2025-07-16 19756, 2025

      • __BrainzGit
        [listenbrainz-server] release 03v-2025-07-16.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/listenbrainz-server…
      • 2025-07-16 19744, 2025

      • rayyan_seliya123
        <monkey[m]> "rayyan_seliya123: I updated your..." <- Thankyou so much monkey: yeah I missed to rebuild the static_builder just getting a lot of errors will try again and yeah I will see the pr for the comments !thx
      • 2025-07-16 19700, 2025

      • monkey[m]
        ansh: I am temporarily going to put the release ^ on beta, but how do you feel about putting the recording page PR on beta after I deploy to prod, and getting some early feedback from the community?
      • 2025-07-16 19742, 2025

      • monkey[m]
        rayyan_seliya123: Yeah, sorry about that. At least there are no merge conflicts, and preventing any in the future
      • 2025-07-16 19717, 2025

      • rayyan_seliya123
        monkey[m]: No worries and thx about updating my branch with the latest changes
      • 2025-07-16 19729, 2025

      • monkey[m]
        LB prod updated.
      • 2025-07-16 19703, 2025

      • monkey[m]
        lucifer: Did you ever look into the lb radio issue with countries reported here? https://community.metabrainz.org/t/error-when-gen…
      • 2025-07-16 19703, 2025

      • monkey[m]
        Something about “could not translate host name 'musicbrainz-docker_db_1' to address"
      • 2025-07-16 19714, 2025

      • Maxr1998 has quit
      • 2025-07-16 19748, 2025

      • Maxr1998 joined the channel
      • 2025-07-16 19706, 2025

      • mthax has quit
      • 2025-07-16 19739, 2025

      • mthax joined the channel
      • 2025-07-16 19737, 2025

      • d4rkie has quit
      • 2025-07-16 19702, 2025

      • d4rkie joined the channel
      • 2025-07-16 19712, 2025

      • monkey[m]
        <monkey[m]> "ansh: I am temporarily going..." <- I went ahead and deployed it to beta, but haven't announced it (other than this message)
      • 2025-07-16 19735, 2025

      • ansh[m]
        <monkey[m]> "ansh: I am temporarily going..." <- Sure that'll be great
      • 2025-07-16 19744, 2025

      • monkey[m]
        Ace :)
      • 2025-07-16 19709, 2025

      • monkey[m]
        For what it's worth, I think the PR is probably ready to merge for a v1
      • 2025-07-16 19729, 2025

      • lucifer[m]
        monkey: fixed now.
      • 2025-07-16 19737, 2025

      • monkey[m]
        Oh sweet! Thanks!
      • 2025-07-16 19748, 2025

      • monkey[m] goes to play some music from Somewhere
      • 2025-07-16 19748, 2025

      • lucifer[m]
        mayhem: i logged into your user on wolf to change bono-data-sets' config.py.
      • 2025-07-16 19722, 2025

      • mamanullah7[m]
        monkey: Works! Thanks
      • 2025-07-16 19749, 2025

      • mamanullah7[m] uploaded an image: (489KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/YexAGTEdATGYtZYVRpYKzfWL/Screenshot%202025-07-16%20at%209.32.11%E2%80%AFPM.png >
      • 2025-07-16 19757, 2025

      • mamanullah7[m]
        any comments about size? or it look fine?
      • 2025-07-16 19722, 2025

      • monkey[m]
        Yes: see what the minimum width or height the other ones are rendered at (by inspecting the svg element I suppose?) and make sure the new icon matches that
      • 2025-07-16 19756, 2025

      • mamanullah7[m]
        Sure!
      • 2025-07-16 19701, 2025

      • monkey[m]
        julian45: I don't know if you wanted any specific feedback about the Authentik account migration, but it's been working fine for me since the switch. I occasionally get redirected to the MeB Authentik login page, log in with no issue, and that's about all I have to say about it, so great job I guess 😃
      • 2025-07-16 19747, 2025

      • rayyan_seliya123 uploaded an image: (202KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/IpMtwbfFWUfHfiOJGRUItjuj/Screenshot%202025-07-16%20220048.png >
      • 2025-07-16 19755, 2025

      • rayyan_seliya123
        <monkey[m]> "image.png" <- hey monkey need a small favour can you describe me the approach of testing this track i am still getting this after doing all the necessary changes you suggested i am not able to test my approach is i am sending aget request of the track and then at the same time clicking the playback button but not getting anything
      • 2025-07-16 19725, 2025

      • monkey[m]
        What I did was take the example data you sent me, and use that instead of data returned by the API here: https://github.com/metabrainz/listenbrainz-server…
      • 2025-07-16 19740, 2025

      • monkey[m]
        Along with the other modifications I made and pushed to the PR, it was working
      • 2025-07-16 19749, 2025

      • monkey[m]
        But if you encounter more issues I can look at it tomorrow
      • 2025-07-16 19736, 2025

      • rayyan_seliya123
        i am trying with the api data thats why not getting i think so and you have hardcoded the track is it so ?
      • 2025-07-16 19754, 2025

      • julian45[m]
        <monkey[m]> "julian45: I don't know if you..." <- thank you! an occasional redirect for login is expected since sessions must have a finite lifetime (and thus expire after a while), but i'm glad to hear it's working well
      • 2025-07-16 19732, 2025

      • rayyan_seliya123
        also monkey i am getting that print statement we have written here https://github.com/metabrainz/listenbrainz-server… on the bottom-left side of the player
      • 2025-07-16 19752, 2025

      • monkey[m]
        rayyan_seliya123: Yes. I don't have the IA cache set up in my licel environment to test it fulj
      • 2025-07-16 19706, 2025

      • rayyan_seliya123
        monkey[m]: yeah i understand now , we can discuss more on this issue in your convenient time this was the main issue i was facing the hardcoded one were playing fine
      • 2025-07-16 19712, 2025

      • monkey[m]
        I would remove that loading condition probably. We don't do that in other players. No idea if that is related to you issue though.
      • 2025-07-16 19744, 2025

      • monkey[m]
        I am AFK now so will have to look tomorrow but if you have more info or test other things you can let me know here
      • 2025-07-16 19757, 2025

      • rayyan_seliya123
        monkey[m]: Not sure this is the main issue ! 🙂
      • 2025-07-16 19707, 2025

      • rayyan_seliya123
        monkey[m]: Sure no problem we will talk later on this you can have a in depth review on my implementation so that u can point out what I am missing any other files / codebase you think necessary for complete implementation of integration of internet archive in bp in context of api-fetched ? If so can suggest me when you have time !
      • 2025-07-16 19706, 2025

      • rayyan_seliya123
        Also I am pushing the latest changes now on the pr thx !
      • 2025-07-16 19720, 2025

      • holycow23[m] has quit
      • 2025-07-16 19759, 2025

      • Jade[m]1 has quit
      • 2025-07-16 19750, 2025

      • fettuccinae[m] has quit
      • 2025-07-16 19733, 2025

      • HemangMishra[m] has quit
      • 2025-07-16 19759, 2025

      • jasje[m] has quit
      • 2025-07-16 19700, 2025

      • d4rkie has quit
      • 2025-07-16 19726, 2025

      • d4rkie joined the channel
      • 2025-07-16 19716, 2025

      • ansh[m]
        <monkey[m]> "For what it's worth, I think the..." <- Should i remove the similarity graph for now and replace it by listen cards? Or is it okay for v1?
      • 2025-07-16 19726, 2025

      • mamanullah7[m] uploaded an image: (807KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/bGgKWsoGgTkjUFAQiDGVBmEx/Screenshot%202025-07-16%20at%2011.37.57%E2%80%AFPM.png >
      • 2025-07-16 19729, 2025

      • mamanullah7[m]
        monkey: looks perfect now!! other services have their own sizes according to icon!! i tried to match and it lg!?
      • 2025-07-16 19740, 2025

      • d4rk-ph0enix has quit
      • 2025-07-16 19705, 2025

      • d4rk-ph0enix joined the channel
      • 2025-07-16 19757, 2025

      • aerozol[m]
        Heya ansh monkey bitmap reosarevok yvanzo mayhem: Ansh hit me up about finalising designs for the MB homepage, because he has found some time for implementation. You can view them here, and feedback on the thread or via chat here: https://community.metabrainz.org/t/homepage-desig…
      • 2025-07-16 19724, 2025

      • aerozol[m]
        We won't workshop this one for long, and I've made it clear that we will make calls when necessary (not all feedback will be taken on board). Let's operate with a "as long as it's better than what we have now, we can implement and aim for perfection later" :)
      • 2025-07-16 19715, 2025

      • aerozol[m]
        MB team: I've told ansh that I don't need to be involved in discussions regarding implementation and how you all want to coordinate. But please let me know if any of my fancy mockup are impractical to implement, I can then offer some alternative designs
      • 2025-07-16 19750, 2025

      • bitmap[m]
        thanks aerozol!
      • 2025-07-16 19745, 2025

      • bitmap[m]
        ansh: we can set up a meeting with the MB team, depending on reosarevok and yvanzo's availability
      • 2025-07-16 19730, 2025

      • aerozol[m]
        Forgot to mention: No mobile mockups yet, I will deliver them once I've gotten feedback on the desktop version (which fits perfectly with my 1-week holiday starting tomorrow 😎☀️)