#metabrainz

/

      • ruaok
        ok, let me chat with Mr_Monkey for a minute, then I'm on that.
      • CatQuest
        *may-be
      • 🐒
      • reosarevok
        CatQuest: improvement works
      • pulkit6559
        alastairp: i figure we could have a new artist page in acousticbrainz, should i open a ticket for it?
      • alastairp
        pulkit6559: what would the artist page show?
      • (there's an artist page on musicbrainz already!)
      • reosarevok
        alastairp: if anything, I'd show exclusively recordings for which you have actual submitted data, but not sure if needed
      • yvanzo: so I'd suggest renaming MBS-9926 to "Convert subscribers pages to React" and then adding a new "Convert user subscriptions lists to React" ticket - given nothing from that ticket is in beta yet, I think it's not really that confusing and it makes more sense than waiting to merge until the entire subscriptions/ folder is converted. It'd help us merge this now for the next beta, and then work on the other thing post schema change
      • BrainzBot
        MBS-9926: Convert subscription pages to React https://tickets.metabrainz.org/browse/MBS-9926
      • CatQuest
        reosarevok: STYLE-1162
      • BrainzBot
        STYLE-1162: Language attribute on (translated) liner notes relationship https://tickets.metabrainz.org/browse/STYLE-1162
      • reosarevok
        Thanks!
      • pulkit6559
        It was listed on the gsoc ideas page, so i thought i could start working on it
      • alastairp
        Do you have a link?
      • reosarevok
        alastairp: the ideas page has "Lists of artists + albums/recordings for each artist"
      • yvanzo
        reosarevok: It is very unclear to me what has been done and what still needs to be done on that ticket.
      • reosarevok
        Maybe that's what pulkit6559 means?
      • yvanzo: https://github.com/metabrainz/musicbrainz-serve... https://github.com/metabrainz/musicbrainz-serve... are done (all /subscribed.tt except user) and the current PR is user/subscribed.tt
      • yvanzo
        Btw, can you check the status of your assigned (but closed) tickets and link to PRs in comment if missing?
      • amCap1712
        gr0uch0mars: should i use SingleLiveEvent everywhere in place of MutableLiveDAta
      • i mean should I replace the live datas in SearchViewmodel as well
      • pulkit6559
        reosarevok: Yes i was talking about that
      • gr0uch0mars
        search results always dwell on the same activy
      • amCap1712
        so no prolem there
      • only when I use fragments in conjunction with activities
      • gr0uch0mars
        yes, I think you can leave it like Mutable
      • yes,
      • amCap1712
        also I wanted to discuss the implementation
      • gr0uch0mars
        tell me
      • amCap1712
        of other tabs in thee activity
      • should we query all data of the all tabs in a single query
      • or in chains
      • reosarevok
        yvanzo: sure, re: linking PRs
      • yvanzo
        reosarevok: Is the current PR gh:MBS#962 the last missing bit for this ticket?
      • BrainzBot
        MBS-9926 (III): Also use Subscribers.js for user subscriptions: https://github.com/metabrainz/musicbrainz-serve...
      • amCap1712
        because a single query can with right inc parameters can get us all data we need in a single query, I suppose
      • gr0uch0mars: ^
      • gr0uch0mars
        yes, I was thinking about `inc` params. We should use them
      • amCap1712
        or we should wait for tabs to open and query each separately
      • gr0uch0mars
        I don't think they will delay too much the response
      • amCap1712
        I think one query is better
      • because I read that viewpager keeps 2 offpage fragments on hold as well
      • and we have 4
      • so in any case there will be 3 calls
      • so going with one query
      • adhawkins
        ruaok: Last replication packet took about 25 minutes to process. Not sure if that's better or not to be honest! Could be disk I guess...
      • reosarevok
        yvanzo: it is, if we split the "root/user/subscriptions/" part mentioned in the ticket description to a different ticket :)
      • (that's what I'm asking about)
      • (I have no PRs nor code written for that ATM)
      • gr0uch0mars
        yes, and in the future I was thinking of caching that single response. If you re-enter the same artist, you already have all the necessary info
      • requesting multiple queries would make caching more difficult
      • amCap1712
        retrofit does auto caching i suppose
      • also in searchviewmodel , we first check if uery had changed and only then we uery again otherwise display the same
      • gr0uch0mars
        between sessions? I meant if you close the app and open it tomorrow
      • amCap1712
        no not that
      • gr0uch0mars
        ah ok. I was thinking too much into future :)
      • yvanzo
        reosarevok: IIUC, only subscribers lists have been converted so far (if we include this PR), the rest for this ticket is subscriptions lists, right?
      • amCap1712
        as long as its in memory/background
      • we can do that in a util class
      • gr0uch0mars
        yes, your implementation is great, too. We should query only when strictly necessary
      • reosarevok
        yvanzo: yes, but while all the subscribers lists are sharing code and very related, the subscriptions lists are not connected to them :)
      • (so we'd definitely be adding them as separate tickets if we were doing it now, with our smaller PR approach)
      • yvanzo
        reosarevok: got it :) sure, go ahead!
      • amCap1712
        I'll try to do it here as well with MBIDs
      • reosarevok
        yvanzo: yay, thanks
      • CatQuest
        huh. why do we not have "session" ability for performance (instrument/vocal) roles
      • reosarevok
        CatQuest: what do you mean? :)
      • gr0uch0mars
        amCap1712: I was thinking of using the Repository to query first local DB (for cache) and, if not, then API
      • amCap1712: just implement another data layer (cache in DB) in the Repo. So your ViewModels query are not touched
      • reosarevok
        yvanzo: then I think there's only two sets of half-done things for me to finish sending for merge RN, the stats code and the ES6 changes. The stats has only one or two PRs left (the open one + one of the other two is where you had issues with a sample DB, haven't fixed that one yet)
      • CatQuest
        reosarevok: fext: https://beta.musicbrainz.org/release/621666f8-d... booklet says "Simon Phillips" is a sesson drummer "this was the only time we used a session drummer - Simon Phillips"
      • reosarevok
        yvanzo: the ES6 stuff is probably mostly done, as far as we want to do it, so maybe one or two PRs there too
      • CatQuest
        it's suboptimaled as "guest"
      • reosarevok
        CatQuest: that just means "not part of the band", no? guess that's why "guest" is set
      • CatQuest
        yea
      • reosarevok
        I have never felt those things are too relevant, but we could consider it if there's interest
      • CatQuest
        peopel are session musicians though
      • reosarevok
        Style ticket? :)
      • CatQuest
        yush
      • task or new feat
      • helo
      • reosarevok
        NF I guess
      • I don't really pay much attention to those
      • CatQuest
        👍
      • yvanzo
        zas: I cannot find any picard-website resource on Transifex although picard-website code seems to have support for it.
      • pulkit6559 has quit
      • pulkit6559 joined the channel
      • CatQuest
        reosarevok: STYLE-1163
      • BrainzBot
        STYLE-1163: New performance relationship attribute "session musician" https://tickets.metabrainz.org/browse/STYLE-1163
      • CatQuest
        :D
      • reosarevok
        Neat
      • CatQuest
        :)
      • CatQuest has left the channel
      • reosarevok
      • Can we do anything to make it less suspicious? :)
      • CatQuest joined the channel
      • CatQuest has quit
      • CatQuest joined the channel
      • CatQuest
        I mean I could be completely mistaken aobut the use of "guest" here but I don't think so?
      • (i have legit never see nthe term "guest" used in a release. but i'm sure it's used loads of palces i havent jsut seen :D)
      • outsidecontext
        reosarevok: yes, probably with signing the installer like we do for the macos one
      • we have a story for that, and I actually want to tackle this in the coming weeks. have been doing more windows installer stuff recently anyway
      • CatQuest
        wtf is "randsomware2 and why the fuck would yo uahve isntalled soemthing that blocks completely valid non-malware or virus programs form working?
      • outsidecontext
        CatQuest: because you are using a OS which advertises the use of such software ¯\_(ツ)_/¯
      • pristine--
        Yay!
      • Lol
      • iliekcomputers
        spam
      • pristine--
        Oh shit. Sorry
      • iliekcomputers kids
      • Lol. I was scared 😢
      • Cyna joined the channel
      • Cyna
        Hi yvanzo , Can you send me the doc for convertion from tt to react please ?
      • The one which was on the metabrainz github. I'm unable to find it unfortunately
      • amCap1712
        gr0uch0mars: ok, i'll do that once artist page infos are complete
      • gr0uch0mars
        great. Let's attack once at a time 👍
      • iliekcomputers
        ruaok: Mr_Monkey: hi.
      • Mr_Monkey
        Yo
      • iliekcomputers
        i was wondering if we could track back to the spotify release and see what else needs doing.
      • Prashant1223 joined the channel
      • Mr_Monkey
        iliekcomputers: On my side, I'm changing the follow page playlist functionality a bit, and that will only leave implementing refresh tokens for the player.
      • Prashant1223
        hi, I am getting an error when importing the sql database in psql using command : sudo -u postgres pg_restore -e -C -O latest.sql -d postgres . Error showing is pg_restore: [archiver] input file appears to be a text format dump. Please use psql. Is there any other way to do it?
      • Mr_Monkey
        I'd love to talk about it with you at some point
      • iliekcomputers
        Mr_Monkey: I'm here right now if you want?
      • Mr_Monkey
        As for ruaok , he's out at the moment, so won't speak for him.
      • Sure :)
      • iliekcomputers
        Prashant1223: what project is this?
      • Prashant1223
        bookbrainz-site repository
      • CallerNo6
        yvanzo, Cyna: hi, I'd like a link to that doc too please
      • Mr_Monkey
        Sooo. Currently the user's spotify token we get from the db is used to connect to the web playback api, which returns a token that expires after an hour. Not ideal. How did you set it up on the server side? Is there any way I can use the same method ?
      • CallerNo6
        (tt → react that is)
      • Mr_Monkey
        I.e a private API endpoint or something
      • iliekcomputers
        there isn't an endpoint yet.
      • but i could create one.
      • Mr_Monkey
        Prashant1223: I'll be with you very soon.
      • Prashant1223
        Okay
      • CatQuest
        iliekcomputers: i am annoyed how norway is not in this list
      • but i pay like 79nok for 1 GB so
      • Mr_Monkey
        iliekcomputers: Well, that would be great.
      • iliekcomputers
        i don't think LB has any private API endpoints yet.
      • Mr_Monkey
        I suppose that means you have it implemented in the server at the moment
      • iliekcomputers
        Mr_Monkey: yep, there is a function to refresh tokens.
      • iliekcomputers finds a link.
      • pulkit6559
        hi, is there a guide somewhere to the musicbrainz api?
      • is there any endpoint to access redirect tables?
      • iliekcomputers
      • reosarevok
        pulkit6559: normally redirects will just get redirected, I think? :) Why?
      • iliekcomputers
        we only refresh tokens during the import loop
      • pulkit6559
        i was trying to work this out in AB "Use the musicbrainz mbid redirect tables to find more duplicates", so i think ill need to access endpoints for redirect tables