Software help archive

A read-only archive of old serato.com help threads.

Library takes 10 minutes to load on startup (everytime)

Product
Scratch Live
Version
1.9.2
Hardware
Rane TTM 57SL
Computer
Mac
OS
Platform
-
djpuma_gemini 11:37 PM - 11 January, 2010
Product: scratchlive
Version: 1.9.2
Hardware: rane-ttm57sl
Computer: mac
OS Version: 10.6.2
---

It seems like ssl is rescaning id3 tags or something because every time I open up ssl and says loading library, than itunes library it goes through every file and than finally shows the crates/library.

This hasn't happened before, but it is happening now.

Konix, I know you are in there.
Help me out.

Thanks

Puma
ZESH! 11:52 PM - 11 January, 2010
delete your History lately?
djpuma_gemini 11:54 PM - 11 January, 2010
I just did today, Do you mean actually deleting the history or hitting clear.

I hit clear, but didn't delete the history.

I'll try.
djpuma_gemini 12:02 AM - 12 January, 2010
That didn't fix it.

We'll it just took 1 minute instead of 10.

I deleted all my history except for one.

I'm going to restart the mac and see if it happens again.
Rane, Support
Chad S. 12:27 AM - 12 January, 2010
Are you running out of HD space?

Is it "reading tags" for everything every time you open now?
djpuma_gemini 12:45 AM - 12 January, 2010
It's a 500Gb external and 500 gb internal.
internal is half full and external has 150gb free.

It showed loading crates, than loading itunes library and it would take 10 minutes like it was reading every tag of every file (shows in the bottom of ssl)

I didn't delete all the history. I had all my history there from whenever you guys implemented it.

I'm testing it now with all the history deleted.
djpuma_gemini 12:49 AM - 12 January, 2010
Still loading slow.

On the bottom it shows.
Loading: iTunes Library - /users...
and it's going through every song and video ( i assume) I can't read that fast.
Rane, Support
Chad S. 5:01 PM - 12 January, 2010
IN the 1.9.2 version, the history issue was fixed. If it is indeed reading your tags everytime, that could take a bit. WE could rename the databaseV2 file. You will lose your "date added" info though.

Another thing would be to try and get your music in one location. We really don't recommend having it on multiple drives. We know that can cause problems.

We also don't recommend having Scratch Live read the itunes library but we know many many people do.

The amount of free space you have on your drives looks good.
djpuma_gemini 5:31 PM - 12 January, 2010
Only reason I moved all my videos to an external was because of the laptop drive getting full. I could get a bigger external and put everything on that, but I prefer bus powered drives.

I just restarted ssl (next day) and it's doing it again.

I think it was me moving my vids to an external.

I wouldn't need itunes if there were smart playlists, but i'll put that in the feature suggestion, but I'm sure it's already there.

If I don't update my itunes library and don't add anymore songs via itunes before a gig, can I turn it off, so it won't read it, but will the songs still show up in ssl?
Rane, Support
Chad S. 5:43 PM - 12 January, 2010
They won't show if you uncheck the "read itunes library" option unless you moved the songs into crates. At which point it wouldn't have the itunes logo anymore.

Try opening the program without the external plugged in.

Does it load fast or slow?
djpuma_gemini 5:45 PM - 12 January, 2010
I'll Give it a shot.

And post back.
djpuma_gemini 6:45 PM - 12 January, 2010
i tried it without the external and I was getting great results, even plugged in the external afterward and the videos loaded up fine.

Restarted the mac and opened up ssl without the external and it's doing the long time load again. Been about 4 minutes so far.
djpuma_gemini 6:56 PM - 12 January, 2010
Still loading
djpuma_gemini 6:58 PM - 12 January, 2010
Just finished.
Almost 20 minutes. Not good if you have to reboot during a gig. (no external plugged in either)
Rane, Support
Chad S. 8:04 PM - 12 January, 2010
Lets try renaming the databaseV2 files.

Close Scratch Live. Open your external, you will see a _ScratchLIVE_ folder.

Inside of it is "DatabaseV2" rename that DatabaseV2BROKEN. No space needed.

Close that.

Open your Macintosh HD / Music folder you will see a ScratchLIVE folder.

Inside of it is "DatabaseV2" rename that DatabaseV2BROKEN. No space needed.

Close that.

Open the program now. It will need to scan tags the first time which can take a moment. Once done you can close the prgram and then open it back up. Hopefully the delay is gone.
djpuma_gemini 8:08 PM - 12 January, 2010
Do you want me to have the external plugged in when opening ssl after renaming the files?
djpuma_gemini 8:41 PM - 12 January, 2010
It's slow again.

I renamed both. opened up ssl and had new databases created.

Shutdown ssl, opened itunes, closed itunes. Started ssl and it's currently loading with the long delay time.
djpuma_gemini 10:51 PM - 14 January, 2010
Is there anything I can do to stop it.
I have a wedding gig this Saturday and I don't want to wait 20 minutes if I have to reboot during the gig.

Thanks
Rane, Support
Chad S. 12:20 AM - 15 January, 2010
I've asked for some backup help, let me email the guys and see if they have some other ideas.
Serato, Forum Moderator
Michael R 12:55 AM - 15 January, 2010
Hey djpuma_gemini,

Is it still rescanning your ID3 tags on startup after making a new database? It will do this the first time you open Scratch Live after making a new database but should go back to normal on subsequent relaunches.
djpuma_gemini 12:59 AM - 15 January, 2010
Yes it does it every time.

I even removed the external.

There are rare occurences where it will only scan for about a minute, but if I quit ssl and restart it the same thing happens.

I don't mind deleting my entire _scratchlive folder if that helps.

All my crates are in itunes except for one that is a crate full of wedding videos
Serato, Forum Moderator
Michael R 2:56 AM - 15 January, 2010
Ok thanks.

Can you try deleting your history database rather than just clearing it? You can find it in Music -> Scratch Live -> History -> history.database. Does that help?
djpuma_gemini 2:58 AM - 15 January, 2010
I deleted all of them but one.

That didn't help
djpuma_gemini 3:01 AM - 15 January, 2010
Ok, sorry now I deleted the .database file and reopened scratchlive.

Same issue though.
Serato, Forum Moderator
Michael R 3:02 AM - 15 January, 2010
Bummer :(

Ok, can you try opening Scratch Live with the external hard drive disconnected - any better?
djpuma_gemini 3:04 AM - 15 January, 2010
I have to wait for it to run through all the files.

I also did this for Chad with no results, but I'll try again.
djpuma_gemini 3:18 AM - 15 January, 2010
Still loading
from the first time
Serato, Forum Moderator
Michael R 3:24 AM - 15 January, 2010
Ok, can you try this:

1) Keep your external hard drive disconnected.
2) Close Scratch Live.
3) Open Finder and go to Music -> ScratchLIVE.
4) Rename your Crates and Subcrates folders (eg. to old_Crates and old_Subcrates).
5) Open Scratch Live.

Any better?
djpuma_gemini 3:37 AM - 15 January, 2010
Testing.

I don't have any ssl crates though.

They are all through itunes (but 1)
djpuma_gemini 3:38 AM - 15 January, 2010
Still scanning through all files.
djpuma_gemini 3:55 AM - 15 January, 2010
Same thing,

it worked quicker one time, but the next time it's going through the 20 minute scan
djpuma_gemini 3:57 AM - 15 January, 2010
ok this time it was about a minute or so.

not bad.

I'll try again
Serato, Forum Moderator
Michael R 4:08 AM - 15 January, 2010
Let me know how this attempt goes, I have more things to try if it doesn't work ;)
djpuma_gemini 4:27 AM - 15 January, 2010
what about plugging in my external.
djpuma_gemini 4:33 AM - 15 January, 2010
Doing it again.

No external plugged in.
djpuma_gemini 4:40 AM - 15 January, 2010
Still going
Serato, Forum Moderator
Michael R 4:45 AM - 15 January, 2010
Ok, can you try this please:

1) Close Scratch Live and iTunes.
2) Open Finder and go to Music -> iTunes.
3) Rename the iTunes Music Library.xml file.
4) Open iTunes - it will now make a new xml file.
5) Open Scratch Live.

Any better?
djpuma_gemini 4:46 AM - 15 January, 2010
Will that get rid of my itunes smart playlists and crates?
Serato, Forum Moderator
Michael R 4:59 AM - 15 January, 2010
Nope, the iTunes Music Library.xml file is made to be read by other applictions. iTunes gets it's library info elsewhere :)
djpuma_gemini 5:02 AM - 15 January, 2010
It's sad that thing is 46Mb in size and it's the same one I've been using since I got ssl on 07. I hope that's it.
Serato, Forum Moderator
Michael R 5:06 AM - 15 January, 2010
46MB? That's a pretty large library you must have ;)
djpuma_gemini 5:10 AM - 15 January, 2010
200gig audio 300 gigs video.

Bad news is it's running slow again. loading itunes library................
Serato, Forum Moderator
Michael R 5:14 AM - 15 January, 2010
Ok, try unchecking the "show iTunes library" option in Scratch Live - what happens then?
djpuma_gemini 5:17 AM - 15 January, 2010
its still reading it when I uncheck it
djpuma_gemini 5:18 AM - 15 January, 2010
show or read itunes library?
djpuma_gemini 5:20 AM - 15 January, 2010
a bunch of my itunes songs are in the main library tracklist even though the songs are being loaded, or is that how it's supposed to go?
djpuma_gemini 5:21 AM - 15 January, 2010
a bunch of my itunes songs are in the main library tracklist even though the songs are being loaded, or is that how it's supposed to go?
Serato, Forum Moderator
Michael R 5:24 AM - 15 January, 2010
Oops "read iTunes library" sorry :P Did unchecking it make a difference?

Tracks from your iTunes library will be added to the main library if they're in a Scratch Live crate.
djpuma_gemini 5:27 AM - 15 January, 2010
when I uncheck it, it still loads it, It's still loading now
djpuma_gemini 5:29 AM - 15 January, 2010
beach ball of death for about 30 seconds and itunes library is gone.

Now what?
djpuma_gemini 5:32 AM - 15 January, 2010
after the library was gone I decided to check the read itunes library box and then uncheck it.

It's loading them again. Be back in 20 minutes.
haha
Serato, Forum Moderator
Michael R 5:34 AM - 15 January, 2010
Argh ;)

When did you notice this issue first occur? Have you added any files to your iTunes library between the last time it worked ok and the first time you noticed this happening?
djpuma_gemini 5:36 AM - 15 January, 2010
I always add files.

The main thing that I can think of is I moved all my videos off of my internal to my external (linked to itunes library)

I had to add them all again in itunes so they wouldn't show up as lost
djpuma_gemini 5:39 AM - 15 January, 2010
How can I just start from scratch. I mean I need my itunes crates, but I'm willing to start over to fix this
Serato, Forum Moderator
Michael R 5:41 AM - 15 January, 2010
I was thinking maybe a file you've added is causing this problem? If you wanted to try removing these new files and re-adding them one at a time might be a way to track it down (although if you've added lots of files this could be a pain :-/ ). I don't think that moving the files to the external drive would have caused this, especially if it's happening with the external drive not connected.

But our office is closing so I'm off for the weekend. Chad will be in tomorrow so hopefully he can help if this last suggestion doesn't help :) Good luck!
djpuma_gemini 5:45 AM - 15 January, 2010
I've added probably several hundred files audio and video

I haven't gigged since before christmas nor played around with ssl so I've just been adding files.

How can I create crates out of my itunes library so at least for my sat gig it will be fine as long as I don't add anything.

Thanks for all of your help
Rane, Support
Zach S 4:20 PM - 15 January, 2010
Quote:
[How can I create crates out of my itunes library so at least for my sat gig it will be fine as long as I don't add anything.

Sounds like now is a great time to stop having SSL read your iTunes library and free yourself of issues like this:)
Create crates, name them the same as your playlists, drag/drop the tracks from your playlists into crates, and then uncheck the 'read iTunes library' option.
djpuma_gemini 4:33 PM - 15 January, 2010
Any plans for smart playlists for ssl.

Now I wish I didn't have 20 crates in itunes.

Is there a 1.9.223 version I can try or an older version. I have 1.9.1 but doesn't work.
djpuma_gemini 6:18 PM - 15 January, 2010
I have done everything and it still loads slow.

Cleared pram, repaired permissions, renames xml library. It definitely loads quickly without having read itunes checked, but checking it brings on the 20 minute headache.
Rane, Support
Chad S. 6:59 PM - 15 January, 2010
Defrag HD?
djpuma_gemini 7:00 PM - 15 January, 2010
I just remembered I checked the auto-gain and never rescanned overviews. Will that cause the problem.


It's a mac.

Could the auto-gain be the problem. Please say yes.
djpuma_gemini 11:06 PM - 15 January, 2010
Did you guys give up.

Anything else to try?
DJ Rumors 1:46 PM - 16 January, 2010
Quote:

Sounds like now is a great time to stop having SSL read your iTunes library and free yourself of issues like this:)


Itunes has ALWAYS been an issue with load up time on ALL my dvs products. Hell..if you have a substantial library, Itunes takes forever to load just BY ITSELF! I too have had to stop using Itunes and just re-create the playlists using crates on SSL. I know that most people enjoy the "smart playlist" feature on Itunes (I do too) but you can basically do the same thing with SSL.
Sorry for not really helping..but wanted to agree that Itunes may be the problem in this case. Good Luck!
DJ Rumors 2:50 PM - 16 January, 2010
Quote:
but you can basically do the same thing with SSL.


With the exception of AUTOMATIC updating of added tracks.....thought I'd better say that before somebody slit my throat on the subject. Sorry.
outdevo 7:46 AM - 17 January, 2010
I have Serato Itch and the exact same problem.

Obviously we can use the workaround with crates, et cetera, but that just gets to be cumbersome.

What made me upset about this from the get go is just how sudden my problems appeared. There was no major upgrade to software or hardware when this issue started occurring to me.

I appreciate that this is really hard to pin down, but do you guys at Serato think it might be time to reinvent the wheel vis. integration with iTunes? Is there not a better way from a programmer's perspective to kill this problem?
outdevo 8:46 AM - 17 January, 2010
Well, after watching Sherlock Holmes tonight I felt extra motivated to solve this mystery.

After thinking about it a good deal I decided that my previous attempts to nail this issue were all too piecemeal. The probable mystery file that was delaying or perhaps corrupting the Live databases might have been reinfecting them even after clearing out the iTunes XML files et cetera, or whatever else I tried before tonight. Or perhaps there was some other file infecting the iTunes XML, or perhaps some of these things were working in tandem. I don't really understand how XML works. But, now my library is consistently loading just over 1 minute (not bad I suppose since I have 20,000 tracks), so my deduction at least was accurate for my issue.

Here is what I recommend you to do.

Do all of the steps that have been mentioned above, and make sure you do them all at the same time (quite iTunes and Serato and don't load them until you have gone on your bad file hunting spree, and once you have completed that spree, open and quit iTunes a couple of times so that it rebuilds a nice XML replica of it's own database). In your iTunes library, make sure you clear out everything that appears irrelevant. I deleted several old seeming temp files, old libraries, anything that no longer seemed relevant.

After doing that AND dumping their analogues in the Live folder it finally appears to have solved my problem. And I have been working on this one off and on for almost three months!

Praise my inner Holmes.
djpuma_gemini 7:50 PM - 17 January, 2010
Thanks Holmes.

I'll give it a shot.
Serato, Forum Moderator
Michael R 2:39 AM - 18 January, 2010
Hey djpuma_gemini,

Are you still having this problem?

Quote:
Any plans for smart playlists for ssl.

Yes, they're coming :) -> www.serato.com (click link)
djpuma_gemini 3:08 AM - 18 January, 2010
I never got the email for the beta.

I guess I need to comment more in the public betas.
Serato, Forum Moderator
Michael R 3:09 AM - 18 January, 2010
Scratch Live 2.0 isn't in public beta yet, it's not too far away :)
djpuma_gemini 3:11 AM - 18 January, 2010
Yeah I was talking about the private beta.
downlowe 4:55 AM - 18 January, 2010
i have had the exact same problem for a year and bit now... its only a problem with Video files/ sometimes it takes like 5 minutes to load or doesnt start up. ive kinda learned to live with it. have u guys figured it out?
Rane, Support
Chad S. 10:59 PM - 18 January, 2010
Quote:
I just remembered I checked the auto-gain and never rescanned overviews. Will that cause the problem.


It's a mac.

Could the auto-gain be the problem. Please say yes.

Auto gain, probably not. But I would recommend hitting the analyze files tab to make sure they are all done.

p.s. didn't give up, just had the weekend off ;)
Rane, Support
RafaelM 11:00 PM - 18 January, 2010
Have you looked into the MAC performance update? See here for more info: support.apple.com

I heard the update does not work on 10.6.2 - you might have to revert to 10.6.1 - install the update and then go to 10.6.2 if you would like.

This might be promising for you...
Let us know
djpuma_gemini 11:12 PM - 18 January, 2010
Thanks for the apple tip, but that doens't work for my model (non-unibody)

The gig was successful, but it did take 20 minutes for the itunes crates to show up.

Thank god or apple that ssl didn't crash the entire time (8 hours)

I'll keep trying stuff, but I swore after hitting autogain that problem happened.
Rane, Support
Chad S. 11:22 PM - 18 January, 2010
Auto gain will take more CPU. That info should be saved to the actual file but for some wacky reason if it wasn't stored and it had to calculate everytime you open, that could cause a delay........ but I'm not sure how it would even get to that.

Have you tried rescanning ID3 tags in Scratch Live?

Have you tried rescanning ID3 tags in itunes?
djpuma_gemini 11:31 PM - 18 January, 2010
Quote:
Auto gain will take more CPU. That info should be saved to the actual file but for some wacky reason if it wasn't stored and it had to calculate everytime you open, that could cause a delay........ but I'm not sure how it would even get to that.

Have you tried rescanning ID3 tags in Scratch Live? (Yes)

Have you tried rescanning ID3 tags in itunes? (NO)


I'll try that now.