#metabrainz

/

      • candyman
        if I'm running my own server, how do I submit this newly curated data and have access to it?
      • 2019-05-26 14628, 2019

      • reosarevok
        candyman: heeey, that's unfair! We *almost* don't have any genre info!
      • 2019-05-26 14632, 2019

      • reosarevok
        :)
      • 2019-05-26 14650, 2019

      • candyman
        lol you'd be surprised how much Spotify is missing - that was a major blow
      • 2019-05-26 14600, 2019

      • Cyna
        Huh ?
      • 2019-05-26 14613, 2019

      • reosarevok
        Cyna: you asked for help with the flow props a while ago
      • 2019-05-26 14645, 2019

      • candyman
        I've read about 'collections', do I just create my own collection on my local server and just submit my new artists/genre tags there?
      • 2019-05-26 14649, 2019

      • reosarevok
        candyman: For submitting you could send it to the main MB service and that should replicate - I assume you'd submit less often than you would query
      • 2019-05-26 14610, 2019

      • reosarevok
        I'm honestly not too sure how tags play with replication
      • 2019-05-26 14622, 2019

      • Cyna
        I used edit just as every other file
      • 2019-05-26 14633, 2019

      • reosarevok
        bitmap or yvanzo might be better for this one (I'm just the junior dev, heh :) )
      • 2019-05-26 14642, 2019

      • candyman
        1) yeah tags <-> replication, not sure 2) replication runs every hour, which is ...meh
      • 2019-05-26 14643, 2019

      • Cyna
        I'm confused where should I refer to enter props type
      • 2019-05-26 14614, 2019

      • reosarevok
        Cyna: yeah, you'll certainly need ...EditT, plus +display_data: {| |}
      • 2019-05-26 14626, 2019

      • reosarevok
      • 2019-05-26 14638, 2019

      • candyman
        I would like to be able to query my submissions immediately - I know I know I'm extremely needy :)
      • 2019-05-26 14639, 2019

      • reosarevok
        But the display_data changes for each edit type, so you need to check what's the data in your edit type
      • 2019-05-26 14649, 2019

      • Cyna
        I was thinking I'd have to refer to add.pm for the same
      • 2019-05-26 14606, 2019

      • Cyna damn... Prop typing is irritating
      • 2019-05-26 14629, 2019

      • reosarevok
        candyman: that sounds like a reasonable thing to want :) But yeah, afraid you'll need bitmap or yvanzo. bitmap would be around at this time usually (he's US based), but today is Sunday, so :)
      • 2019-05-26 14642, 2019

      • reosarevok
        He might or might not appear at some point
      • 2019-05-26 14651, 2019

      • reosarevok
        If not then he'll be around tomorrow
      • 2019-05-26 14619, 2019

      • candyman
        I should ask bitmap or yvanzo about "hosting my own MB server and wanting to locally submit data to it"
      • 2019-05-26 14619, 2019

      • reosarevok
        Cyna: honestly, it can be irritating, yes :) But at least it mostly ensures we're doing stuff right!
      • 2019-05-26 14619, 2019

      • candyman
        ?
      • 2019-05-26 14609, 2019

      • reosarevok
        candyman: About what they think is the best way to submit tags and get to use them immediately - whether that's doable with a replicated server or you need to submit to live and wait
      • 2019-05-26 14646, 2019

      • reosarevok
        How often do you expect to submit new tags? You could call the production server for the tag list after submitting, but call your own server otherwise?
      • 2019-05-26 14650, 2019

      • reosarevok
        Dunno if that'd make sense
      • 2019-05-26 14626, 2019

      • reosarevok
        Chances are there won't be that many new tags in 1h unless you just added them yourself
      • 2019-05-26 14627, 2019

      • candyman
        no totally makes sense, thats interesting...
      • 2019-05-26 14640, 2019

      • candyman
        yeah ya'll don't have many tags lol :)
      • 2019-05-26 14606, 2019

      • reosarevok
        And you could cache that response for 1h (unless you submit again), and after that just use your local server
      • 2019-05-26 14613, 2019

      • reosarevok
        Or something like that, anwyay
      • 2019-05-26 14602, 2019

      • reosarevok
        But that's assuming tags replicate usefully, which I don't remember. I think at least derived tags (so, the counts, if not the tag-to-user mapping) does replicate but I haven't checked in a while
      • 2019-05-26 14635, 2019

      • candyman
        right - I started to get the feeling that tags (genres for me) weren't really top priority, which just gave me more pause
      • 2019-05-26 14653, 2019

      • candyman
        It could end up being that I maintain my own local sql next to the hosted MB
      • 2019-05-26 14607, 2019

      • reosarevok
        Well, we just added genre support (as in a list of genres etc) a few months ago
      • 2019-05-26 14615, 2019

      • reosarevok
        We'd love to get more genre data :)
      • 2019-05-26 14642, 2019

      • reosarevok
        So if you find a good way to do it, that'd be sweet
      • 2019-05-26 14644, 2019

      • candyman
        and keep all my curated data in there, and then slowly leak it into MB
      • 2019-05-26 14629, 2019

      • candyman
        so basically caching my curated stuff in a place that I can have free control over
      • 2019-05-26 14643, 2019

      • reosarevok
        Cyna: a fair amount of the types will be similar to https://github.com/metabrainz/musicbrainz-server/…
      • 2019-05-26 14613, 2019

      • candyman
        but also allowing myself access to musicbrainz, and I can tell the app to look at MB first to see if I've submitted it there previously
      • 2019-05-26 14615, 2019

      • candyman
        alright excellent, thank you reosarevok. our discussion was invaluable, you can only trudge along blind alleys for so long without losing inspiration lol\
      • 2019-05-26 14622, 2019

      • reosarevok
        haha
      • 2019-05-26 14636, 2019

      • reosarevok
        np, feel free to come ask more stuff. On a Monday more of the paid staff will be around too
      • 2019-05-26 14641, 2019

      • reosarevok is going to try and figure some more murders in Obra Dinn
      • 2019-05-26 14650, 2019

      • candyman
        this is the hard part - figuring out a good data model. I know one way or another, I'll be using this awesome platform and hopefully contributing oodles of genre data. now comes the how
      • 2019-05-26 14603, 2019

      • candyman
        thanks again :)
      • 2019-05-26 14655, 2019

      • candyman has quit
      • 2019-05-26 14602, 2019

      • Cyna
        reosarevok: what is the type for begin_date and end_data
      • 2019-05-26 14607, 2019

      • Cyna
        I assume its an object
      • 2019-05-26 14617, 2019

      • Cyna
        Is there a type predefined for dates
      • 2019-05-26 14618, 2019

      • Cyna
        ?
      • 2019-05-26 14633, 2019

      • reosarevok
        Yes, see what Alias uses
      • 2019-05-26 14643, 2019

      • reosarevok
        PartialDateT? Or something similar
      • 2019-05-26 14652, 2019

      • Cyna
        Yea it uses partial data
      • 2019-05-26 14654, 2019

      • Cyna
        date
      • 2019-05-26 14655, 2019

      • Cyna
        what does this do ?
      • 2019-05-26 14656, 2019

      • Cyna
        type AnnotatedEntityTypeT = $ElementType<AnnotatedEntityT, 'entityType'>;
      • 2019-05-26 14600, 2019

      • Cyna
        what does this do ? (2)
      • 2019-05-26 14602, 2019

      • Cyna
        display.begin_date.format
      • 2019-05-26 14611, 2019

      • Cyna
        is .format necessary ?
      • 2019-05-26 14645, 2019

      • Cyna
        there is formatDate component to do that
      • 2019-05-26 14603, 2019

      • Cyna
        for end_date, can I use formatDate for should I use formatEndDate ?
      • 2019-05-26 14622, 2019

      • Cyna
        Im using formatDate right now
      • 2019-05-26 14639, 2019

      • moinmoi joined the channel
      • 2019-05-26 14657, 2019

      • Cyna
        only this flow error remains now
      • 2019-05-26 14602, 2019

      • Cyna
        ```Cannot get `edit.edit_kind` because property `edit_kind` is missing in `Props` [1].```
      • 2019-05-26 14620, 2019

      • Cyna
        This doesn't exist in EditT
      • 2019-05-26 14641, 2019

      • Cyna
        I also don't know what it is 😅
      • 2019-05-26 14628, 2019

      • moinmoi has quit
      • 2019-05-26 14608, 2019

      • SothoTalKer
        funney
      • 2019-05-26 14650, 2019

      • D4RK-PH0ENiX has quit