#metabrainz

/

      • Leftmost
        ruaok, but no longer causing mayhem!
      • 2017-02-17 04847, 2017

      • shivamt has quit
      • 2017-02-17 04811, 2017

      • JonnyJD has quit
      • 2017-02-17 04828, 2017

      • D4RK-PH0ENiX has quit
      • 2017-02-17 04851, 2017

      • Leo_Verto
        BrainzBot going down for an update!
      • 2017-02-17 04846, 2017

      • Leo_Verto
        OTHER-283
      • 2017-02-17 04846, 2017

      • BrainzBot
        OTHER-283: JIRA plugin responds to invalid tickets in [off] messages https://tickets.metabrainz.org/browse/OTHER-283
      • 2017-02-17 04857, 2017

      • Leo_Verto
        nice
      • 2017-02-17 04814, 2017

      • D4RK-PH0ENiX joined the channel
      • 2017-02-17 04835, 2017

      • CallerNo6 has quit
      • 2017-02-17 04832, 2017

      • suhas2go has quit
      • 2017-02-17 04847, 2017

      • CallerNo6 joined the channel
      • 2017-02-17 04838, 2017

      • github joined the channel
      • 2017-02-17 04838, 2017

      • github
        [musicbrainz-server] mwiencek opened pull request #469: MBS-8931: Invalid ISRC causes an ISE (master...mbs-8931) https://git.io/vD9g3
      • 2017-02-17 04838, 2017

      • github has left the channel
      • 2017-02-17 04828, 2017

      • MajorLurker joined the channel
      • 2017-02-17 04804, 2017

      • magerharz has quit
      • 2017-02-17 04810, 2017

      • sai joined the channel
      • 2017-02-17 04815, 2017

      • D4RK-PH0ENiX has quit
      • 2017-02-17 04843, 2017

      • D4RK-PH0ENiX joined the channel
      • 2017-02-17 04846, 2017

      • deepbook5broo joined the channel
      • 2017-02-17 04846, 2017

      • deepbook5broo has left the channel
      • 2017-02-17 04842, 2017

      • aron_kexp has quit
      • 2017-02-17 04833, 2017

      • aron_kexp joined the channel
      • 2017-02-17 04817, 2017

      • Slurpee has quit
      • 2017-02-17 04820, 2017

      • saifulbkhan joined the channel
      • 2017-02-17 04848, 2017

      • ephemer0l
        Anyone have a musicbrainz mirror I can leach off?
      • 2017-02-17 04856, 2017

      • sai has quit
      • 2017-02-17 04844, 2017

      • saifulbkhan has quit
      • 2017-02-17 04812, 2017

      • github joined the channel
      • 2017-02-17 04812, 2017

      • github
        [picard] zas closed pull request #621: PICARD-980: Fix various cover drop issues (master...master) https://git.io/vDuqD
      • 2017-02-17 04812, 2017

      • github has left the channel
      • 2017-02-17 04847, 2017

      • travis-ci joined the channel
      • 2017-02-17 04848, 2017

      • travis-ci
        metabrainz/picard#2030 (master - 4e7d49a : Laurent Monin): The build passed.
      • 2017-02-17 04848, 2017

      • travis-ci
      • 2017-02-17 04848, 2017

      • travis-ci
      • 2017-02-17 04848, 2017

      • travis-ci has left the channel
      • 2017-02-17 04838, 2017

      • sai joined the channel
      • 2017-02-17 04842, 2017

      • saifulbkhan joined the channel
      • 2017-02-17 04828, 2017

      • saifulbkhan has quit
      • 2017-02-17 04820, 2017

      • hibiscuskazeneko has quit
      • 2017-02-17 04810, 2017

      • hibiscuskazeneko joined the channel
      • 2017-02-17 04844, 2017

      • agentsim has quit
      • 2017-02-17 04833, 2017

      • hibiscuskazeneko has quit
      • 2017-02-17 04858, 2017

      • zas
        can someone on mac test drag'n'drop ? See https://tickets.metabrainz.org/browse/PICARD-988
      • 2017-02-17 04858, 2017

      • BrainzBot
        PICARD-988: Drag & Drop not working
      • 2017-02-17 04831, 2017

      • zas
        samj1912: ^^ this one has to be fixed for 1.4.1 if confirmed
      • 2017-02-17 04853, 2017

      • samj1912
        Okay :)
      • 2017-02-17 04829, 2017

      • arbenina_ joined the channel
      • 2017-02-17 04853, 2017

      • antlarr
        zas: probably the user is drag&dropping https urls
      • 2017-02-17 04806, 2017

      • antlarr
        which is fixed by my PR which was postponed for 1.4.1
      • 2017-02-17 04844, 2017

      • antlarr
        ah, sorry, files/folders ...
      • 2017-02-17 04804, 2017

      • antlarr
        I'm too focused on cover art lately...
      • 2017-02-17 04813, 2017

      • antlarr goes to a corner
      • 2017-02-17 04834, 2017

      • samj1912
        :p
      • 2017-02-17 04840, 2017

      • antlarr
        samj1912: btw, what's the right way to make a track/album change its state to "modified" ? I saw your commit in File.update() that checks if orig_metadata.images has changed
      • 2017-02-17 04802, 2017

      • antlarr
        should I call update() after changing the images of a file?
      • 2017-02-17 04832, 2017

      • samj1912
        depends on your call stack
      • 2017-02-17 04837, 2017

      • antlarr wonders if it would be better to have a set_front_image in File/Track/Album ...
      • 2017-02-17 04848, 2017

      • samj1912
        if update is being called somewhere afterwards then no need
      • 2017-02-17 04858, 2017

      • antlarr
        when dropping an image on the CoverArtBox, the state isn't changed
      • 2017-02-17 04813, 2017

      • samj1912
        hmm, it should be
      • 2017-02-17 04831, 2017

      • samj1912
        the drag and drop is hidden anyways
      • 2017-02-17 04802, 2017

      • antlarr
        I mean the little icon next to the album/track/file
      • 2017-02-17 04815, 2017

      • antlarr
        that doesn't change for me
      • 2017-02-17 04820, 2017

      • samj1912
        yeah, I mean, the drag and drop functionality is hidden
      • 2017-02-17 04825, 2017

      • antlarr
        ah
      • 2017-02-17 04843, 2017

      • samj1912
        and the coverart changes updating the file status was just recently added
      • 2017-02-17 04853, 2017

      • samj1912
        it was ignored earlier since there was no diff to show
      • 2017-02-17 04858, 2017

      • samj1912
        (now there is)
      • 2017-02-17 04842, 2017

      • samj1912
        antlarr: while you are implementing album/cluster level coverarts
      • 2017-02-17 04853, 2017

      • samj1912
        can you take a look at album/cluster level diffs?
      • 2017-02-17 04809, 2017

      • antlarr
        metadata diffs?
      • 2017-02-17 04813, 2017

      • samj1912
        currently they are calculated on every selection change
      • 2017-02-17 04816, 2017

      • samj1912
        yes
      • 2017-02-17 04823, 2017

      • samj1912
        we could maybe store the data
      • 2017-02-17 04840, 2017

      • samj1912
        it was suggested by sophist, will help speed up the UI
      • 2017-02-17 04836, 2017

      • samj1912
        since we now have a orig_metadata and metadata attribute associated with albums/clusters we can maybe calculate the metadata diffs and store them there as well
      • 2017-02-17 04806, 2017

      • antlarr
        maybe, yes
      • 2017-02-17 04839, 2017

      • antlarr
        I'll think about how to do it (and how to keep track of changes in sub-elements)
      • 2017-02-17 04803, 2017

      • antlarr
      • 2017-02-17 04833, 2017

      • antlarr
        but who calls File.update() after CoverArtBox.load_remote_image is run ?
      • 2017-02-17 04858, 2017

      • samj1912
        hmm, yes, completely overlooked the fact that no updates are being called on CA change due to drag and drops
      • 2017-02-17 04830, 2017

      • samj1912
        the CA drag and drop func. is mostly overlooked
      • 2017-02-17 04838, 2017

      • antlarr
        I'm fixing it
      • 2017-02-17 04805, 2017

      • samj1912
        just call an item.update after load_remote_image
      • 2017-02-17 04853, 2017

      • antlarr
        yep
      • 2017-02-17 04809, 2017

      • shivamt joined the channel
      • 2017-02-17 04858, 2017

      • antlarr
      • 2017-02-17 04835, 2017

      • samj1912
        antlarr: no need for all of that
      • 2017-02-17 04853, 2017

      • samj1912
        ill add the fix with my PR :)
      • 2017-02-17 04811, 2017

      • samj1912
        a simple self.item.update at the end of all the if/elif suffices :)
      • 2017-02-17 04814, 2017

      • antlarr
        nope
      • 2017-02-17 04817, 2017

      • antlarr
        I tried that before
      • 2017-02-17 04856, 2017

      • samj1912
        what happens?
      • 2017-02-17 04807, 2017

      • antlarr
        nothing, File.update() isn't called
      • 2017-02-17 04821, 2017

      • antlarr
        I guess Track.update doesn't call the files' update function
      • 2017-02-17 04852, 2017

      • samj1912
        it does
      • 2017-02-17 04803, 2017

      • samj1912
      • 2017-02-17 04831, 2017

      • antlarr
        samj1912: I tried again. it's not called here
      • 2017-02-17 04849, 2017

      • antlarr
        samj1912: the self.item object in CoverArtBox is the Track object, not the TrackItem object
      • 2017-02-17 04852, 2017

      • samj1912
        hmmm
      • 2017-02-17 04812, 2017

      • samj1912
        file.update then :P
      • 2017-02-17 04818, 2017

      • antlarr
        hehe, ok
      • 2017-02-17 04841, 2017

      • samj1912
        wait
      • 2017-02-17 04856, 2017

      • samj1912
        hmm it should still be called
      • 2017-02-17 04839, 2017

      • samj1912
      • 2017-02-17 04855, 2017

      • antlarr
        what is self.item for a Track ?
      • 2017-02-17 04808, 2017

      • antlarr
        the TrackItem ?
      • 2017-02-17 04800, 2017

      • samj1912
        yup
      • 2017-02-17 04818, 2017

      • antlarr
        I see, I added some debug output, and indeed, TrackItem.update is called, but it doesn't call File.update
      • 2017-02-17 04837, 2017

      • samj1912
        hmm
      • 2017-02-17 04845, 2017

      • antlarr
        when track.num_linked_files == 1, there's no codepath that calls File.update
      • 2017-02-17 04821, 2017

      • antlarr
        and even when track.num_linked_files != 1, item.update is only called when the number of linked files changed
      • 2017-02-17 04811, 2017

      • antlarr
        (AFAICS, at least)
      • 2017-02-17 04815, 2017

      • samj1912
        antlarr: nope when >1 file.update does get called
      • 2017-02-17 04857, 2017

      • antlarr
        ah, sorry, I missed the update inside the first for loop
      • 2017-02-17 04851, 2017

      • antlarr
        ok, I see how that works...
      • 2017-02-17 04823, 2017

      • antlarr
        that TrackItem.update updates the child FileItem objects, but that is supposed to be called from the Track/File update() function, so we can't call the File.update() method from *Item.update
      • 2017-02-17 04842, 2017

      • antlarr
        otherwise, there's an infinite recursion
      • 2017-02-17 04824, 2017

      • samj1912
        hmmm
      • 2017-02-17 04841, 2017

      • samj1912
        antlarr: can you take a look at file drop code more closely and see what needs to be done
      • 2017-02-17 04855, 2017

      • samj1912
        I am leaving that out of my PR for now
      • 2017-02-17 04805, 2017

      • antlarr
      • 2017-02-17 04809, 2017

      • antlarr
        that fixes the problem
      • 2017-02-17 04859, 2017

      • samj1912
        cool then :)
      • 2017-02-17 04806, 2017

      • antlarr
        btw, I did a pull --rebase from your branch and now I have tons of co-authored commits that will give problems when doing the pull request :(
      • 2017-02-17 04839, 2017

      • samj1912
        antlarr: I am making a few more changes
      • 2017-02-17 04846, 2017

      • antlarr
        I'll cherry-pick my commits to another branch in order to re-create the branch correctly :(
      • 2017-02-17 04802, 2017

      • antlarr
        ok, I'll do it after your changes then
      • 2017-02-17 04849, 2017

      • antlarr
        but I wonder... do you also use git pull --rebase?
      • 2017-02-17 04806, 2017

      • antlarr
        or what am I doing wrong to get that?
      • 2017-02-17 04835, 2017

      • samj1912
        I also use rebase
      • 2017-02-17 04846, 2017

      • antlarr
        (have a look at the commit list in https://github.com/metabrainz/picard/compare/mast… to see what I mean)
      • 2017-02-17 04852, 2017

      • ruaok
        reosarevok & other wikifarian: Where can I add a wiki page that isn't necessarily linked to anything, but has in GIANT FUCKING BOLD PRINT: WE DO NOT HAVE ANY OF THE MUSIC YOU ACCUSE US OF HAVING, MOFO! ?
      • 2017-02-17 04804, 2017

      • ruaok
        people keep watering down my statements on https://musicbrainz.org/doc/About . :)
      • 2017-02-17 04805, 2017

      • samj1912
        ouch
      • 2017-02-17 04820, 2017

      • samj1912
        antlarr: I always rebase against master though
      • 2017-02-17 04834, 2017

      • antlarr
        I can't rebase against master, because I started from your branch, so I rebased against it
      • 2017-02-17 04816, 2017

      • reosarevok
        ruaok: what do you mean with watering down there?
      • 2017-02-17 04840, 2017

      • ruaok
        My lovely bold print about not having any of the music on our site.
      • 2017-02-17 04856, 2017

      • ruaok
        Bold. ALL CAPS. The proper way to talk to a lawyer.
      • 2017-02-17 04808, 2017

      • ruaok
        A FalseCopyrightAccusationLandingPage. :)
      • 2017-02-17 04801, 2017

      • samj1912
        antlarr: you had some indentation errors in PR-621L192-198 and an import error
      • 2017-02-17 04813, 2017

      • samj1912
        fixed them :)
      • 2017-02-17 04856, 2017

      • reosarevok
        ruaok: We_Don't_Have_Your_Shit :p
      • 2017-02-17 04825, 2017

      • antlarr
        samj1912: ah, thanks
      • 2017-02-17 04847, 2017

      • antlarr
      • 2017-02-17 04825, 2017

      • antlarr
        that's supposed to be working now
      • 2017-02-17 04844, 2017

      • ruaok
        reosarevok: lol