Djay taking almost 1 minute to load songs (local & Apple Music)

NOTE: Please use the search function above before posting to avoid creating duplicate topics.

  • Device model *(MacAir M1 (2020 model)
  • Version of operating system (Sequoia 15.1):
  • Version of djay (5.2.5):
  • Hardware/controllers used (Reloop Mixon 8 Pro):

When I load a song from my local library or from Apple Music (the two sources I use), the song takes almost one minute to fully load and the DJAY is unresponsive. Then the music can be started but again I can’t control it for about 10 seconds more as the system is unresponsive (Apple icon that shows that the system is loading shows up).
I found a way to avoid the issue by simply turning off my connection to the internet. Then I can load the songs from my library quickly as expected, but of course can’t use Apple Music.

Hi @afsaba, try turning OFF iCloud Sync for djay.

Thank you. That seems to help. Is there a plan to fix it so we can use iCloud sync again?

1 Like

To be clear, I also use Djay on my iPad and iPhone to prepare music and that will prevent it from syncing, right?

Yes, the team is already looking into this. You can manually copy the djay Media Library database file between your devices to keep you My Collection playlists, Hot Cues and Saved Loops synced. I also recommend that you regularly backup your master djay Media Library database to an external drive our cloud service.

  1. On iOS you can find the database using the Files app in On My iPhone/iPad>djay>User Data.
  2. On macOS it can be found in ~/Music>djay.

Hi Slak,
I am really trying to do this but it doesn’t appear to be working for me.
Here is what I am doing,
On iPad A (Which is my main iPad I use for djaying)
When I connect the iPad to itunes,
In File Sharing/Djay I scroll down to the User Data and save that to a document on my computer (Windows)

I then connect iPad B (Which is my back up iPad),
I go to File Sharing/Djay and then select Add File and find User Data folder in my documents and save that.

All my tracks are on my iPad but my Playlists aren’t there,
Not all my Cue points are there either.

What am I doing wrong?
Thanks

Hi @maurizio_T,

  1. Use the Files App on your iPad. It’s the app with the blue folder as an icon.
  2. Open the Files App on iPad A.
  3. On the left hand side bar menu under Locations, select On My iPad.
  4. If you are in the djay beta testing program, there will be 2 djay folders. If you are not, there will be only one djay folder. Make sure you are using the main djay folder and not the beta folder.
  5. Inside the main djay folder navigate to User Data.
  6. Here you will find your djay Media Library database.
  7. Near the top right of this screen, press the blue Select button, then select the djay Media Library file by checking the circle to the left of the file.
  8. Now at the bottom center of the screen, select the blue Move button.
  9. Next under Locations in the left side bar, select iCloud Drive and choose a location on your iCloud to copy the file to by pressing the blue Copy icon at the top right of the screen.
  10. If a version of the djay Media Library exists in this location from a previous operation, you need to select Replace so that it keeps the EXACT same file name (otherwise this does not work).
  11. After the file finishes uploading to your iCloud, open the Files App on iPad B and navigate to this file that you just saved in iCloud Drive.
  12. On iPad B, again use the blue Select button at the top right of the screen to select the djay Media Library file in your iCloud Drive and use the blue Move button at the bottom center of the screen.
  13. In the left side bar of the next menu, under Locations, select On My iPad then djay then User Data.
  14. Press the blue Copy button at the top right of the screen, and when prompted, select Replace. It is very important that you replace the existing djay Media Library file so that it retains the exact same file name, otherwise it will create a copy with a different name and this won’t work.
  15. Once the copy is complete, you should be able to launch djay on your iPad B and it will have your My Collection playlists, Hot Cue and Saved Loops from your iPad A.

Please note that the above procedure does NOT copy any of your local files from one device to another. This ONLY copies the database that contains your My Collection playlists, Hot Cue and Saved Loops. If you are using local music, you will need to use something like iTunes/Music and a laptop to sync the actual music files.

I also HIGHLY recommend that you regularly make backup copies of your master djay Media Library database in a different file location so that you do not accidentally replace the wrong one when performing this procedure. I hope that helps!

1 Like

@maurizio_T, I pulled this from another topic:

I spoke with engineering regarding another topic on how to manually transfer My Collection to another device. We do not have an officially recommended procedure for this mainly due to the fact that there is a huge variation in how people choose to manage their music files. Also, there are extreme restrictions imposed by iOS on how djay can work with these files.

Having said that, it basically involves 3 steps:

  1. Transfer the djay media library database file to the other device.
  2. Transfer the audio files to the other device (e.g. via iTunes/Music, USB drive, iCloud, etc.)
  3. Relink the audio files on the new device to the items in the media library. This is done by selecting and reimporting the files into My Collection.

Hi again @afsaba, please follow the process below to reset the iCloud state. This should solve the iCloud related performance issues.

  1. Quit djay.
  2. Make sure you have a backup of your djay Media Library.djayMediaLibrary file on an external drive or in the cloud.
  3. If you have previously disabled iCloud for djay Pro in System settings, please make sure it is re-enabled for djay Pro.
  4. Open the app Terminal.app
  5. Run this command: defaults write com.algoriddim.djay-iphone-free CMCResetCloudKitState -bool true
  6. Launch djay

THANK YOU Slak!

This detailed instructions finally worked for me (Well it did for 95% of it)
All my playlists transferred over as well as almost all of my cue points in those playlists,
In a few of the playlists, although the tracks were there, they were greyed out and could not be played, When I search for the particular greyed out track in my library, it loads and then analyses but the cue points aren’t there, luckily there aren’t that many that are greyed out and I suppose I can just re set those cue points,

The reason I think this may have happened is that when I navigate to the Djay Media Library on iPad A that I am copying over, the date on it is 14/03/2024 so it’s it looks like those particular greyed out tracks weren’t prepared with Cue points on that date,

Is there somewhere that a current Djay Media Library is located?

Thanks again

You’re welcome @maurizio_T. The current djay Media Library is the one in the location I shared above. I’ve noticed that sometimes the date on this file does not show the current date, but this is the latest file. I’m not sure why some of the tracks are greyed out and missing hot cues, but most likely related to the relinking process in step 3 above. I mainly use Beatport Link with the offline locker these days so the transfer and relinking of local files is not part of my workflow.

1 Like

I ran the command and seems to be working fine now. Thank you for the great support!

You’re welcome @afsaba. That’s great news. Thanks for the follow up!

1 Like