Zipping when pushing meta data

Forum for discussing issues with the 64bit version of kJams
joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Zipping when pushing meta data

Post by joachimschmidt »

Files (all zipped on trial run), some get warning when pushing meta data.

Since they work well in Finder, and since files may pass or warn randomly and different ones on different runs. Could it be kJams handling the zipping?
Screenshot 2021-05-26.png
Attachments
kJams 2.log.zip
(308.75 KiB) Downloaded 158 times

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

But then again, huge speed gain to go without zipping. I think i'll do that.

dave
Site Admin
Posts: 6684
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Zipping when pushing meta data

Post by dave »

does the same problem happen in the 32bit version?
note if you change meta in 32bit, you'll have to rebuild your 64bit (trash Songs.ksql, and backups before running)

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

I'm on M1. Can't run 32

dave
Site Admin
Posts: 6684
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Zipping when pushing meta data

Post by dave »

ok. when you say "speed gain to go without zipping" what do you mean? does kjams actually respond slower WITH zipping?

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

yes, i have not compared extensively but adding, pulling pushing data, start playing, i feel it all is faster when files are unzipped.

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

The zip-error MAY have something to do with char encoding ... in the names?
I don't know how it works but i had to set "Unarchiver" to Windows -1(?) to get it running smoothly without dialogs.

dave
Site Admin
Posts: 6684
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Zipping when pushing meta data

Post by dave »

the thing to test is user-responsiveness.

yes pushing meta data means it must unzip, set the data, then re-zip, but that does NOT affect how quickly kjams responds to you, because all that happens in the background.

unzipping time is trivially fast so i'd be very very surprised if you could detect a measurable difference in user-responsiveness.

don't trust how you think you FEEL about it, please actually measure with some kind of time-profiling.

:)

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

Ok :-)
So, two things here, speed is for another day.
But the alert msg about a zip problem i guess was not there in earlier versions and MAY be char encoding issue. ...really the zip files fault i suppose.

dave
Site Admin
Posts: 6684
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Zipping when pushing meta data

Post by dave »

I have found that the animation that reveals then hides the activity progress bars is very CPU intensive and is probably not worth it. i'll be shutting off the animation soon, which will help a little bit.

re: zip problem: can you reproduce it at will by setting up the conditions and doing the same steps? if you can that will REALLY help me nail it. what i need is a step-by-step recipe for how to cause the problem. more info here.

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

Tricky.
i pulled a folder with 900-ish zipped cdg+mp3 and added them (since now i only have unzipped files).

highlighted some and repeatedly pushed meta.
different files, sometimes none of them, one or several brought up this alert.

(All files unzipped without error with Archive Utility)
Screenshot 2021-06-05 at 20.38.08.png
log file below
Attachments
kJams 2.log.zip
(151.53 KiB) Downloaded 155 times

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

The "Could not find ..." warning is strange. I use "Refernece" for all files. kJams/kJams Music folder is not used. Nothing to look for there.

dave
Site Admin
Posts: 6684
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Zipping when pushing meta data

Post by dave »

noted. i'll get back to you when i can.

joachimschmidt
Posts: 112
Joined: Sun May 23, 2021 12:49 pm

Re: Zipping when pushing meta data

Post by joachimschmidt »

Still there. I'll email a clip.

dave
Site Admin
Posts: 6684
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: Zipping when pushing meta data

Post by dave »

i'm tracking this, thanks!

Post Reply