Added track type column in library

This commit is contained in:
Ben committed 2026-07-05 00:06:32 +02:00
1 parent a4797d9b99
commit 43213f6220
4 files changed
+27 -1

No files matched your search

+1
View File
@@ -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]:
+1
View File
@@ -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):