#metabrainz

/

      • agatzk has quit
      • 2022-06-07 15835, 2022

      • agatzk joined the channel
      • 2022-06-07 15859, 2022

      • skelly37 joined the channel
      • 2022-06-07 15800, 2022

      • odnes joined the channel
      • 2022-06-07 15837, 2022

      • yvanzo
        O’Moin
      • 2022-06-07 15821, 2022

      • mayhem
        Mooooin!
      • 2022-06-07 15808, 2022

      • mayhem will be around for a short while this morning
      • 2022-06-07 15850, 2022

      • zas
        mooooin
      • 2022-06-07 15806, 2022

      • lucifer
        mayhem: hi! i figured why the timestamps were wrong for recommendations. the sql query was using last instead of max. https://github.com/metabrainz/listenbrainz-server…
      • 2022-06-07 15843, 2022

      • mayhem
        ahhh, cool.
      • 2022-06-07 15857, 2022

      • mayhem
        lucifer: if you're short on stuff to work on, here is my query that I plan to use for the data for chinmay 's project:
      • 2022-06-07 15802, 2022

      • mayhem
      • 2022-06-07 15832, 2022

      • mayhem
        if you assume for a minute that this will be available on labs, then you should be able to start thinking about the spark aspects of this, no?
      • 2022-06-07 15810, 2022

      • mayhem
        and the date will obviously be adjusted to a time window centered around now()
      • 2022-06-07 15844, 2022

      • lucifer
        makes sense. i forgot what exactly we intended to do with spark in this. let me reread our previous discussion.
      • 2022-06-07 15828, 2022

      • lucifer
        >2. In spark, create a job that downloads this list and then for each user calculates the intersection of their recent discovery data and the artists in the new releases.
      • 2022-06-07 15831, 2022

      • mayhem
        from discovery tracks distill a list of artists and when the user last listened to a track by that artist.
      • 2022-06-07 15838, 2022

      • mayhem
        yeah, that.
      • 2022-06-07 15840, 2022

      • mayhem
        but, the output of that query can be used directly by chinmay to display the same data for a "site wide" view. the per user view will just be a smaller.
      • 2022-06-07 15822, 2022

      • lucifer
        yes makes sense.
      • 2022-06-07 15806, 2022

      • lucifer
        so with that query as input we want (artist_mbid, last_listened) as output?
      • 2022-06-07 15822, 2022

      • mayhem
        no, we want to filter the list and remove all releases that do not contain at least one artist from the discovered track. return the data in the same format as the input.
      • 2022-06-07 15819, 2022

      • lucifer
        i see.
      • 2022-06-07 15808, 2022

      • lucifer
        so we if the user hasn't listened to a track from the release artist we remove that release from that user's view.
      • 2022-06-07 15825, 2022

      • mayhem
        yes.
      • 2022-06-07 15841, 2022

      • mayhem
        and if we're going for bonus points, could we create a confidence score?
      • 2022-06-07 15852, 2022

      • lucifer
        do we want to restrict the time range like not listened in last 3 months or never?
      • 2022-06-07 15812, 2022

      • mayhem
        you listened to 1 track by an artist on a release: lowest score. if you listened to a pile of tracks: high score.
      • 2022-06-07 15832, 2022

      • mayhem
        make the time range configurable, please.
      • 2022-06-07 15833, 2022

      • lucifer
        yes should be doable.
      • 2022-06-07 15853, 2022

      • mayhem
        I think at first we will want to be more lax to draw in more data. but over time we might want to be more constrcting.
      • 2022-06-07 15820, 2022

      • mayhem
        I fear that the output will be 1-2 releases for most people, which is not terribly fun to look at.
      • 2022-06-07 15828, 2022

      • mayhem
        and if we have too much data to show, we can dial it back\
      • 2022-06-07 15849, 2022

      • lucifer
        and if the user only listened to 1 artist of the album having multiple artist still include, right?
      • 2022-06-07 15818, 2022

      • mayhem
        yes, be as greedy in collecting releases as we can to start with.
      • 2022-06-07 15826, 2022

      • lucifer
        makes sense
      • 2022-06-07 15835, 2022

      • mayhem
        we can always filter more shit out, esp if we have a confidence score.
      • 2022-06-07 15818, 2022

      • lucifer
        yes sounds good
      • 2022-06-07 15830, 2022

      • mayhem
        ok, great.
      • 2022-06-07 15852, 2022

      • mayhem
        sorry for being so absent. I soo hope that life returns to some form of normal next week.
      • 2022-06-07 15842, 2022

      • alastairp
        hullo
      • 2022-06-07 15845, 2022

      • lucifer
        i also looked at the Oauth btw. i think the smallest unit of testable work is implementing one form of grant. so thinking to implement the one we use with pythonbrainz and test with LB.
      • 2022-06-07 15851, 2022

      • alastairp
        sorry I missed the meeting yesterday. forgot it was monday!
      • 2022-06-07 15852, 2022

      • lucifer
        heh np :D
      • 2022-06-07 15810, 2022

      • alastairp
        lucifer: one form of grant sounds neat
      • 2022-06-07 15837, 2022

      • mayhem
        lucifer: https://github.com/metabrainz/listenbrainz-server… on this PR, I forget if we discussed whether the user_setting table will have a JSONB field or individual columns that we will add as we add use options. do you remember?
      • 2022-06-07 15840, 2022

      • lucifer
        mayhem: iirc we decided to do a mix of those. one column for each type of settings. for example, one jsonb column for all troi related settings. one column for timezone so on.
      • 2022-06-07 15838, 2022

      • mayhem
        ok, then that PR is spot on, save for the UI being in flask/html rather than react.
      • 2022-06-07 15841, 2022

      • mayhem
        good good.
      • 2022-06-07 15809, 2022

      • lucifer
        mayhem: i see. that page is still in flask so makes sense for it to be in flask for the time being.
      • 2022-06-07 15823, 2022

      • lucifer
        *for the PR to be in
      • 2022-06-07 15844, 2022

      • skelly37 has quit
      • 2022-06-07 15826, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #2034 (03master…fix-recording-discovery): Fix recording discovery timestamp https://github.com/metabrainz/listenbrainz-server…
      • 2022-06-07 15814, 2022

      • ansh
        alastairp: I've opened a PR for adding BB database in CB.
      • 2022-06-07 15817, 2022

      • ansh
      • 2022-06-07 15827, 2022

      • alastairp
        ansh: great! I made one small comment and then we can merge this
      • 2022-06-07 15820, 2022

      • ansh
        Okay, I'll make the required changes
      • 2022-06-07 15858, 2022

      • alastairp
        actually, I just made one more comment - the ability to make the bb database optional for now
      • 2022-06-07 15832, 2022

      • ansh
        If we want to make it optional, then we have to make the test config optional also. https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-06-07 15858, 2022

      • alastairp
        hmm, good point. so maybe it doesn't make sense to have an optional dev environment but always run it during tests
      • 2022-06-07 15833, 2022

      • alastairp
        OK, leave that for now - let me think about it to see if there's a better way. maybe it does make sense to always have a bb database too. we decided that the MB database was required
      • 2022-06-07 15827, 2022

      • ansh
        Or we can merge into the feature branch for now. After I add the edition group, then we can merge to master and deploy ?
      • 2022-06-07 15816, 2022

      • alastairp
        no, that's fine - let's merge and deploy to production. as we said last week it would be great to get small changes merged as quickly as possible
      • 2022-06-07 15825, 2022

      • alastairp
        <a href="javascript: moverPagina('recorridos')"> 😭
      • 2022-06-07 15828, 2022

      • ansh
        I've made the required changes
      • 2022-06-07 15858, 2022

      • lucifer
        alastairp: hi! we should also probably update BU in CB to fix cache issues. if you intend to release today.
      • 2022-06-07 15807, 2022

      • lucifer
        monkey: hi! around today?
      • 2022-06-07 15808, 2022

      • alastairp
        lucifer: yes, planning on releasing CB today anyway
      • 2022-06-07 15826, 2022

      • lucifer
        alastairp: cool, i'll open a PR to update BU in CB then
      • 2022-06-07 15831, 2022

      • alastairp
        thanks!
      • 2022-06-07 15804, 2022

      • lucifer
        oh need to do BU release first.
      • 2022-06-07 15809, 2022

      • lucifer
      • 2022-06-07 15843, 2022

      • alastairp
        oh sure, let's do it
      • 2022-06-07 15809, 2022

      • lucifer
        sure, i added the probable reason for redis version limit there btw.
      • 2022-06-07 15818, 2022

      • alastairp
        yeah, I saw it
      • 2022-06-07 15837, 2022

      • alastairp
        I have about 4-5 CB tests to fix based on this version change, I don't think the changes are major
      • 2022-06-07 15803, 2022

      • lucifer
        makes sense
      • 2022-06-07 15815, 2022

      • BrainzGit
        [brainzutils-python] 14amCap1712 merged pull request #84 (03master…version-upgrades): Upgrade to python 3, flask 2, and other dependencies https://github.com/metabrainz/brainzutils-python/…
      • 2022-06-07 15843, 2022

      • BrainzGit
        [brainzutils-python] release 03v2.6.0 has been published by 14github-actions[bot]: https://github.com/metabrainz/brainzutils-python/…
      • 2022-06-07 15846, 2022

      • monkey
        Hi lucifer, here indeed
      • 2022-06-07 15831, 2022

      • lucifer
        monkey: hi! i intend to do a release later today. would be great if you could review https://github.com/metabrainz/listenbrainz-server…
      • 2022-06-07 15852, 2022

      • monkey
        Sure thing
      • 2022-06-07 15856, 2022

      • lucifer
        thanks!
      • 2022-06-07 15818, 2022

      • monkey
        Mostly copied over from other components, no?
      • 2022-06-07 15822, 2022

      • lucifer
        yes
      • 2022-06-07 15845, 2022

      • outsidecontext
      • 2022-06-07 15808, 2022

      • monkey
        Goog to go lucifer
      • 2022-06-07 15811, 2022

      • monkey
        Good, even
      • 2022-06-07 15832, 2022

      • lucifer
        👍
      • 2022-06-07 15823, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #2026 (03master…recent-feedback): Add feedback to recent listens page https://github.com/metabrainz/listenbrainz-server…
      • 2022-06-07 15810, 2022

      • monkey
        And I reproduced the issue vardan pointed out, it looks like I can't play tracks with spotify on LB prod
      • 2022-06-07 15816, 2022

      • monkey
        I wonder if Spotify changed the SDK library on us again and broke something
      • 2022-06-07 15824, 2022

      • lucifer
        oh weird, it works for me.
      • 2022-06-07 15847, 2022

      • monkey
        Ah.
      • 2022-06-07 15804, 2022

      • monkey disconnects and reconnects
      • 2022-06-07 15804, 2022

      • lucifer
        it seemed to me the error only occurs on some specific tracks. maybe not found through search or something such
      • 2022-06-07 15842, 2022

      • lucifer
        vardan mentioned they had a free account so it should fallback to youtube in that case anyway.
      • 2022-06-07 15847, 2022

      • monkey
        It did find search results for me
      • 2022-06-07 15819, 2022

      • monkey
        Id does three separate calls to the spotify API's check_scope?scope=web-playback endpoint, and then does nothing.
      • 2022-06-07 15817, 2022

      • lucifer
        i get an error, not sure if related if i click the play button from BP instead of the listen card
      • 2022-06-07 15858, 2022

      • monkey
        What error?
      • 2022-06-07 15822, 2022

      • monkey
        With no track playing, I get this when i click the BP play button: https://usercontent.irccloud-cdn.com/file/Cmvr0Tw…
      • 2022-06-07 15837, 2022

      • lucifer
        yes this one
      • 2022-06-07 15820, 2022

      • monkey
        But tracks are playing normally otherwise, yes?
      • 2022-06-07 15833, 2022

      • monkey
        Do you get messages in your console about "WebSocket is closed before the connection is established."
      • 2022-06-07 15854, 2022

      • monkey
        >WebSocket connection to 'wss://gew1-dealer.spotify.com/…' failed
      • 2022-06-07 15823, 2022

      • lucifer
        no don't have this error in console but i see some 502s to spotify api
      • 2022-06-07 15829, 2022

      • lucifer
        can play some tracks not all.
      • 2022-06-07 15821, 2022

      • monkey
        Ah, interestingly, I can play tracks on Chrome, but not on brave
      • 2022-06-07 15851, 2022

      • monkey
        And now that I got it working once in Chrome, I can play tracks again in Brave… What the hell is going on here‽
      • 2022-06-07 15826, 2022

      • lucifer
        uh weird
      • 2022-06-07 15842, 2022

      • monkey
        I don't see the websocket connection failure message, I think that was related
      • 2022-06-07 15859, 2022

      • Sophist_UK joined the channel
      • 2022-06-07 15841, 2022

      • Sophist-UK has quit
      • 2022-06-07 15806, 2022

      • BrainzGit
        [brainzutils-python] 14amCap1712 opened pull request #94 (03master…amCap1712-patch-1): msgpack-python is now maintained as msgpack https://github.com/metabrainz/brainzutils-python/…
      • 2022-06-07 15819, 2022

      • lucifer
        alastairp: ^
      • 2022-06-07 15802, 2022

      • alastairp
        hmm
      • 2022-06-07 15806, 2022

      • alastairp
        oh right. weird
      • 2022-06-07 15823, 2022

      • alastairp
        ah, when I rebased the flask2 one I bet
      • 2022-06-07 15837, 2022

      • BrainzGit
        [brainzutils-python] 14alastair merged pull request #94 (03master…amCap1712-patch-1): msgpack-python is now maintained as msgpack https://github.com/metabrainz/brainzutils-python/…
      • 2022-06-07 15821, 2022

      • BrainzGit
        [brainzutils-python] release 03v2.6.1 has been published by 14github-actions[bot]: https://github.com/metabrainz/brainzutils-python/…
      • 2022-06-07 15821, 2022

      • Etua joined the channel
      • 2022-06-07 15801, 2022

      • Etua has quit
      • 2022-06-07 15830, 2022

      • Sophist_UK has quit
      • 2022-06-07 15836, 2022

      • Sophist-UK joined the channel
      • 2022-06-07 15823, 2022

      • Sophist_UK joined the channel
      • 2022-06-07 15844, 2022

      • Sophist_UK has quit
      • 2022-06-07 15856, 2022

      • Sophist_UK joined the channel
      • 2022-06-07 15857, 2022

      • Sophist-UK has quit
      • 2022-06-07 15842, 2022

      • Sophist-UK joined the channel
      • 2022-06-07 15809, 2022

      • lucifer
      • 2022-06-07 15832, 2022

      • lucifer
        alastairp: is this one of the errors you had planned fix for?
      • 2022-06-07 15810, 2022

      • alastairp
        hmmmm, nope. I was looking at the errors due to the assertRedirects checks in tests
      • 2022-06-07 15832, 2022

      • lucifer
        ah ok. so it appears flask testing is incompatible with flask 2
      • 2022-06-07 15839, 2022

      • alastairp
        though i see that this is also due to flask_testing... remember the previous PR where we discussed getting rid of this?
      • 2022-06-07 15850, 2022

      • alastairp
        CB#421
      • 2022-06-07 15851, 2022

      • Sophist-UK has quit
      • 2022-06-07 15851, 2022

      • BrainzBot
        Upgrade python version and dependencies: https://github.com/metabrainz/critiquebrainz/pull…
      • 2022-06-07 15837, 2022

      • alastairp
        I see that I upgraded flask-testing to 0.8.1
      • 2022-06-07 15844, 2022

      • Sophist_UK has quit
      • 2022-06-07 15800, 2022

      • alastairp
        * Fixes compatibility with ``json_available`` from previous versions of Flask
      • 2022-06-07 15823, 2022

      • lucifer
        ah cool, i missed that version
      • 2022-06-07 15829, 2022

      • Sophist-UK joined the channel
      • 2022-06-07 15859, 2022

      • skelly37 joined the channel
      • 2022-06-07 15800, 2022

      • Sophist-UK has quit
      • 2022-06-07 15821, 2022

      • Sophist-UK joined the channel
      • 2022-06-07 15801, 2022

      • alastairp
        lucifer: are you upgrading on my PR, or a new branch?
      • 2022-06-07 15804, 2022

      • lucifer
        alastairp: the existing PR currently. (i hadn't realised it existed earlier so was on a new branch earlier)
      • 2022-06-07 15852, 2022

      • Sophist-UK has quit
      • 2022-06-07 15858, 2022

      • Sophist_UK joined the channel