#metabrainz

/

      • BrainzGit
        [bookbrainz-utils] 14dependabot[bot] closed pull request #27 (03master…dependabot/npm_and_yarn/cleaner/y18n-3.2.2): chore(deps): bump y18n from 3.2.1 to 3.2.2 in /cleaner https://github.com/metabrainz/bookbrainz-utils/...
      • monkey[m]
        (quite obviously :D )
      • BrainzGit
        [bookbrainz-utils] 14dependabot[bot] closed pull request #38 (03master…dependabot/npm_and_yarn/cleaner/thenify-3.3.1): chore(deps): bump thenify from 3.3.0 to 3.3.1 in /cleaner https://github.com/metabrainz/bookbrainz-utils/...
      • [bookbrainz-utils] 14MonkeyDo merged pull request #31 (03master…dependabot/npm_and_yarn/cleaner/hosted-git-info-2.8.9): chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9 in /cleaner https://github.com/metabrainz/bookbrainz-utils/...
      • lucifer[m]
        so i have been reading through the un-uglified musickit.js source (its still ugly uhhh) and i have figured out how to reuse auth tokens across devices.
      • also, i found out endpoints to renew and revoke the auth tokens.
      • monkey[m]
        Oh? Non-documented endpoints huh?
      • lucifer[m]
        yes.
      • the issue however is that if the token is expired and we supply it to musickit instance. we get something like this
      • lucifer[m] uploaded an image: (5KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/chatbrainz.org/yjaSSoRqNalNijGEllVYfCBy/image.png >
      • monkey[m]
        Beautiful
      • lucifer[m]
        MusicKit makes an API call to an undocumented API and if the response is a 403 error we get the above.
      • so i was wondering if we could call the undocumented API ourselves before loading musickit and manually ask user to reconnect their account.
      • monkey[m]
        Right. We could do that call separately and catch 403s, then refresh the token before passing it to MK
      • Bingo bango
      • lucifer[m]
        right that, the only apprehension i have is that we might have a slight slowdown if we do that everytime.
      • monkey[m]
        It's an extra api call, but frankly, looking at how many calls these JS kits do, it's a drop oin the ocean
      • lucifer[m]
        basically the first track is loaded slower because of this extra call.
      • maybe we could do it as soon as we load the page?
      • without waiting for the user to play anything.
      • as we are now in a SPA, the number of API calls are reduced anyway.
      • monkey[m]
        Provided the apple music player is enabled in the user settings, that might be wise
      • lucifer[m]
        yup of course.
      • monkey[m]
        So I guess to be implemented in the AppleMusic component of BrainzPlayer, on setup?
      • lucifer[m]
        i think that would make sense, yes.
      • monkey[m]
        That all seems reasonable, for the comfort of the user. What happens if we get a 403? Do we get the user to reconnect immediately?
      • Or just remove the token from DB and front-end globalcontext, then wait for an interaction with the applemusic player?
      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #2928 (03master…soundcloud-cache-2): Soundcloud Metadata Cache Improvements https://github.com/metabrainz/listenbrainz-serv...
      • [listenbrainz-server] 14amCap1712 merged pull request #2929 (03master…soundcloud-metadata-index): Add soundcloud metadata index https://github.com/metabrainz/listenbrainz-serv...
      • lucifer[m]
        monkey[m]: > <@monkey:chatbrainz.org> That all seems reasonable, for the comfort of the user. What happens if we get a 403? Do we get the user to reconnect immediately?
      • > Or just remove the token from DB and front-end globalcontext, then wait for an interaction with the applemusic player?
      • I think retry with the undocumented refresh endpoint once and then ask the user to reconnect.
      • monkey[m]
        OK
      • lucifer[m]
        the issue is that music-user-tokens are always valid for 6 months iiuc so i cannot test the renew endpoint until 6 months.
      • it just returns the existing token at the moment.
      • monkey[m]
        Lol
      • I guess put it in the calendar? :D
      • lucifer[m]
        i'll do that lol
      • ansh[m] joined the channel
      • ansh[m]
        <lucifer[m]> "MusicKit makes an API call to an..." <- Hi! Can you please share the API URL and the request structure?
      • lucifer[m]
        ansh[m]: ansh: yes, i'll leave a detailed comment on your PR.
      • d4rkie joined the channel
      • d4rkie has quit
      • d4rkie joined the channel
      • d4rkie has quit
      • monkey: ansh: i found the way to disable dialog (again undocumented). i have left a comment on the PR. for now, let's just redirect the user to redo auth instead of trying for manual refresh. as i want to add refresh token on backend.
      • lossleader[m]1 has quit
      • * refresh token functionality on backend.
      • mayhem: stripe error is not transient, an issue with our code. i'll try to debug what happened that it broke all of a sudden.
      • mayhem[m]
        Odd. While you're there, we can accept EUR payments, can we set that up?
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #3320 (03master…MBS-13684): MBS-13684: Update Offizielle Deutsche Charts handling https://github.com/metabrainz/musicbrainz-serve...
      • d4rkie joined the channel
      • minimal joined the channel
      • [musicbrainz-server] 14reosarevok merged pull request #3316 (03master…MBS-13679): MBS-13679: RYM cleanup improvements https://github.com/metabrainz/musicbrainz-serve...
      • lucifer[m]
        mayhem: sure.
      • bitmap, zas hi! sentry seems to be broken. i can't see any data in there in any project. not sure if its a ui issue or the data is entirely lost. if so, maybe we should do a clean reinstall.
      • bitmap[m]
        I did a clean reinstall recently (restoring only a partial backup, so new issues were saved), but looks like it self-borked again
      • it was working for a while but I hadn't checked it in a couple of weeks
      • s/new/no/
      • Jade[m] joined the channel
      • Jade[m]
        I'm having issues with pushing to github right now, is it just me?
      • Hanging when I try to push over SSH
      • It's working now...
      • lucifer[m]
        <bitmap[m]> "I did a clean reinstall recently..." <- i see
      • the DSNs are still unchanged though? maybe we should a clean reinstall with creating projects from scratch as well.
      • a bit of nuisance but might be better in the longer term.
      • oh it seems to have started working just now
      • bitmap[m]
        yeah, DSNs were preserved
      • oh, I restarted the compose project like 10 minutes ago, maybe that helped? there are still a ton of errors on the logs though
      • s/on/in/
      • all previous issues are still gone
      • lucifer[m]
        mayhem: can you log into stripe and find the webhook data that triggered the failure?
      • i think you might find those at https://dashboard.stripe.com/webhooks
      • or events tab next to it.
      • BrainzGit
        [listenbrainz-server] release 03v-2024-07-08.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/listenbrainz-serv...
      • reosarevok[m]
        yvanzo, bitmap: re MBBE-88 - any thoughts on whether it makes sense to do all 4k in one go or we should wait the 4 days to do it in batches of 1k?
      • BrainzBot
        MBBE-88: Update now broken Offizielle Deutsche Charts links https://tickets.metabrainz.org/browse/MBBE-88
      • reosarevok[m]
        Given they're entirely broken as of now and the fix is trivial, it seems tempting to do it in one go, but if either of you prefers to do it 1k a day I can do that
      • bitmap[m]
        are you using a bot or?
      • leftmostcatUTC-7 joined the channel
      • leftmostcatUTC-7
        I just assume he's a very fast typist.
      • reosarevok[m]
        Yes
      • The 1k a day is the usual bot limit
      • yvanzo[m] joined the channel
      • yvanzo[m]
        reosarevok: Has the breakage been reported to ODC? To know if they plan to address it?
      • reosarevok[m]
        I have not, dunno if others have
      • But I want to assume they know the concept of redirects and have just chosen not to have any
      • Since the alternative is even more confusing :D
      • yvanzo[m]
        Maybe the first thing to do as it might be the fastest and longest term solution.
      • reosarevok[m]
        Well, the links need to be changed anyway, since there's clearly a new link style
      • But if someone wants to write a German email, not against that
      • By the time they answer I'll probably be done changing the links though :)
      • yvanzo[m]
        And if they change again, you’ll change again, and so on.
      • reosarevok[m]
        Pretty much - luckily they're just 4k
      • yvanzo[m]
        Sent
      • atj[m] joined the channel
      • atj[m]
        [@reosarevok](https://matrix.to/#/@reosarevok:chatbrainz.org): sorry, meant to email earlier. nothing to report last week as I was away.
      • reosarevok[m]
        Ok, I won't call you
      • BrainzGit
        [listenbrainz-ios] 14akshaaatt merged pull request #21 (03main…dialog): Phase 1.2 - Add dialog for pinning, recommending, recommending personally and delete event https://github.com/metabrainz/listenbrainz-ios/...
      • reosarevok[m]
        <BANG>
      • Welcome to the MetaBrainz Monday Meeting!
      • It's apparently National Video Game Day in the US, but since I'm in Europe I'm stuck dealing with you lot
      • I have 3 mailed in reviews:
      • ericd says: 'This week improved previous implemented feeds and also add stats feeds. Next week I will mostly do more tests with these feeds, before merging them!'
      • mayhem says:
      • '''
      • I've been having a rough time post-covid, with my sleep being significantly impacted. All last week, I felt like a zombie and not capable of doing much. While my sleep is slowly improving, I'm not out of the woods yet.
      • That said, last week was minimal work for all critical tasks to run the foundation, but not a whole lot more. Today I will try and get on top of the pending PRs, but then spend a lot more time in the sun which does seem to help my sleep.
      • Sorry for my absence, but this situation really sucks.
      • '''
      • Get better, mayhem!
      • monkey[m]
        Ditto
      • LupinIII
        god bedreing!
      • 🙄
      • god *bedring
      • reosarevok[m]
        And aerozol says:
      • '''
      • Mainly busy with other client work, but spent a little bit of time getting a potential ‘products’ view out of my brain: MBS-13680
      • BrainzBot
        MBS-13680: 'Products' view: films, games, podcasts, broadcast series etc https://tickets.metabrainz.org/browse/MBS-13680
      • reosarevok[m]
        As with most ‘actually new’ MB database changes for MB, looks like it’s not going to get anywhere with the community ¯_(ツ)_/¯
      • Maybe because it’s a shit idea, I don’t know! But nice to be able to file another thing away as ‘I tried’.
      • By the way, I am going to be on Holiday for the week of the 22nd this month 🥳
      • '''
      • That's it for mailed in reviews for the day
      • My list for today is: theflash_, bitmap, jasje, outsidecontext, zas, kellnerd, ansh, lucifer, twodoorcoupe, monkey, yvanzo, reosarevok, rimskii, MonkeyPython, yellowhatpro, pranav, JadedBlueEyes, akshaaatt
      • theflash: wanna start since the random number god put you on top?
      • theflash__ joined the channel
      • theflash__
        hey
      • Last week, I worked on the suggested changes by akshaaatt and the pr got merged
      • working on the leftover things and did a setup for repository and viewmodel for dashboard
      • that's it from my side
      • twodoorcoupe: next?
      • twodoorcoupe[m] joined the channel
      • twodoorcoupe[m]
        Sure, hello folks!
      • last week I finished improving the cover art processing options page for Picard
      • LupinIII
        🌊
      • twodoorcoupe[m]
        then I started adding an option to never replace cover art with smaller images
      • and another to never replace cover art of the selected types
      • that's it from me, zas next?
      • zas[m] joined the channel
      • zas[m]
        Hey
      • Last week I upgraded grafana & discourse
      • plus Picard PRs reviews (thanks to twodoorcoupe :)
      • and usual user support, system upgrades, supervision, MB edits. fin.
      • bitmap: ?
      • bitmap[m]
        LupinIII (IRC): you can go, I'll go after
      • LupinIII
        thanks!
      • Arararara~! hi!'
      • Worked on some translations!