Expand description
§endjine
A Rust crate for accessing the Engine DJ library database.
§Development
§Getting Started
- Install Rust
- Install Python as a prerequisite for pre-commit
cargo install justgit clone --origin upstream git@github.com:uklotzde/endjine.gitcd endjinejust setupjust
If you plan to contribute then fork this repo on GitHub and add your fork as a remote named
origin.
§Examples
See the examples/ directory for more usage examples.
§Housekeeping
!!! ONLY USE THIS ON A COPY OF YOUR LIBRARY FILE !!!
RUST_LOG=info cargo run --release --example housekeeping /my-playground/Engine Library/Database2/m.db§Naming
A phonetic wordplay and merge of the two words “Engine” and “DJ”.
§License
Licensed under the Mozilla Public License 2.0 (MPL-2.0) (see MPL-2.0.txt or https://www.mozilla.org/MPL/2.0/).
Permissions of this copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
§Contribution
Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License 2.0 (MPL-2.0).
It is required to add the following header with the corresponding SPDX short identifier to the top of each file:
// SPDX-License-Identifier: MPL-2.0Re-exports§
pub use self::batch::BatchOutcome;
Modules§
Macros§
- db_id
- Macro for defining type-safe database ID wrappers for SQLx.
- db_uuid
- Macro for defining type-safe database UUID wrappers for SQLx.
Structs§
- Album
Art - Album
ArtId - Change
Log - Change
LogId - DbUuid
- Historylist
- Historylist
Entity - Entry in a
Historylist. - Historylist
Entity Id - Historylist
Id - Information
- Database information.
- Information
Id - Pack
- PackId
- Pack
Uuid - Performance
Data - Performance
Data Id - Playlist
- Playlist
AllChildren - Playlist
AllChildren Id - Playlist
AllParent - Playlist
AllParent Id - Playlist
Entity - Entry in a
Playlist. - Playlist
Entity Id - Playlist
Id - Playlist
Path - Playlist
Path Id - Preparelist
Entity - Entry in the Preparelist.
- Preparelist
Entity Id - Smartlist
- Smartlist
Rules - Smartlist
Rules Item - Smartlist
Uuid - Track
- TrackId
- Unix
Timestamp - UNIX timestamp.
Enums§
Constants§
- SCHEMA_
VERSION_ MAJOR - Latest schema major version.
- SCHEMA_
VERSION_ MINOR - Latest schema minor version.