mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Added track type column in library
This commit is contained in:
1 parent
a4797d9b99
commit
43213f6220
4 files changed
+27
-1
No files matched your search
@@ -105,6 +105,7 @@ class CollectionService:
|
||||
cue_count=len(cues),
|
||||
hotcue_count=hotcues,
|
||||
has_grid=has_grid,
|
||||
is_stem=getattr(e, "stems", None) is not None,
|
||||
)
|
||||
|
||||
def _build_tree(self, node, counter, is_root=True) -> list[PlaylistNode]:
|
||||
|
||||
@@ -30,6 +30,7 @@ class Track(BaseModel):
|
||||
cue_count: int = 0
|
||||
hotcue_count: int = 0
|
||||
has_grid: bool = False
|
||||
is_stem: bool = False # a Stem file (<STEMS> child) vs a normal audio track
|
||||
|
||||
|
||||
class TrackPage(BaseModel):
|
||||
|
||||
Reference in new issue
Block a user