File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,8 @@ an easy interface for accessing the data stored in it:
164
164
from pyrekordbox import Rekordbox6Database
165
165
166
166
db = Rekordbox6Database()
167
- track_items = db.get_content()
168
- cid = track_items[0 ][" ID" ]
169
- artist = db.get_artist_name(content_id = cid)
167
+ for item in db.get_content():
168
+ print (item.Title, item.Artist.Name)
170
169
````
171
170
Changing entries of the database is not supported yet since it is not guaranteed that
172
171
the database could be corrupted from writing to it. However, this feature will by
Original file line number Diff line number Diff line change 16
16
DjmMySettingFile ,
17
17
DevSettingFile ,
18
18
)
19
- from .db6 import Rekordbox6Database , op
19
+ from .db6 import Rekordbox6Database , open_rekordbox_database
20
20
21
21
try :
22
22
from ._version import version as __version__
You can’t perform that action at this time.
0 commit comments