mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Implemented OneLibrary adapter base
This commit is contained in:
1 parent
7b0d7e3a07
commit
0b38d4826f
30 files changed
+2068
-22
No files matched your search
@@ -0,0 +1,18 @@
|
||||
"""The OneLibrary adapter: a USB drive's ``exportLibrary.db``, via ``pyrekordbox``.
|
||||
|
||||
OneLibrary is the cross-vendor USB export format agreed between AlphaTheta,
|
||||
Algoriddim and Native Instruments, and read by CDJ-class hardware as well as by
|
||||
rekordbox, djay Pro and Traktor. Unlike every other adapter, its library is a
|
||||
REMOVABLE DRIVE rather than a file in a known place — see `layout.py`.
|
||||
|
||||
Importing this package registers the platform, so ``core.registry`` can find it
|
||||
without knowing it exists.
|
||||
|
||||
Read-only: a drive is projected, browsed and searched, and every command is
|
||||
refused. See `adapter.py` for why that scope is deliberate.
|
||||
"""
|
||||
from ...core import registry
|
||||
from .driver import OneLibraryDriver
|
||||
|
||||
ONELIBRARY = OneLibraryDriver()
|
||||
registry.register(ONELIBRARY)
|
||||
Reference in new issue
Block a user