Implemented displaying of tracks in a QTreeWidget.

This commit is contained in:
The Wobbler 2024-12-28 20:41:18 +01:00
parent 10c36b37a1
commit af2b7b6c8d
11 changed files with 90 additions and 19 deletions

View file

@ -16,6 +16,8 @@ class Track:
self.property_string = property_string
self.cached = cache
# get filename (will be replaced by proper name getter in future)
self.title = path.split("/")[-1].split(".")[0]
self.audio = None
self.sound = None
self.duration = 0