#metabrainz

/

      • _lucifer
        duh! that's the one. so it something else :/
      • 2021-05-12 13248, 2021

      • Mr_Monkey
        Yeah, I just mistyped ruaok
      • 2021-05-12 13221, 2021

      • ruaok
      • 2021-05-12 13222, 2021

      • _lucifer
        so it worked for ruaok but didn't for either of us
      • 2021-05-12 13231, 2021

      • Mr_Monkey
        And when I tried to refrehs that page as-is I get this (probably more or less normal)
      • 2021-05-12 13234, 2021

      • Mr_Monkey
      • 2021-05-12 13238, 2021

      • yvanzo
        nelgin: next week, prod update is planned for next Monday, docker update will follow shortly after.
      • 2021-05-12 13241, 2021

      • ruaok
        are the errors I got, but now the player is playing a YT track.
      • 2021-05-12 13257, 2021

      • Mr_Monkey
        Ugh, why the many messages?…
      • 2021-05-12 13200, 2021

      • _lucifer
        ok didn't work for ruaok either but a different error
      • 2021-05-12 13237, 2021

      • yvanzo
        I’m already running musicbrainz-docker with parts of the schema change.
      • 2021-05-12 13240, 2021

      • Mr_Monkey
      • 2021-05-12 13241, 2021

      • _lucifer
        it worked all fine on beta for weeks but the day we release a bunch of new errors pop out of nowhere
      • 2021-05-12 13251, 2021

      • ruaok
        when listening to tracks that were recorded from spotify, it works fine to play that video.
      • 2021-05-12 13217, 2021

      • ruaok
        working pretty well for me, aside the spurious warnings.
      • 2021-05-12 13243, 2021

      • ruaok images a music social network without ads
      • 2021-05-12 13248, 2021

      • ruaok
        *imagines
      • 2021-05-12 13224, 2021

      • shivam-kapila
        Anything in networks tab?
      • 2021-05-12 13224, 2021

      • ruaok
        this is actually really not bad at all. and may make a nice experience for people who do not have streaming services at all.
      • 2021-05-12 13225, 2021

      • _lucifer
        ruaok, can you check your the page's source for props and see if youtube_user is there?
      • 2021-05-12 13229, 2021

      • ruaok
        !m Mr_Monkey, _lucifer
      • 2021-05-12 13230, 2021

      • BrainzBot
        You're doing good work, Mr_Monkey, _lucifer!
      • 2021-05-12 13235, 2021

      • Mr_Monkey logs off for now
      • 2021-05-12 13202, 2021

      • shivam-kapila
        > this is actually really not bad at all. and may make a nice experience for people who do not have streaming services at all.
      • 2021-05-12 13202, 2021

      • shivam-kapila
        I will surely benefit from it
      • 2021-05-12 13225, 2021

      • ruaok
        roughly where are the props?
      • 2021-05-12 13232, 2021

      • ruaok
        I'm looking int he DOM?
      • 2021-05-12 13244, 2021

      • shivam-kapila
        You might neet react dev tools for that
      • 2021-05-12 13253, 2021

      • ruaok
        found e
      • 2021-05-12 13254, 2021

      • _lucifer
        yeah, wait a sec. let me find a id for you to do execute in the console
      • 2021-05-12 13228, 2021

      • Mr_Monkey
        _lucifer: If it's helpful at all, when I get redirected to this ISE error page after trying to auth YT, I'm not authenticated with LB:
      • 2021-05-12 13231, 2021

      • Mr_Monkey
      • 2021-05-12 13245, 2021

      • Mr_Monkey
        Notice the navbar items = not logged in
      • 2021-05-12 13203, 2021

      • ruaok
        thats just the error page, Mr_Monkey. normal.
      • 2021-05-12 13207, 2021

      • _lucifer
        Mr_Monkey, i think i figured the issue. can you check myaccount.google.com/permissions and see if LB is there
      • 2021-05-12 13219, 2021

      • shivam-kapila
        But it should prbably have a login button at least Mr_Monkey
      • 2021-05-12 13221, 2021

      • _lucifer
        please remove it if yes.
      • 2021-05-12 13225, 2021

      • Mr_Monkey
        That was it !
      • 2021-05-12 13226, 2021

      • _lucifer
        and works for me now.
      • 2021-05-12 13245, 2021

      • _lucifer
        yup, so this is due to token revocation.
      • 2021-05-12 13246, 2021

      • Mr_Monkey
        Auth worked for me too after removing the existing app permission^
      • 2021-05-12 13249, 2021

      • Mr_Monkey
        Phew
      • 2021-05-12 13253, 2021

      • Mr_Monkey
        !m _lucifer
      • 2021-05-12 13253, 2021

      • BrainzBot
        You're doing good work, _lucifer!
      • 2021-05-12 13212, 2021

      • ruaok
        still need help looking at props, _lucifer ?
      • 2021-05-12 13214, 2021

      • _lucifer
        i discussed it with alastairp a few days, spotify does not do this only youtube does.
      • 2021-05-12 13233, 2021

      • _lucifer
        ruaok, its a script with id "react-props"
      • 2021-05-12 13241, 2021

      • shivam-kapila is eagerly waiting to test lucifer's YT magic
      • 2021-05-12 13245, 2021

      • Mr_Monkey
        The YT player works for me. Nice !
      • 2021-05-12 13202, 2021

      • _lucifer
        yeah, i didn't get any errors so it would be helpful to see why it errors for you
      • 2021-05-12 13207, 2021

      • ruaok
        _lucifer: found it. it has loads of data in it. what do you need?
      • 2021-05-12 13227, 2021

      • _lucifer
        does it have youtube_user field?
      • 2021-05-12 13202, 2021

      • ruaok
        the youtube subkey has subkeys of access_token and api_key, nothing else.
      • 2021-05-12 13211, 2021

      • _lucifer
        yup that's right
      • 2021-05-12 13231, 2021

      • _lucifer
        one more thing to check,is there any error in the network tab?
      • 2021-05-12 13258, 2021

      • _lucifer
        if its empty, reload the page while keeping it open and play the erroring tracks again
      • 2021-05-12 13253, 2021

      • bitmap
        yvanzo: no harm in skipping those for now if the gid is undef. does it fix the remaining test failures?
      • 2021-05-12 13218, 2021

      • _lucifer
        i rechecked, revocation works perfectly now. that refresh_token error happened because while migrating the tables, we deleted youtube tokens without reoking.
      • 2021-05-12 13249, 2021

      • _lucifer
        there will be no issue as long as the user disconnects using the UI.
      • 2021-05-12 13232, 2021

      • ruaok
        no errors. reloaded. no errors. let me find an erroring track.
      • 2021-05-12 13246, 2021

      • _lucifer
        only alastairp might have to revoke from google settings manually once.
      • 2021-05-12 13201, 2021

      • ruaok
        I'm seeing some 204 "errors"
      • 2021-05-12 13239, 2021

      • _lucifer
        not seen that one before
      • 2021-05-12 13239, 2021

      • shivam-kapila
        204 is NoContent IG
      • 2021-05-12 13253, 2021

      • _lucifer
        yes, right but no idea why it occuers
      • 2021-05-12 13206, 2021

      • _lucifer
        which track is it? i'll try playing it from your page
      • 2021-05-12 13207, 2021

      • ruaok
      • 2021-05-12 13209, 2021

      • shivam-kapila
        That should probably be because of no track for the search key
      • 2021-05-12 13229, 2021

      • ruaok
        I reloaded and clicked on Fraknot's Smash it up Pt 1 & 2
      • 2021-05-12 13250, 2021

      • ruaok
        it skips past everything until the black pumas track that is playing now
      • 2021-05-12 13253, 2021

      • shivam-kapila
        There are 3 errors in the console. What are those
      • 2021-05-12 13256, 2021

      • _lucifer
        that's strange. it plays for me
      • 2021-05-12 13218, 2021

      • _lucifer
      • 2021-05-12 13259, 2021

      • shivam-kapila
        Can you click on any 204 and see what the request and response were
      • 2021-05-12 13228, 2021

      • _lucifer
        ruaok, thanks. figured out, the error seems to only happen on feed page.
      • 2021-05-12 13248, 2021

      • _lucifer
        it is happening for me as well but only on in the feed,
      • 2021-05-12 13213, 2021

      • shivam-kapila
        Try validating the ytuser props
      • 2021-05-12 13255, 2021

      • _lucifer
        right, the youtube props are missing.
      • 2021-05-12 13217, 2021

      • shivam-kapila
        Tada
      • 2021-05-12 13229, 2021

      • _lucifer
        but they were there for ruaok so there might be another issue as well.
      • 2021-05-12 13241, 2021

      • prabal has quit
      • 2021-05-12 13258, 2021

      • shivam-kapila
        ruaok: can you also confirm once again
      • 2021-05-12 13214, 2021

      • _lucifer
        ruaok: alastairp: the spotify reader was in a broken state so I have deployed a hotfix.
      • 2021-05-12 13249, 2021

      • _lucifer
        i had reverted to an old version but since different tables are being used in the two version. it would become a mess the longer we kept it that way.
      • 2021-05-12 13220, 2021

      • ruaok
        thx!
      • 2021-05-12 13240, 2021

      • adhi001
        psycopg2.OperationalError: could not connect to server: Connection refused
      • 2021-05-12 13240, 2021

      • adhi001
        Is the server running on host "db" (172.18.0.4) and accepting
      • 2021-05-12 13240, 2021

      • adhi001
        TCP/IP connections on port 5432?
      • 2021-05-12 13249, 2021

      • adhi001
        _lucifer: I deleted all volumes but at the same place, I'm getting a different error
      • 2021-05-12 13247, 2021

      • _lucifer
        adhi001: after deleting the volume, you'll need to recreate the db as well using the init_db commands. the same ones mentioned in the dev docs.
      • 2021-05-12 13210, 2021

      • _lucifer
      • 2021-05-12 13245, 2021

      • BrainzGit
        [bookbrainz-site] akashgp09 opened pull request #629 (master…editor-repuation): feat(editor): Editor repuation value https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2021-05-12 13253, 2021

      • _lucifer
        ruaok, beta updated again with a fix. playing on feed works for me now. let me know if you still get errors.
      • 2021-05-12 13246, 2021

      • ruaok is done pissing off cultures via cooking
      • 2021-05-12 13251, 2021

      • ruaok
        lets try.
      • 2021-05-12 13248, 2021

      • ruaok
        loaded the feed page. clicked on "rachet express" and:
      • 2021-05-12 13250, 2021

      • ruaok
      • 2021-05-12 13221, 2021

      • ruaok
        feed page is now fully borked.
      • 2021-05-12 13238, 2021

      • sumedh has quit
      • 2021-05-12 13209, 2021

      • ruaok
        listens page works perfectly.
      • 2021-05-12 13257, 2021

      • _lucifer
      • 2021-05-12 13224, 2021

      • _lucifer
        it works for me somehow. can you try invalidating the cache and retrying?
      • 2021-05-12 13200, 2021

      • ruaok
        only for you _lucifer. I was really digging music.
      • 2021-05-12 13212, 2021

      • _lucifer
        :D
      • 2021-05-12 13242, 2021

      • ruaok
        I cheekily switched to chromium which I've never used with LB before and did the exact same thing as before and got exact the same stack of error messages with nothing playing.
      • 2021-05-12 13236, 2021

      • _lucifer
        thanks for checking. we definitely have a problem somewhere but it doesn't happen to all users.
      • 2021-05-12 13200, 2021

      • _lucifer
        if you are still on that page, could you PM me the content of react-props?
      • 2021-05-12 13258, 2021

      • _lucifer
        and also share any errors in the console or network tab.
      • 2021-05-12 13232, 2021

      • ruaok
        done
      • 2021-05-12 13252, 2021

      • ruaok bows down before _lucifer
      • 2021-05-12 13203, 2021

      • ruaok
        STRONG FUCKING WORK!
      • 2021-05-12 13208, 2021

      • _lucifer
        lol
      • 2021-05-12 13212, 2021

      • _lucifer
        thanks!
      • 2021-05-12 13215, 2021

      • ruaok
        when I am not being retarded, it WORKS GREAT.
      • 2021-05-12 13233, 2021

      • ruaok
        the matching is quite good. dare I say, this is more pleasant that with spotify.
      • 2021-05-12 13208, 2021

      • ruaok
        now it makes me want a super easy selection switch: [ Spotify | YouTube ]
      • 2021-05-12 13219, 2021

      • _lucifer
        Mr_Monkey improved that to not use album name for youtube iirc
      • 2021-05-12 13246, 2021

      • ruaok
        yes, albums are terrible for track level matching in this use case
      • 2021-05-12 13207, 2021

      • ruaok
        omfg omfg if we can only coordinate the players to STFU when a new player starts playing!
      • 2021-05-12 13211, 2021

      • ruaok
        nerdvana.
      • 2021-05-12 13226, 2021

      • ruaok
        we urgently need to implement LB-606.
      • 2021-05-12 13226, 2021

      • BrainzBot
        LB-606: Submit listens played on BrainzPlayer to ListenBrainz https://tickets.metabrainz.org/browse/LB-606
      • 2021-05-12 13243, 2021

      • yvanzo
        bitmap: It's slighly more complicated: CoreEntity role cannot be used as-is for ArtistCredit because it brings unnecessary 'name' and 'unaccented_name' attributes. Two possible solutions to use only the gid-related code from CoreEntity: Either move it to a new GID role, or copy it to ArtistCredit.
      • 2021-05-12 13218, 2021

      • bitmap
        I see. I think copying the gid attribute to ArtistCredit makes sense
      • 2021-05-12 13252, 2021

      • Mr_Monkey
        Error 606: Found but tricky
      • 2021-05-12 13225, 2021

      • Mr_Monkey
        If I'm playing through the spotify player in BP, that'll submit a listen and so will the spotify reader (but only if I'm connected for that). We should talk about that tomorrow ! :)
      • 2021-05-12 13203, 2021

      • ShivamAwasthi joined the channel
      • 2021-05-12 13251, 2021

      • ShivamAwasthi20 joined the channel
      • 2021-05-12 13215, 2021

      • ShivamAwasthi20 has quit
      • 2021-05-12 13251, 2021

      • ShivamAwasthi10 joined the channel
      • 2021-05-12 13242, 2021

      • ShivamAwasthi has quit
      • 2021-05-12 13251, 2021

      • ShivamAwasthi10 has quit
      • 2021-05-12 13211, 2021

      • ShivamAwasthi joined the channel
      • 2021-05-12 13220, 2021

      • ShivamAwasthi has quit
      • 2021-05-12 13251, 2021

      • _lucifer
        ruaok: is it possible that a user deleted their MB account but it didn;t get removed in LB?
      • 2021-05-12 13221, 2021

      • _lucifer
        that is the account didn't get deleted from LB
      • 2021-05-12 13201, 2021

      • atj
        thanks for tagging me on GH _lucifer, I had a quick look earlier and made a minor recommendation but functionally it all LGTM
      • 2021-05-12 13250, 2021

      • _lucifer
        atj: thanks for the review. i implemented your suggestion and pushed the changes.
      • 2021-05-12 13237, 2021

      • adhi001 has quit
      • 2021-05-12 13205, 2021

      • ruaok
        _lucifer: yes, quite possible.
      • 2021-05-12 13242, 2021

      • ruaok
        the player is just playing my timeline, zero problems. :) :)
      • 2021-05-12 13246, 2021

      • ruaok
        a listen needs to have an "add to playlist" button. I'll curate a playlist called "favorites" and be happy.
      • 2021-05-12 13252, 2021

      • aerozol joined the channel
      • 2021-05-12 13246, 2021

      • aerozol
        Kia ora, not sure how to report spam on tickets.metabrainz? Maybe if I leave this link here it will somehow amazingly solve itself :D
      • 2021-05-12 13247, 2021

      • aerozol
      • 2021-05-12 13247, 2021

      • BrainzBot
        BB-623: Private Investigator in Delhi
      • 2021-05-12 13223, 2021

      • nelgin
        yvanzo ok thanks.
      • 2021-05-12 13237, 2021

      • outsidecontext has quit
      • 2021-05-12 13242, 2021

      • aerozol has quit
      • 2021-05-12 13247, 2021

      • outsidecontext joined the channel