fix(Track): Compute Track ID from the `this` variable, not `self`

This commit is contained in:
rlaphoenix 2024-03-08 19:22:33 +00:00
parent 4c395edc53
commit 10a01b0b47
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class Track:
if not id_:
this = copy(self)
this.url = self.url.rsplit("?", maxsplit=1)[0]
checksum = crc32(repr(self).encode("utf8"))
checksum = crc32(repr(this).encode("utf8"))
id_ = hex(checksum)[2:]
self.id = id_