The Engine Library refers to the collection of song in your Engine DJ software on your computer. This article is designed to assist you with identifying and resolving corruption issues with your Engine Library.


CONTENTS



The Engine Library

What is Engine Library?

Engine Library refers to a database on your computer that contains all metadata related to the tracks you use with Engine DJ. You can add tracks stored on the computer’s internal hard drive or an external USB hard drive/flash drive connected to the computer. You can even create databases that span multiple drives. We recommend a database of up to 50,000 tracks to optimize search speeds.



Where is my Engine Library located?

  • Windows: C:\Users\[Your Username]\Music\Engine Library
  • Mac: Macintosh HD > Music > Engine Library



How do I backup and restore my Engine Library?

In the Engine DJ Preferences, under the Library Tab, in the System section, you will see a Library Backup section. 

This tool allows you to create a backup of your Engine Library:


Click Backup to create a backup of your current library. While the backup is in progress, do not close Engine DJ or shut off your computer. Click Restore to overwrite the current library with the latest backup created. In the window that appears, click Yes to continue or No to return to the previous page.

Please note that:

  • A backup is prompted every 7 days upon exit of Engine DJ unless you have already manually updated the backup
  • External drive databases are not backed up as part of this system, only your computer's database will be saved.



Database Corruption

What would cause my database to become corrupted?

There are a number of reasons a database can become corrupt including, but not limited to:

  • Force ejecting a drive (particularly during import, or sync operation)
  • Using third party tools to manipulate database file
  • Switching your device to Standalone Mode before ejecting the drive successfully
  • Storing your drive near magnets
  • Solar Flares


What do I do if my Engine Library becomes corrupted?

If the Engine Library on your computer is corrupted:

  1. Use the Library Backup feature in the Engine DJ settings to Restore your Engine Library from a previous Backup.
  2. If you do not have a previously saved Backup, you may still be able to restore your library. First, close Engine DJ. Then, navigating to your music folder and copy the contents of the Engine Library Backup folder into the Engine Library folder. This will restore your collection to the state it was in when your collection was last backed up


If the Engine Library imported from another software is corrupted:

  1. To resolve issues an imported database, click the refresh button above respective 3rd party library:


  2. Once updated, right click the 3rd party library collection, and -import the imported collection into your Engine Library:


If the Engine Library is corrupted on an External Drive:

  1. To resolve issues with a corrupt library on the external drive, ensure Engine DJ application is closed
  2. Navigate to the root directory of the external drive. 
  3. On your drive, you will find an Engine Library folder. Delete the Database2 folder located inside the Engine Library folder. 
  4. Now you can start up the Engine DJ application again, and use the Sync Manager to resync your external drive.



Advanced database recovery options:

If are interested in trying to repair a corrupted Engine Library database yourself, the article below can assist you in that process. We highly recommend creating a copy of your .xml file before attempting this process.

https://wordpress.semnaitik.com/repair-sqlite-database/


If you feel confident in the processes involved in repairing the database on your own, you may find a high probability of successful in performing a manual repair to the code. However, due to the complexity, level of detail, and time required to complete a database repair at this level, it may not be accessible for all users.

Engine DJ cannot assist or provide support in advanced database recovery.