Add track fields
Tracks need a playcount and a score in addition to all other fields.
This commit is contained in:
parent
afd145efd7
commit
52da8984c3
|
@ -5,6 +5,8 @@ timedelta = datetime.timedelta
|
|||
|
||||
class Track:
|
||||
def __init__(self, tags, audio):
|
||||
self.score = 0
|
||||
self.count = 0
|
||||
self.genre = tags.genre or u"Unknown Genre"
|
||||
self.track = tags.track
|
||||
self.year = tags.year
|
||||
|
|
Loading…
Reference in New Issue