move the populate function to separate file

This commit is contained in:
geoffrey45
2022-05-04 01:36:27 +03:00
parent 1e7af1a800
commit 4c09350b41
6 changed files with 195 additions and 142 deletions
+1
View File
@@ -32,6 +32,7 @@ class Track:
discnumber: int
def __init__(self, tags):
self.trackid = tags["_id"]["$oid"]
self.title = tags["title"]
self.artists = tags["artists"].split(", ")