samj1912: ^^ this one has to be fixed for 1.4.1 if confirmed
samj1912
Okay :)
arbenina_ joined the channel
antlarr
zas: probably the user is drag&dropping https urls
which is fixed by my PR which was postponed for 1.4.1
ah, sorry, files/folders ...
I'm too focused on cover art lately...
antlarr goes to a corner
samj1912
:p
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
should I call update() after changing the images of a file?
samj1912
depends on your call stack
antlarr wonders if it would be better to have a set_front_image in File/Track/Album ...
if update is being called somewhere afterwards then no need
antlarr
when dropping an image on the CoverArtBox, the state isn't changed
samj1912
hmm, it should be
the drag and drop is hidden anyways
antlarr
I mean the little icon next to the album/track/file
that doesn't change for me
samj1912
yeah, I mean, the drag and drop functionality is hidden
antlarr
ah
samj1912
and the coverart changes updating the file status was just recently added
it was ignored earlier since there was no diff to show
(now there is)
antlarr: while you are implementing album/cluster level coverarts
can you take a look at album/cluster level diffs?
antlarr
metadata diffs?
samj1912
currently they are calculated on every selection change
yes
we could maybe store the data
it was suggested by sophist, will help speed up the UI
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
antlarr
maybe, yes
I'll think about how to do it (and how to keep track of changes in sub-elements)
I see, I added some debug output, and indeed, TrackItem.update is called, but it doesn't call File.update
samj1912
hmm
antlarr
when track.num_linked_files == 1, there's no codepath that calls File.update
and even when track.num_linked_files != 1, item.update is only called when the number of linked files changed
(AFAICS, at least)
samj1912
antlarr: nope when >1 file.update does get called
antlarr
ah, sorry, I missed the update inside the first for loop
ok, I see how that works...
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
otherwise, there's an infinite recursion
samj1912
hmmm
antlarr: can you take a look at file drop code more closely and see what needs to be done
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! ?