save images in save items as playlist

This commit is contained in:
mungai-njoroge
2023-08-08 12:12:33 +03:00
parent f28d3f00bd
commit 5cf188dd38
3 changed files with 46 additions and 17 deletions
+1 -3
View File
@@ -25,8 +25,6 @@ class Playlist:
def __post_init__(self):
self.trackhashes = json.loads(str(self.trackhashes))
# commentted until we need it 👆
self.count = len(self.trackhashes)
if isinstance(self.settings, str):
@@ -44,7 +42,7 @@ class Playlist:
def set_duration(self, duration: int):
self.duration = duration
def set_count(self, count: int):
self.count = count