enginedb
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

enginedb

NodeJS utility for interacting with the EngineDJ m.db database. This library has only been tested against the schema version 2.18

Implements utility methods for:

  • Fetching Tracks & Playlists
  • Adding new tracks from files
    • Extracting metadata from ID3 tags
    • Processing & importing album art
  • Removing tracks
  • Creating & Removing Playlists
  • Adding tracks to Playlists

Caveats

File paths

Normally when you import a track into EngineDJ it will store the location of the file relative to its Engine Library folder. This works fine for tracks that are stored on the same drive as the Engine Library itself.

In situations when you import a track from a drive that is not the same as the Engine Library then EngineDJ would create a new seperate Engine Library folder in the root of that drive. This is how it manages external drives as well.

This utility does not emulate that functionality, when creating a new track in the engine database using this library it will be stored in the database with an absolute path that references the drive letter.

Album art hashes

EngineDJ stores a hash alongside the album art, presumably this is for deduplication.

I could not figure out how this hash is generated, when creating album art this utility will store the hash of the original album art file.

This doesn't appear to affect EngineDJ's functionality

Dependencies (3)

Dev Dependencies (7)

Package Sidebar

Install

npm i enginedb

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

56.2 kB

Total Files

38

Last publish

Collaborators

  • pthm